Add support for CallbackQuery events.

This commit is contained in:
netkas 2024-11-01 21:54:05 -04:00
parent e843c8ca4f
commit 709e5794d5
3 changed files with 35 additions and 0 deletions

View file

@ -111,6 +111,11 @@
return UpdateEventType::PRE_CHECKOUT_QUERY;
}
if($update->getCallbackQuery() !== null)
{
return UpdateEventType::CALLBACK_QUERY;
}
return UpdateEventType::UPDATE_EVENT;
}
}