file and have it display directly in Telegram.
When I send from a Windows machine, the file sends and displays right in Telegram. When I send from Linux, it seems like it's treated as a document and doesn't automatically display.
Anyone know what I'm doing wrong, or know what needs to change to fix it so those files display automatically?
await client.send_file(myChatId, file=filePathAndFileName)
mmm... might be a Telethon version difference. Windows machine has 1.25.4, Linus has 1.24.0
changing them to .mp4 worked as expected. All set
Обсуждают сегодня