AIOGram how to send latest file?
I want to make it so that it would be possible to send any file to the bot, and he sent the same last file to the channel, but without the name of the sender
Answer the question
In order to leave comments, you need to log in
await bot.send_document(chat_id = 'chat ID', document = message.document.file_id)
Everything was simpler
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question