Add ChatMemberUpdatedEvent handling
This commit is contained in:
parent
c7edc420f3
commit
b8b1a87639
3 changed files with 36 additions and 0 deletions
|
@ -76,6 +76,11 @@
|
|||
return EventType::CHAT_JOIN_REQUEST_EVENT;
|
||||
}
|
||||
|
||||
if($update->getChatMember() !== null)
|
||||
{
|
||||
return EventType::CHAT_MEMBER_UPDATED;
|
||||
}
|
||||
|
||||
return EventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue