946 B
946 B
title | description | image |
---|---|---|
updateChatAdmins | Update chat admins | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateChatAdmins
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}