{"id":51718,"library":"go-telegram-bot-api-telegram-bot-api-v5","title":"Telegram Bot API Go","description":"Package tgbotapi has functions and types used for interacting with the Telegram Bot API.","status":"active","version":"5.5.1","language":"go","source_language":null,"source_url":"https://github.com/go-telegram-bot-api/telegram-bot-api","tags":["telegram","bot","api","messaging"],"install":[{"cmd":"go get github.com/go-telegram-bot-api/telegram-bot-api/v5","lang":"bash","label":"Install github.com/go-telegram-bot-api/telegram-bot-api/v5"}],"dependencies":[],"imports":[{"symbol":"tgbotapi","correct":"github.com/go-telegram-bot-api/telegram-bot-api/v5"}],"quickstart":{"code":"package main\n\nimport (\n    \"log\"\n    \"github.com/go-telegram-bot-api/telegram-bot-api/v5\"\n)\n\nfunc main() {\n    bot, err := tgbotapi.NewBotAPI(\"YOUR_TOKEN\")\n    if err != nil {\n        log.Panic(err)\n    }\n    u := tgbotapi.NewUpdate(0)\n    u.Timeout = 60\n    updates := bot.GetUpdatesChan(u)\n    for update := range updates {\n        if update.Message != nil {\n            msg := tgbotapi.NewMessage(update.Message.Chat.ID, update.Message.Text)\n            bot.Send(msg)\n        }\n    }\n}","lang":"go","description":"Echo bot that replies with the same message."},"warnings":[],"env_vars":null,"search_vec":"'api':3,18,21 'bot':2,17,20 'function':8 'go':4 'interact':13 'messag':22 'packag':5 'telegram':1,16,19 'tgbotapi':6 'type':10 'use':11","created_at":"2026-06-15T06:27:18.050347+00:00","updated_at":"2026-06-15T06:27:18.050347+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-telegram-bot-api/telegram-bot-api","github":"https://github.com/go-telegram-bot-api/telegram-bot-api","docs":"https://pkg.go.dev/github.com/go-telegram-bot-api/telegram-bot-api/v5#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["messaging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}