bot icon indicating copy to clipboard operation
bot copied to clipboard

Telegram Bot API Go framework

Results 37 bot issues
Sort by recently updated
recently updated
newest added

This feature facilitates step-by-step interaction with users during a conversation. Here are the changes I made: - conversation_handler.go: I created a new structure named ConversationHandler. This structure monitors the active...

I tried the example bot from the documentation that just echoes back whatever you write (echo/main.go). Then I added the bot to a group with myself and tried to talk...

I am migrating my Telegram bot written in telegraf.js to Go. This is my old working code using telegraf.js: ``` const payload = response.data.items[0].carousel_media.map((item) => { return { type: "document",...

Hi, so I got this error when I updated the lib to the latest. `json: cannot unmarshal number into Go struct field Message.Updates.message.forward_origin of type string` How to reproduce: -...

I hope to add a conversationexample.I thingmany people need it, but they don't know how to write it. It is hoped that an example can be provided. like: https://github.com/PaulSonOfLars/gotgbot/blob/v2/samples/conversationBot/main.go

good first issue
help wanted

First of all, thanks for supporting Telegram API at Go! 🔥 This is really helpful package to create TG bots. IMHO, it would be great to add some methods to...

The test environment is completely separate from the main environment, so you will need to create a new user account and a new bot with @BotFather. This is very convenient...

Panic occurs when editing a message. The code was used as an example from the repository page. go version: go version go1.22.4 windows/amd64 Code: ![image](https://github.com/go-telegram/bot/assets/125815118/37c3828e-6a25-4725-ba86-6a25162357d3) Debug log: ` "edited_message":{"message_id":106,"from":{"id":23432432,"is_bot":false,"first_name":"\u1160","username":"example_user","language_code":"en"},"chat":{"id":24234232,"first_name":"\u1160","username":"example_user","type":"private"},"date":1720134098,"edit_date":1720134108,"text":"/edit","entities":[{"offset":0,"length":5,"type":"bot_command"}]}}]}' panic:...

Currently channel post are not properly processed in webhook. ```go func (b *Bot) ProcessUpdate(ctx context.Context, upd *models.Update) { h := b.defaultHandlerFunc defer func() { applyMiddlewares(h, b.middlewares...)(ctx, b, upd) }() if...