Constructor: updateChatParticipantAdmin
Admin permissions of a user in a basic group were changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
chat_id | long | Yes | Chat ID |
user_id | long | Yes | ID of the (de)admined user |
is_admin | Bool | Yes | Whether the user was rendered admin |
version | int | Yes | Used in basic groups to reorder updates and make sure that all of them was received. |
Type: Update
Example:
$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => long, 'user_id' => long, 'is_admin' => Bool, 'version' => int];