SiezurE2022-04-15 18:54:18
SiezurE, 2022-04-15 18:54:18

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

1 answer(s)
SiezurE, 2022-04-16

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 your question

Ask a Question

731 491 924 answers to any question