There are some example in this folder.
command_send_message: Simplest way to just send a message.
command_who_am_i: A simple example printing infos about yourself
command_dialog_list: Simpler example printing the list of chats you have.
dialog_list
on the CLI.bot_dump: A small bot printing the msg
message object.
bot_ping: A simple bot reacting to messages.
ping
with a pong
.bot_source_of_reply: When replying to any message with #top
, the bot will show you the origin of that reply.
message_get
command and the reply_id
information.bot_with_context: Talk to a bot, not only a simple command.
yield
statement.