telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

Golang bindings for the Telegram Bot API

Results 142 telegram-bot-api issues
Sort by recently updated
recently updated
newest added

I am running the bot locally (and interacting with it from the same machine) and unpredictably keep getting these errors, then no response from the bot for a very long...

Telegram bot api is upgrade to 6.1 and some new features coming such as attachment menu and WebApp

cannot use "cert.pem" (constant of type string) as tgbotapi.RequestFileData value in argument to tgbotapi.NewWebhookWithCert: string does not implement tgbotapi.RequestFileData (missing method NeedsUpload)

Who can help me! How to achieve interactive dialogue, continuous dialogue? What method to use? like this: ![image](https://github.com/go-telegram-bot-api/telegram-bot-api/assets/52546134/ad79b1a5-9360-460b-903b-ed30a3cba72c)

Official documentation for `setWebhook` method [allows to send](https://core.telegram.org/bots/api#setwebhook) `secret_token` that is supposed to be used to authenticate an incoming webhook. Currently this parameter isn't supported by the library at all.

Hello. How to connect to own local TG server?

Add "AddedToAttachmentMenu" field in User type and fix webhook example in README file (use tgbotapi.FilePath("cert.pem") instead of "cert.pem" in tgbotapi.NewWebhookWithCert)