G
G
German Nikolishin2018-03-10 12:41:45
Python
German Nikolishin, 2018-03-10 12:41:45

How to handle a message with many photos?

How to process a message in which the user attaches many photos at once?
By type in the photo
You need to "pull" each photo from the message
5aa3a7ea07ddf252396851.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
N1GZ, 2018-03-16
@N1GZ

When sending media files as an album, each of them comes to the bot as a separate message. The only difference between single media files is that data about a group of media files is added, more precisely the id of this album (anticipating the question, it is impossible to send or download a group of media files using this id).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question