L
L
LXSTVAYNE2020-08-20 11:40:27
Python
LXSTVAYNE, 2020-08-20 11:40:27

PyTelegramBotApi How to send multiple photos in one message?

I'm trying to send a list with urls using send_media_group, but it gives an error. If you use just send_photo with one url, then it normally sends

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LXSTVAYNE, 2020-08-20
@lxstvayne

I figured out that in order to send via send_media_group you need to make an array with telebot.types.InputMediaPhoto elements

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question