Skip to content

GramIO API Reference / gramio/dist / TelegramChatAdministratorRights

Interface: TelegramChatAdministratorRights

Defined in: @gramio/types/out/objects.d.ts:4045

Represents the rights of an administrator in a chat.

Documentation

Properties

PropertyTypeDescriptionDefined in
can_change_infobooleanTrue, if the user is allowed to change the chat title, photo and other settings@gramio/types/out/objects.d.ts:4073
can_delete_messagesbooleanTrue, if the administrator can delete messages of other users@gramio/types/out/objects.d.ts:4057
can_delete_storiesbooleanTrue, if the administrator can delete stories posted by other users@gramio/types/out/objects.d.ts:4089
can_edit_messages?booleanOptional. True, if the administrator can edit messages of other users and can pin messages; for channels only@gramio/types/out/objects.d.ts:4097
can_edit_storiesbooleanTrue, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive@gramio/types/out/objects.d.ts:4085
can_invite_usersbooleanTrue, if the user is allowed to invite new users to the chat@gramio/types/out/objects.d.ts:4077
can_manage_chatbooleanTrue, if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.@gramio/types/out/objects.d.ts:4053
can_manage_direct_messages?booleanOptional. True, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only@gramio/types/out/objects.d.ts:4109
can_manage_tags?booleanOptional. True, if the administrator can edit the tags of regular members; for groups and supergroups only@gramio/types/out/objects.d.ts:4113
can_manage_topics?booleanOptional. True, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only@gramio/types/out/objects.d.ts:4105
can_manage_video_chatsbooleanTrue, if the administrator can manage video chats@gramio/types/out/objects.d.ts:4061
can_pin_messages?booleanOptional. True, if the user is allowed to pin messages; for groups and supergroups only@gramio/types/out/objects.d.ts:4101
can_post_messages?booleanOptional. True, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only@gramio/types/out/objects.d.ts:4093
can_post_storiesbooleanTrue, if the administrator can post stories to the chat@gramio/types/out/objects.d.ts:4081
can_promote_membersbooleanTrue, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user)@gramio/types/out/objects.d.ts:4069
can_restrict_membersbooleanTrue, if the administrator can restrict, ban or unban chat members, or access supergroup statistics@gramio/types/out/objects.d.ts:4065
can_send_welcome_messagesbooleanTrue, if the administrator can manage chat welcome messages or directly send them in the case of bots@gramio/types/out/objects.d.ts:4117
is_anonymousbooleanTrue, if the user's presence in the chat is hidden@gramio/types/out/objects.d.ts:4049