Type Alias ChatMemberUpdateType
ChatMemberUpdateType:
| "joined"
| "added"
| "left"
| "kicked"
| "unkicked"
| "restricted"
| "unrestricted"
| "unrestricted_promoted"
| "promoted"
| "demoted"
| "demoted_restricted"
| "demoted_kicked"
| "old_owner"
| "new_owner"
| "other"
Type of the event. Can be one of:
joined
: Useruser
joined the chat/channel on their ownadded
: Useractor
added another useruser
to the chatleft
: Useruser
left the channel on their ownkicked
: Useruser
was kicked from the chat byactor
unkicked
: Useruser
was removed from the list of kicked users byactor
and can join the chat againrestricted
: Useruser
was restricted byactor
unrestricted
: Useruser
was unrestricted byactor
unrestricted_promoted
: Useruser
was unrestricted AND promoted to an admin byactor
promoted
: Useruser
was promoted to admin byactor
demoted
: Useruser
was demoted from admin byactor
demoted_restricted
: Useruser
was demoted from admin AND restricted byactor
demoted_kicked
: Useruser
was demoted from admin AND kicked byactor
old_owner
: Useruser
transferred their own chat ownershipnew_owner
: Useractor
transferred their chat ownership touser
other
: Some other event (e.g. change in restrictions, change in admin rights, etc.)