Answer the question
In order to leave comments, you need to log in
Why send_media_group outputs photos in pairs and not together?
I'm trying to display two images as an album, like this:
@bot.message_handler(content_types=['photo', 'text'])
def photo(message):
fileID = message.photo[-1].file_id
fileID2 = message.photo[-1].file_id
media = [InputMediaPhoto( fileID, caption='окококок' ), InputMediaPhoto( fileID2)]
bot.send_media_group(message.from_user.id,media)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question