buttons

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command buttons is a bot built on github.com/gotd/botapi that demonstrates inline keyboards and callback queries: /menu shows a keyboard, and tapping a button answers the callback and edits the message.

Run it with an MTProto app identity (https://my.telegram.org) and a BotFather token:

APP_ID=12345 APP_HASH=abcdef BOT_TOKEN=123:abc go run ./examples/buttons

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL