ChatAdminRights
- class pyrogram.raw.types.ChatAdminRights
Represents the rights of an admin in a channel/supergroup.
Constructor of
ChatAdminRights
.- Details:
Layer:
194
ID:
5FB224D5
- Parameters:
change_info (
bool
, optional) – If set, allows the admin to modify the description of the channel/supergrouppost_messages (
bool
, optional) – If set, allows the admin to post messages in the channeledit_messages (
bool
, optional) – If set, allows the admin to also edit messages from other admins in the channeldelete_messages (
bool
, optional) – If set, allows the admin to also delete messages from other admins in the channelban_users (
bool
, optional) – If set, allows the admin to ban users from the channel/supergroupinvite_users (
bool
, optional) – If set, allows the admin to invite users in the channel/supergrouppin_messages (
bool
, optional) – If set, allows the admin to pin messages in the channel/supergroupadd_admins (
bool
, optional) – If set, allows the admin to add other admins with the same (or more limited) permissions in the channel/supergroupanonymous (
bool
, optional) – Whether this admin is anonymousmanage_call (
bool
, optional) – If set, allows the admin to change group call/livestream settingsother (
bool
, optional) – 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 (
bool
, optional) – If set, allows the admin to create, delete or modify forum topics ».post_stories (
bool
, optional) – If set, allows the admin to post stories as the channel.edit_stories (
bool
, optional) – If set, allows the admin to edit stories posted by the other admins of the channel.delete_stories (
bool
, optional) – If set, allows the admin to delete stories posted by the other admins of the channel.