telegram-bot
telegram-bot copied to clipboard
[question] file infos (name size)
How can I get the name/size of a file without download it first? I want to let the bot download just some files.
Tried to edit the plugin https://github.com/yagop/telegram-bot/blob/master/plugins/download_media.lua but non of the variables contain the name. tg shows something like >>> [image name.jpg: type=image/jpeg size=123x123 size=123KiB] How can I catch these infos?