GramIO API Reference / gramio/dist / TelegramChatMemberAdministrator
Interface: TelegramChatMemberAdministrator
Defined in: @gramio/types/out/objects.d.ts:3651
Represents a chat member that has some additional privileges.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
can_be_edited | boolean | True, if the bot is allowed to edit administrator privileges of that user | @gramio/types/out/objects.d.ts:3663 |
can_change_info | boolean | True, if the user is allowed to change the chat title, photo and other settings | @gramio/types/out/objects.d.ts:3691 |
can_delete_messages | boolean | True, if the administrator can delete messages of other users | @gramio/types/out/objects.d.ts:3675 |
can_delete_stories | boolean | True, if the administrator can delete stories posted by other users | @gramio/types/out/objects.d.ts:3707 |
can_edit_messages? | boolean | Optional. True, if the administrator can edit messages of other users and can pin messages; for channels only | @gramio/types/out/objects.d.ts:3715 |
can_edit_stories | boolean | True, 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:3703 |
can_invite_users | boolean | True, if the user is allowed to invite new users to the chat | @gramio/types/out/objects.d.ts:3695 |
can_manage_chat | boolean | True, 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:3671 |
can_manage_direct_messages? | boolean | Optional. True, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only | @gramio/types/out/objects.d.ts:3727 |
can_manage_tags? | boolean | Optional. True, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can_pin_messages. | @gramio/types/out/objects.d.ts:3731 |
can_manage_topics? | boolean | Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only | @gramio/types/out/objects.d.ts:3723 |
can_manage_video_chats | boolean | True, if the administrator can manage video chats | @gramio/types/out/objects.d.ts:3679 |
can_pin_messages? | boolean | Optional. True, if the user is allowed to pin messages; for groups and supergroups only | @gramio/types/out/objects.d.ts:3719 |
can_post_messages? | boolean | Optional. 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:3711 |
can_post_stories | boolean | True, if the administrator can post stories to the chat | @gramio/types/out/objects.d.ts:3699 |
can_promote_members | boolean | True, 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:3687 |
can_restrict_members | boolean | True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics | @gramio/types/out/objects.d.ts:3683 |
custom_title? | string | Optional. Custom title for this user | @gramio/types/out/objects.d.ts:3735 |
is_anonymous | boolean | True, if the user's presence in the chat is hidden | @gramio/types/out/objects.d.ts:3667 |
status | "administrator" | The member's status in the chat, always “administrator” | @gramio/types/out/objects.d.ts:3655 |
user | TelegramUser | Information about the user | @gramio/types/out/objects.d.ts:3659 |