chatAdminRights #

Represents the rights of an admin in a channel/supergroup.

Layer 223

chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true anonymous:flags.10?true manage_call:flags.11?true other:flags.12?true manage_topics:flags.13?true post_stories:flags.14?true edit_stories:flags.15?true delete_stories:flags.16?true manage_direct_messages:flags.17?true manage_ranks:flags.18?true = ChatAdminRights;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
change_infoflags.0?trueIf set, allows the admin to modify the description of the channel/supergroup
post_messagesflags.1?trueIf set, allows the admin to post messages in the channel
edit_messagesflags.2?trueIf set, allows the admin to also edit messages from other admins in the channel
delete_messagesflags.3?trueIf set, allows the admin to also delete messages from other admins in the channel
ban_usersflags.4?trueIf set, allows the admin to ban users from the channel/supergroup
invite_usersflags.5?trueIf set, allows the admin to invite users in the channel/supergroup
pin_messagesflags.7?trueIf set, allows the admin to pin messages in the channel/supergroup
add_adminsflags.9?trueIf set, allows the admin to add other admins with the same (or more limited) permissions in the channel/supergroup
anonymousflags.10?trueWhether this admin is anonymous
manage_callflags.11?trueIf set, allows the admin to create and administer video chats/livestreams »
otherflags.12?trueSet 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_topicsflags.13?trueIf set, allows the admin to create, delete or modify forum topics ».
post_storiesflags.14?trueIf set, allows the admin to post stories as the channel.
edit_storiesflags.15?trueIf set, allows the admin to edit stories posted by the other admins of the channel.
delete_storiesflags.16?trueIf set, allows the admin to delete stories posted by the other admins of the channel.
manage_direct_messagesflags.17?trueIf set, allows the admin to manage the direct messages monoforum » and decline suggested posts ».
manage_ranksflags.18?trueIf set, allows the admin to modify the member tag » of any user.

Type #

ChatAdminRights

Channels, supergroups, gigagroups and basic groups #

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

Group calls #

How to start, join and manage group calls and video chats.

Admin log #

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.

Channel statistics #

Telegram offers detailed channel statistics for channels and supergroups.

Forum topics #

Telegram allows creating forums with multiple distinct topics.

Telegram Stories #

Telegram users and channels can easily post and view stories through the API.

Direct messages to channels #

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.

Suggested posts #

Telegram offers a powerful monetization feature to channel administrators: suggested posts.

Group participant tags #

Members in group chats (both basic groups and supergroups) can add a tag next to their name — to show their role at work, what they study in school, and more.