Skip to content

Commit

Permalink
Merge pull request #14 from droooney/fix-edit-message-media-typings
Browse files Browse the repository at this point in the history
fix editMessageMedia typings
  • Loading branch information
Borodin authored Nov 16, 2024
2 parents 4abaddd + c044616 commit a62af71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@ export class TelegramBot extends EventEmitter {
* @see https://core.telegram.org/bots/api#editmessagemedia
*/
async editMessageMedia(
options: ({ chat_id: number; message_id: number } | { inline_message_id: string }) & {
options: ({ chat_id: number | string; message_id: number } | { inline_message_id: string }) & {
business_connection_id?: string;
media: InputMedia;
reply_markup?: InlineKeyboardMarkup;
Expand Down

0 comments on commit a62af71

Please sign in to comment.