{"repo":"go-telegram/bot","free":true,"listed":false,"github":"https://github.com/go-telegram/bot","clone":"git clone https://github.com/go-telegram/bot.git","description":"Telegram Bot API Go framework","language":"Go","stars":1807,"topics":["go","telegram","telegram-bot","telegram-bot-api","bot","golang"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Golang Telegram Bot ✅ Present in the list of libraries https://core.telegram.org/bots/samples#go Telegram Group Supports Bot API version: 10.2 from July 14, 2026 It's a Go zero-dependencies telegram bot framework A simple example echo-bot : You can find more examples in the examples folder. To run the examples, set the EXAMPLE TELEGRAM BOT TOKEN environment variable to your bot token. Getting started Go version: 1.18 Install the dependencies: Initialize and run the bot: On create bot will call the getMe method (with 5 sec timeout). And returns error on fail. If you want to change this timeout, use option bot.WithCheckInitTimeout You can define a default handler for the bot: Webhooks If you want to use webhooks, instead of using bot.Start , you should use the bot.StartWebhook method to start the bot. Also, you should use bot.WebhookHandler() method as HTTP handler for your server. Demo in examples Also, you can manually process updates with bot.ProcessUpdate method. Middlewares You can use middlewares with WithMiddlewares(middlewares ...Middleware) option. See an example in examples Available methods All available methods are listed in the Telegram Bot API documentation You can use all these methods as bot funcs. All methods have name like in official documentation, but with capital first letter. bot.SendMessage , bot.GetMe , bot.SendPhoto , etc All methods have signature (ctx context.Context, params ) ( , error) . Except GetMe , Close and Logout which have no params is a stru","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-telegram","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-telegram/bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}