Represents the rights of an admin in a channel/supergroup.
Constructor schema is available as of layer 148. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
change_info | flags.0?true | If set, allows the admin to modify the description of the channel/supergroup |
post_messages | flags.1?true | If set, allows the admin to post messages in the channel |
edit_messages | flags.2?true | If set, allows the admin to also edit messages from other admins in the channel |
delete_messages | flags.3?true | If set, allows the admin to also delete messages from other admins in the channel |
ban_users | flags.4?true | If set, allows the admin to ban users from the channel/supergroup |
invite_users | flags.5?true | If set, allows the admin to invite users in the channel/supergroup |
pin_messages | flags.7?true | If set, allows the admin to pin messages in the channel/supergroup |
add_admins | flags.9?true | If set, allows the admin to add other admins with the same (or more limited) permissions in the channel/supergroup |
anonymous | flags.10?true | Whether this admin is anonymous |
manage_call | flags.11?true | If set, allows the admin to change group call/livestream settings |
other | flags.12?true | Set this flag if none of the other flags are set, but you still want the user to be an admin: if this or any of the other flags are set, the admin can get the chat admin log, get chat statistics, get message statistics in channels, get channel members, see anonymous administrators in supergroups and ignore slow mode. |
manage_topics | flags.13?true | If set, allows the admin to create, delete or modify forum topics ». |
post_stories | flags.14?true | If set, allows the admin to post stories as the channel. |
edit_stories | flags.15?true | If set, allows the admin to edit stories posted by the other admins of the channel. |
delete_stories | flags.16?true | If set, allows the admin to delete stories posted by the other admins of the channel. |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.
Both supergroups and channels offer a so-called admin log, a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more.
Telegram offers detailed channel statistics for channels and supergroups.
Telegram allows creating forums with multiple distinct topics.
Telegram users and channels can easily post and view stories through the API.