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

When an error occurs while handling an update in ListenForWebhookRespReqFormat, the update channel remains open and causes a subsequent range for loop to hang indefinitely.

By studying this package I didn't find possibility to write logs to file. Is this possible? If no, can I implement it and send Pull Request?

From the [telegram api](https://core.telegram.org/bots/api#sendmessage) `chat_it` can be an `int` or `string` (`int` for `username` but `string` for channel `"@channelname"`. Currently using the library: ```go msg := tgbotapi.NewMessage("@channelname", "here is a...

Im sending Inline Keyboards for different commands with the `tgbotapi.NewInlineKeyboardButtonData` function. How do I distinguish from which command the callback data comes from while handling the callback? The only method...

Created new `NewEditMessageMedia()` helper function.

root@localhost:~# go version go version go1.13.8 linux/arm64 root@localhost:~# go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5 package github.com/go-telegram-bot-api/telegram-bot-api/v5: cannot find package "github.com/go-telegram-bot-api/telegram-bot-api/v5" in any of: /usr/lib/go-1.13/src/github.com/go-telegram-bot-api/telegram-bot-api/v5 (from $GOROOT) /root/go/src/github.com/go-telegram-bot-api/telegram-bot-api/v5 (from $GOPATH)

#356 updates the logic to support uploading multiple files but accidentally breaks this.

Method Send with InlineConfig as Chattable interface implementation invoke telegram api method `answerInlineQuery`, and unmarshal api responce to Message type. https://github.com/go-telegram-bot-api/telegram-bot-api/blob/ef6e421559d82708b59888ba2022da7602284053/bot.go#L341-L351 But this api method return only boolean [api reference](https://core.telegram.org/bots/api#answerinlinequery)....