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