telegram-bot-api
telegram-bot-api copied to clipboard
Golang bindings for the Telegram Bot API
My bot still send msg with link preview with DisableWebPagePreview enabled, so I tried to [add empty attachments](https://github.com/RocketChat/Rocket.Chat/issues/5495#issuecomment-271850876) to avoid link preview, But I cannot found there is a way...
Hi! I've test this code: ``` updates := bot.GetUpdatesChan(u) for update := range updates { if update.Message.Poll != nil { fmt.Printf("poll\n") } if update.Message != nil { fmt.Printf("msg %v\n", update.Message)...
if (update.Message.Photo.IsCommand() == "answer" && update.Message.Chat.ID == supportChatID){ handleAnswerCommand(bot, supportChatID, update.Message, update.Message.Photo[len(update.Message.Photo)-1].FileID, update.Message.Caption) } answer - command in tech channel which taking 3 arguments and writing like "/answer 1 that's...
## Issue In some APIs such as `answerCallbackQuery`, `banchatmember`, telegram server return boolean instead of `Message` struct. It leads to Unmarshal error. ## Releated isssues - #639 - #705
There are months old bug reports and forks with over 50 commits ahead. Please just kill this project already.
add topic message which sent to topic thread in group
Either update the docs or change the behavior to filter out is_bot users before returning the list I will do this if I have time, just leaving this issue here...
Hello! In this framework (github.com/go-telegram-bot-api/telegram-bot-api/v5) does we have Protected_Content? How can i protect my videos and photos?
For the photo, it is clear how this is done - if update.Message.Photo != id && lan(*update.Message.Photo) > 0 . But how do I check if a user has sent...