We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6d2cb commit 69915f6Copy full SHA for 69915f6
packages/main/src/telegram_execution_context.ts
@@ -123,6 +123,14 @@ export default class TelegramExecutionContext {
123
text: message,
124
parse_mode,
125
});
126
+ case 'business_message':
127
+ return await this.api.sendMessage(this.bot.api.toString(), {
128
+ ...options,
129
+ chat_id: this.update.business_message?.chat.id.toString() ?? '',
130
+ reply_to_message_id: this.update.business_message?.message_id.toString() ?? '',
131
+ text: message,
132
+ parse_mode,
133
+ });
134
case 'photo':
135
return await this.api.sendMessage(this.bot.api.toString(), {
136
...options,
0 commit comments