Skip to content

Commit 8347c5e

Browse files
committed
add doc comments
1 parent a57fac4 commit 8347c5e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/main/src/telegram_execution_context.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ export default class TelegramExecutionContext {
109109
}
110110
}
111111

112+
/**
113+
* Send typing in a chat
114+
*/
112115
async sendTyping() {
113116
switch (this.update_type) {
114117
case 'message':
@@ -127,6 +130,12 @@ export default class TelegramExecutionContext {
127130
}
128131
}
129132

133+
/**
134+
* Reply to an inline message with a title and content
135+
* @param title - title to reply with
136+
* @param message - message contents to reply with
137+
* @param parse_mode - parse mode to use
138+
*/
130139
async replyInline(title: string, message: string, parse_mode = '') {
131140
switch (this.update_type) {
132141
case 'inline':

0 commit comments

Comments
 (0)