Add support for handling poll answer updates

This commit is contained in:
netkas 2024-11-01 18:16:17 -04:00
parent 3ce87cabcb
commit d56cc3dd22
3 changed files with 37 additions and 0 deletions

View file

@ -86,6 +86,11 @@
return UpdateEventType::MY_CHAT_MEMBER_UPDATED;
}
if($update->getPollAnswer() !== null)
{
return UpdateEventType::POLL_ANSWER;
}
return UpdateEventType::UPDATE_EVENT;
}
}