Daniil

Results 5 comments of Daniil

If it is still relevant, try setting your document in the `results `array: `builder.document(results=[file_path, type='document'])`

> Is there a typo in that? Oh yeah sorry, there is a typo, you should use this as an answer: `await event.answer(results=[builder.document(file, type='document')])`

Depends on what file you want to send, for type `document` I believe it is only PDF or ZIP.

I use pretty much the same snippet to send .TGS stickers via inline with type `sticker`. Should work that way for any documents with correct type I believe. Also, are...

As a longtime Telethon user, I am all for following HTTP Bot API way for Markdown, as it is the most documented, easily followed and a way that Telegram expects...