go-telegram / bot

Telegram Bot API Go framework
MIT License
507 stars 46 forks source link

send<Media>Content via TelegramId #15

Closed wizard-x closed 1 year ago

wizard-x commented 1 year ago

How can I send Photo / Voice / Document / Audio / Video / Animation / VideoNote via TelegramId of this media?

Telegram bot api documentation says, that field can be InputFile or String..

bot.rawRequest() doesn't accessible :(

wizard-x commented 1 year ago

Ah... Actually found it... Sry.. Just use models.InputFileString()