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

1.1 KiB

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

PWRTelegram json-encoded version:

{"_": "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}