Registry / messaging / tucnak-telebot-v2

tucnak-telebot-v2

JSON →
library2.5.0gogounverified

A framework for building Telegram bots in Go.

go get gopkg.in/tucnak/telebot.v2
INSTALL
IMPORT
SIG · TUCNAK-TELEBOT-V2
T
tucnak-telebot-v2
messaginggov2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

telebot
gopkg.in/tucnak/telebot.v2

Create a Telegram bot and handle the /start command.

import "gopkg.in/tucnak/telebot.v2" func main() { b, _ := telebot.NewBot(telebot.Settings{Token: "YOUR_TOKEN"}) b.Handle("/start", func(m *telebot.Message) { b.Send(m.Sender, "Hello!") }) b.Start() }
Debug
Known issues
breakingVersion 2.x uses gopkg.in import path; v3 is available at gopkg.in/tucnak/telebot.v3 with breaking changes.
fix
Use gopkg.in/tucnak/telebot.v3 for latest features.
affects: >=2.0.0 <3.0.0
Upgrade
Version history
2.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
tucnak-telebot-v2 — go get tucnak-telebot-v2 · libregistry