Catches a Telegram command, which has been specified as an argument.
class MainContext < Conversation
command :start do
@reply.text "Hello and welcome!"
config.telegram.commands = [
start: "Start chat",
featured_products: "List featured products."
update_products: "Update products from server.",
purchase_count: "Sales today."
Once configured, these changes must be sent to Telegram by running the following command in terminal.
kogno telegram set_commands all
kogno telegram set_commands all_chat_administrators