Documentation
¶
Overview ¶
Command advanced is a full-featured demo bot that exercises most of the github.com/gotd/botapi surface: commands (auto-registered), formatting, inline and reply keyboards, callback queries, inline mode, the media send methods, incoming-media handling, editing, forwarding, chat actions, polls, dice, location/venue/contact and the predicate/middleware framework.
Run it with an MTProto app identity (https://my.telegram.org) and a BotFather token (enable inline mode in @BotFather to test inline queries):
APP_ID=12345 APP_HASH=abcdef BOT_TOKEN=123:abc go run ./examples/advanced
Click to show internal directories.
Click to hide internal directories.