Add support for CallbackQuery events.
This commit is contained in:
parent
e843c8ca4f
commit
709e5794d5
3 changed files with 35 additions and 0 deletions
|
@ -111,6 +111,11 @@
|
|||
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
||||
}
|
||||
|
||||
if($update->getCallbackQuery() !== null)
|
||||
{
|
||||
return UpdateEventType::CALLBACK_QUERY;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue