Add support for handling poll answer updates
This commit is contained in:
parent
3ce87cabcb
commit
d56cc3dd22
3 changed files with 37 additions and 0 deletions
|
@ -86,6 +86,11 @@
|
|||
return UpdateEventType::MY_CHAT_MEMBER_UPDATED;
|
||||
}
|
||||
|
||||
if($update->getPollAnswer() !== null)
|
||||
{
|
||||
return UpdateEventType::POLL_ANSWER;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue