Add support for handling inline query events
This commit is contained in:
parent
a212671c49
commit
ac431136de
3 changed files with 36 additions and 0 deletions
|
@ -121,6 +121,11 @@
|
|||
return UpdateEventType::CHOSEN_INLINE_RESULT;
|
||||
}
|
||||
|
||||
if($update->getInlineQuery() !== null)
|
||||
{
|
||||
return UpdateEventType::INLINE_QUERY;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue