Answer the question
In order to leave comments, you need to log in
Getting the file_id of a photo with Telethon?
I'm creating a Telegram bot and I need to get a file_id, like photos. file_id example:
"AgACAgIAAx0CW7VwqQAD3GE80mUSC6AbGV2lcHFzI5J3me7zAAJwtTEbkWJISbKzPMDueHfrAQADAgADeAADIAQ"
event.file.id
'PhotoSize' object has no attribute 'location'
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