Add ChatMemberUpdatedEvent handling

This commit is contained in:
netkas 2024-11-01 18:09:14 -04:00
parent c7edc420f3
commit b8b1a87639
3 changed files with 36 additions and 0 deletions

View file

@ -76,6 +76,11 @@
return EventType::CHAT_JOIN_REQUEST_EVENT;
}
if($update->getChatMember() !== null)
{
return EventType::CHAT_MEMBER_UPDATED;
}
return EventType::UPDATE_EVENT;
}
}