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.
2 parents 4abaddd + c044616 commit a62af71Copy full SHA for a62af71
src/index.ts
@@ -1958,7 +1958,7 @@ export class TelegramBot extends EventEmitter {
1958
* @see https://core.telegram.org/bots/api#editmessagemedia
1959
*/
1960
async editMessageMedia(
1961
- options: ({ chat_id: number; message_id: number } | { inline_message_id: string }) & {
+ options: ({ chat_id: number | string; message_id: number } | { inline_message_id: string }) & {
1962
business_connection_id?: string;
1963
media: InputMedia;
1964
reply_markup?: InlineKeyboardMarkup;
0 commit comments