Add support for ChosenInlineResult events

This commit is contained in:
netkas 2024-11-02 00:16:48 -04:00
parent 709e5794d5
commit a212671c49
3 changed files with 37 additions and 0 deletions

View file

@ -7,6 +7,7 @@
use TgBotLib\Events\ChatBoostEvent;
use TgBotLib\Events\ChatJoinRequestEvent;
use TgBotLib\Events\ChatMemberUpdatedEvent;
use TgBotLib\Events\ChosenInlineResultEvent;
use TgBotLib\Events\MyChatMemberUpdatedEvent;
use TgBotLib\Events\PollAnswerEvent;
use TgBotLib\Events\PollEvent;
@ -14,6 +15,7 @@
use TgBotLib\Events\PreCheckoutQueryEvent;
use TgBotLib\Events\RemovedChatBoostEvent;
use TgBotLib\Events\ShippingQueryEvent;
use TgBotLib\Objects\Inline\ChosenInlineResult;
enum UpdateEventType : string
{
@ -29,4 +31,5 @@
case PRE_CHECKOUT_QUERY = PreCheckoutQueryEvent::class;
case SHIPPING_QUERY = ShippingQueryEvent::class;
case CALLBACK_QUERY = CallbackQueryEvent::class;
case CHOSEN_INLINE_RESULT = ChosenInlineResultEvent::class;
}