command
Catches a Telegram command, which has been specified as an argument.
Last updated
Was this helpful?
Catches a Telegram command, which has been specified as an argument.
Last updated
Was this helpful?
In order to be implemented in Kogno, the commands must be created first in Telegram through the or well, by defining them in the configuration file by modifying config.telegram.commands
field.
Available scopes are: :default
, :all_private_chats
, :all_group_chats
and :all_chat_administrators
. .
Each command can be routed to a specific context, learn how in .