How can I receive a photo and immediately send it without saving it back to the user? #1393
Replies: 1 comment
-
You don't need to download file to sent in back to the Telegram, you can use file_id instead or just use copy method. Using file_id: await bot.send_photo(chat_id=..., photo=message.photo[-1].file_id) (or Using copy method from API https://core.telegram.org/bots/api#copymessage |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I know that this question has already been asked, but it’s not clear how to use BytesIO
Are there any examples?
I'm just trying to get user submitted files (document and selfie) to send them as a group
Beta Was this translation helpful? Give feedback.
All reactions