MadelineProtoDocs/old_docs/API_docs_v71/constructors/updateChatAdmins.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

946 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];

PWRTelegram json-encoded version:

{"_": "updateChatAdmins", "chat_id": int, "enabled": Bool, "version": int}

Or, if you're into Lua:

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