BPT\types\chatMember

Extended by : BPT\types\types

This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:

Properties
Name Type Description Kind
status string The member's status in the chat, always “kicked” normal
user BPT\types\user Information about the user normal
is_anonymous bool True, if the user's presence in the chat is hidden normal
custom_title string Optional. Custom title for this user normal
can_be_edited bool True, if the bot is allowed to edit administrator privileges of that user normal
can_manage_chat bool True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege normal
can_delete_messages bool True, if the administrator can delete messages of other users normal
can_manage_video_chats bool True, if the administrator can manage video chats normal
can_restrict_members bool True, if the administrator can restrict, ban or unban chat members normal
can_promote_members bool 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) normal
can_change_info bool True, if the user is allowed to change the chat title, photo and other settings normal
can_invite_users bool True, if the user is allowed to invite new users to the chat normal
can_post_messages bool Optional. True, if the administrator can post in the channel; channels only normal
can_edit_messages bool Optional. True, if the administrator can edit messages of other users and can pin messages; channels only normal
can_pin_messages bool True, if the user is allowed to pin messages normal
can_manage_topics bool True, if the user is allowed to create forum topics normal
is_member bool True, if the user is a member of the chat at the moment of the request normal
can_send_messages bool True, if the user is allowed to send text messages, contacts, invoices, locations and venues normal
can_send_audios bool True, if the user is allowed to send audios normal
can_send_documents bool True, if the user is allowed to send documents normal
can_send_photos bool True, if the user is allowed to send photos normal
can_send_videos bool True, if the user is allowed to send videos normal
can_send_video_notes bool True, if the user is allowed to send video notes normal
can_send_voice_notes bool True, if the user is allowed to send voice notes normal
can_send_polls bool True, if the user is allowed to send polls normal
can_send_other_messages bool True, if the user is allowed to send animations, games, stickers and use inline bots normal
can_add_web_page_previews bool True, if the user is allowed to add web page previews to their messages normal
until_date int Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever normal