# Constructor: updateChatParticipantAdmin

Back to constructors index

Admin permissions of a user in a legacy group were changed

# Attributes:

Name Type Required Description
chat_id int Yes Chat ID
user_id int 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' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int];

Or, if you’re into Lua:

updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.