Add BusinessConnection event support

This commit is contained in:
netkas 2024-11-03 17:14:07 -05:00
parent 2b8f9afa49
commit 325e29a930
3 changed files with 35 additions and 0 deletions

View file

@ -3,6 +3,7 @@
namespace TgBotLib\Enums;
use TgBotLib\Abstracts\UpdateEvent;
use TgBotLib\Events\BusinessConnectionEvent;
use TgBotLib\Events\BusinessMessageEvent;
use TgBotLib\Events\CallbackQueryEvent;
use TgBotLib\Events\ChatBoostEvent;
@ -43,4 +44,5 @@
case DELETED_BUSINESS_MESSAGES = DeletedBusinessMessagesEvent::class;
case EDITED_BUSINESS_MESSAGE = EditedBusinessMessageEvent::class;
case BUSINESS_MESSAGE = BusinessMessageEvent::class;
case BUSINESS_CONNECTION = BusinessConnectionEvent::class;
}