MadelineProtoDocs/old_docs/API_docs_v73/constructors/updateChatParticipantAdmin.md

966 B

title description image
updateChatParticipantAdmin Update chat participant admin https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatParticipantAdmin

Back to constructors index

Update chat participant admin

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
user_id int Yes User ID
is_admin Bool Yes Is admin?
version int Yes Version

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}