Add support for handling channel post events
This commit is contained in:
parent
041c2dc84c
commit
2a08cc51de
3 changed files with 36 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
use TgBotLib\Events\BusinessConnectionEvent;
|
||||
use TgBotLib\Events\BusinessMessageEvent;
|
||||
use TgBotLib\Events\CallbackQueryEvent;
|
||||
use TgBotLib\Events\ChannelPostEvent;
|
||||
use TgBotLib\Events\ChatBoostEvent;
|
||||
use TgBotLib\Events\ChatJoinRequestEvent;
|
||||
use TgBotLib\Events\ChatMemberUpdatedEvent;
|
||||
|
@ -47,4 +48,5 @@
|
|||
case BUSINESS_MESSAGE = BusinessMessageEvent::class;
|
||||
case BUSINESS_CONNECTION = BusinessConnectionEvent::class;
|
||||
case EDITED_CHANNEL_POST = EditedChannelPostEvent::class;
|
||||
case CHANNEL_POST = ChannelPostEvent::class;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue