T
T
Trefame2020-06-19 13:10:38
API
Trefame, 2020-06-19 13:10:38

How long is file_id api telegram stored?

How long will the id of the file I sent to the bot be stored on the telegram servers? For some reason I don't see this in the documentation.
5eec8ef23a71a795054602.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Trefame, 2020-06-19
@Trefame

Found the answer myself, sorry. Here is the answer itself, you never know who will need it:
the file_id of the files sent by your bot will be deleted after sending several thousand files.
For accepted files, file_id can be considered eternal and unchanging.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question