1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
chatAdminRights | Admin rights | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: chatAdminRights
Admin rights
Attributes:
Name | Type | Required | Description |
---|---|---|---|
change_info | Bool | Optional | Can change info? |
post_messages | Bool | Optional | Can post messages? |
edit_messages | Bool | Optional | Can edit messages? |
delete_messages | Bool | Optional | Can delete messages? |
ban_users | Bool | Optional | Can ban users? |
invite_users | Bool | Optional | Can invite users? |
pin_messages | Bool | Optional | Can pin messages? |
add_admins | Bool | Optional | Can add other admins? |
Type: ChatAdminRights
Example:
$chatAdminRights = ['_' => 'chatAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool];
Or, if you're into Lua:
chatAdminRights={_='chatAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, pin_messages=Bool, add_admins=Bool}