1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 23:56:56 +01:00
MadelineProto/old_docs/API_docs_v55/constructors/updateChatAdmins.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

824 B

title description
updateChatAdmins updateChatAdmins attributes, type and example

Constructor: updateChatAdmins

Back to constructors index

Attributes:

Name Type Required
chat_id int Yes
enabled Bool Yes
version int Yes

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}