Add support for MyChatMemberUpdatedEvent

This commit is contained in:
netkas 2024-11-01 18:13:09 -04:00
parent 73d14179b1
commit 3ce87cabcb
3 changed files with 37 additions and 0 deletions

View file

@ -81,6 +81,11 @@
return UpdateEventType::CHAT_MEMBER_UPDATED;
}
if($update->getMyChatMember() !== null)
{
return UpdateEventType::MY_CHAT_MEMBER_UPDATED;
}
return UpdateEventType::UPDATE_EVENT;
}
}