Add PreCheckoutQueryEvent handling

This commit is contained in:
netkas 2024-11-01 21:33:47 -04:00
parent c57cdfe05c
commit f1342e3f42
3 changed files with 36 additions and 0 deletions

View file

@ -10,6 +10,7 @@
use TgBotLib\Events\PollAnswerEvent;
use TgBotLib\Events\PollEvent;
use TgBotLib\Events\PaidMediaPurchasedEvent;
use TgBotLib\Events\PreCheckoutQueryEvent;
use TgBotLib\Events\RemovedChatBoostEvent;
enum UpdateEventType : string
@ -23,4 +24,5 @@
case POLL_ANSWER = PollAnswerEvent::class;
case POLL = PollEvent::class;
case PAID_MEDIA_PURCHASED = PaidMediaPurchasedEvent::class;
case PRE_CHECKOUT_QUERY = PreCheckoutQueryEvent::class;
}