MadelineProtoDocs/docs/API_docs/constructors/updateChatParticipantDelete.md

1.1 KiB

title description image
updateChatParticipantDelete A member has left the group. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatParticipantDelete

Back to constructors index

A member has left the group.
N.B.: This Update isn't relative to the service message generated by the left event; for that see this update with this message.

Attributes:

Name Type Required Description
chat_id int Yes Group ID
user_id int Yes ID of the user
version int Yes Used in basic groups to reorder updates and make sure that all of them was received.

Type: Update

Example:

$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int];

Or, if you're into Lua:

updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int}