D
D
Didi_Tariani2022-03-29 13:28:13
Python
Didi_Tariani, 2022-03-29 13:28:13

How to get the file_id of multiple photos?

Hello.
I am writing a telegram bot. the bot should receive photos and save the file_id of these photos, ran into a problem when more than 1 photo is sent, the file_id is the same for everyone, and as a result, when you need to send, for example, 5 photos, it sends only the first 5 times if the message itself is sent the same. help me please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ramis, 2022-03-29
@Didi_Tariani

file_id is the same for everyone

Please note that each photo is a separate message.
You can see what it looks like.
https://api.telegram.org/bot<ваш_токен>/getUpdates

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question