Add CommandEvent to EventType enum
This commit is contained in:
parent
53824b7126
commit
6b9ecaa153
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
use TgBotLib\Events\ChatJoinRequestEvent;
|
||||
use TgBotLib\Events\ChatMemberUpdatedEvent;
|
||||
use TgBotLib\Events\ChosenInlineResultEvent;
|
||||
use TgBotLib\Events\CommandEvent;
|
||||
use TgBotLib\Events\DeletedBusinessMessagesEvent;
|
||||
use TgBotLib\Events\EditedBusinessMessageEvent;
|
||||
use TgBotLib\Events\EditedChannelPostEvent;
|
||||
|
@ -54,6 +55,7 @@
|
|||
case CHANNEL_POST = ChannelPostEvent::class;
|
||||
case EDITED_MESSAGE = EditedMessageEvent::class;
|
||||
case MESSAGE = MessageEvent::class;
|
||||
case COMMAND = CommandEvent::class;
|
||||
|
||||
/**
|
||||
* Determines the type of event based on the provided Update object.
|
||||
|
|
Loading…
Add table
Reference in a new issue