diff --git a/src/TelegramBot/TelegramCommand.php b/src/TelegramBot/TelegramCommand.php index 0230d79..a3e01b0 100644 --- a/src/TelegramBot/TelegramCommand.php +++ b/src/TelegramBot/TelegramCommand.php @@ -4,6 +4,7 @@ namespace Luzrain\TelegramBotBundle\TelegramBot; +use Luzrain\TelegramBotApi\EventCallbackReturn; use Luzrain\TelegramBotApi\Method; use Luzrain\TelegramBotApi\Type; @@ -39,4 +40,14 @@ protected function reply( replyMarkup: $replyMarkup, ); } + + protected function stop(): EventCallbackReturn + { + return EventCallbackReturn::STOP; + } + + protected function continue(): EventCallbackReturn + { + return EventCallbackReturn::CONTINUE; + } }