Add support for ChosenInlineResult events

This commit is contained in:
netkas 2024-11-02 00:16:48 -04:00
parent 709e5794d5
commit a212671c49
3 changed files with 37 additions and 0 deletions

View file

@ -116,6 +116,11 @@
return UpdateEventType::CALLBACK_QUERY;
}
if($update->getChosenInlineResult() !== null)
{
return UpdateEventType::CHOSEN_INLINE_RESULT;
}
return UpdateEventType::UPDATE_EVENT;
}
}