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: Useruserjoined the chat/channel on their ownadded: Useractoradded another useruserto the chatleft: Useruserleft the channel on their ownkicked: Useruserwas kicked from the chat byactorunkicked: Useruserwas removed from the list of kicked users byactorand can join the chat againrestricted: Useruserwas restricted byactorunrestricted: Useruserwas unrestricted byactorunrestricted_promoted: Useruserwas unrestricted AND promoted to an admin byactorpromoted: Useruserwas promoted to admin byactordemoted: Useruserwas demoted from admin byactordemoted_restricted: Useruserwas demoted from admin AND restricted byactordemoted_kicked: Useruserwas demoted from admin AND kicked byactorold_owner: Userusertransferred their own chat ownershipnew_owner: Useractortransferred their chat ownership touserother: Some other event (e.g. change in restrictions, change in admin rights, etc.)