Open hirenreshamwala opened 3 years ago
I have this same problem. Nothing seem to work
You can use official Telegram Bot API reference
const chatId = 123,
messageId = 321,
media = {type: 'photo', media: 'https://telegram.org/img/apple-touch-icon.png'}
bot.editMessageMedia(media, {chatId, messageId})
Hello,
I am sending photo using
bot.sendPhoto
method. After some time I want to edit the photo. I found a methodeditMessageMedia
but there is no example how to use it.Is there any example of editMessageMedia?
As per the source code
media
required object.What should be the
media
parameter?