ChatMemberAdministrator

Raw MD
Represents a chat member that has some additional privileges

Represents a chat member that has some additional privileges.

Fields

FieldTypeRequiredDescription
statusStringAlwaysThe member's status in the chat, always "administrator"
userUserAlwaysInformation about the user
can_be_editedBooleanAlwaysTrue, if the bot is allowed to edit administrator privileges of that user
is_anonymousBooleanAlwaysTrue, if the user's presence in the chat is hidden
can_manage_chatBooleanAlwaysTrue, 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.
can_delete_messagesBooleanAlwaysTrue, if the administrator can delete messages of other users
can_manage_video_chatsBooleanAlwaysTrue, if the administrator can manage video chats
can_restrict_membersBooleanAlwaysTrue, if the administrator can restrict, ban or unban chat members, or access supergroup statistics
can_promote_membersBooleanAlwaysTrue, 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)
can_change_infoBooleanAlwaysTrue, if the user is allowed to change the chat title, photo and other settings
can_invite_usersBooleanAlwaysTrue, if the user is allowed to invite new users to the chat
can_post_storiesBooleanAlwaysTrue, if the administrator can post stories to the chat
can_edit_storiesBooleanAlwaysTrue, 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
can_delete_storiesBooleanAlwaysTrue, if the administrator can delete stories posted by other users
can_post_messagesBooleanOptionalTrue, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only
can_edit_messagesBooleanOptionalTrue, if the administrator can edit messages of other users and can pin messages; for channels only
can_pin_messagesBooleanOptionalTrue, if the user is allowed to pin messages; for groups and supergroups only
can_manage_topicsBooleanOptionalTrue, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only
can_manage_direct_messagesBooleanOptionalTrue, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only
can_manage_tagsBooleanOptionalTrue, if the administrator can edit the tags of regular members; for groups and supergroups only
can_send_welcome_messagesBooleanAlwaysTrue, if the administrator can manage chat welcome messages or directly send them in the case of bots
custom_titleStringOptionalCustom title for this user
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.