-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
r0ann3l edited this page Apr 11, 2019
·
4 revisions
Commands are the core of the framework and is the implementation of your own commands the only thing that you should worry about. To implement new commands you just have to extend the correct class depending on the command type that you wish to implement and to annotate your command class with the annotation @TelegramCommand
.
The annotation @TelegramCommand
has a mandatory attribute: name
, that indicates what the name of your command is. For more information about command names, read this. If your command is not annotated with the annotation @TelegramCommand
it will be silently ignored.
Spring Boot Telegram Framework documentation