ChatMember

Information about one member of a chat

Members

Variables

can_add_web_page_previews
bool can_add_web_page_previews;

Restricted only. true, if user may add web page previews to his messages, implies can_send_media_messages

can_be_edited
bool can_be_edited;

Administrators only. true, if the bot is allowed to edit administrator privileges of that user

can_change_info
bool can_change_info;

Administrators only. true, if the administrator can change the chat title, photo and other settings

can_delete_messages
bool can_delete_messages;

Administrators only. true, if the administrator can delete messages of other users

can_edit_messages
bool can_edit_messages;

Administrators only. true, if the administrator can edit messages of other users and can pin messages, channels only

can_invite_users
bool can_invite_users;

Administrators only. true, if the administrator can invite new users to the chat

can_pin_messages
bool can_pin_messages;

Administrators only. true, if the administrator can pin messages, supergroups only

can_post_messages
bool can_post_messages;

Administrators only. true, if the administrator can post in the channel, channels only

can_promote_members
bool can_promote_members;

Administrators only. true, if the administrator can add new administrators with a subset of his own privileges or demote administrators that he has promoted, directly or indirectly

can_restrict_members
bool can_restrict_members;

Administrators only. true, if the administrator can restrict, ban or unban chat members

can_send_media_messages
bool can_send_media_messages;

Restricted only. true, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages

can_send_messages
bool can_send_messages;

Restricted only. true, if the user can send text messages, contacts, locations and venues

can_send_other_messages
bool can_send_other_messages;

Restricted only. true, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages

status
UserStatus status;

Member's status in the chat

until_date
SysTime until_date;

Restricted and kicked only. Date when restrictions will be lifted for this user

user
User user;

Information about the user

See Also

Meta