MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateChatAdmins.md

800 B

title description image
updateChatAdmins Update chat admins https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatAdmins

Back to constructors index

Update chat admins

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
enabled Bool Yes Enabled?
version int Yes Version

Type: Update

Example:

$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int];

Or, if you're into Lua:

updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int}