Documentation
¶
Overview ¶
Command inline is an inline bot built on github.com/gotd/botapi. Type the bot's @username followed by a query in any chat and it offers article results echoing the query; picking one sends the text.
Run it with an MTProto app identity (https://my.telegram.org) and a BotFather token (inline mode must be enabled for the bot via @BotFather):
APP_ID=12345 APP_HASH=abcdef BOT_TOKEN=123:abc go run ./examples/inline
Click to show internal directories.
Click to hide internal directories.