ChatMember

data class ChatMember(user: User, status: String, custom_title: String?, is_anonymous: Boolean?, can_be_edited: Boolean?, can_manage_chat: Boolean?, can_post_messages: Boolean?, can_edit_messages: Boolean?, can_delete_messages: Boolean?, can_manage_voice_chats: Boolean?, can_restrict_members: Boolean?, can_promote_members: Boolean?, can_change_info: Boolean?, can_invite_users: Boolean?, can_pin_messages: Boolean?, is_member: Boolean?, can_send_messages: Boolean?, can_send_media_messages: Boolean?, can_send_polls: Boolean?, can_send_other_messages: Boolean?, can_add_web_page_previews: Boolean?, until_date: Long?) : TelegramModel

This object contains information about one member of a chat.

Constructors

ChatMember
Link copied to clipboard
fun ChatMember(user: User, status: String, custom_title: String? = null, is_anonymous: Boolean? = null, can_be_edited: Boolean? = null, can_manage_chat: Boolean? = null, can_post_messages: Boolean? = null, can_edit_messages: Boolean? = null, can_delete_messages: Boolean? = null, can_manage_voice_chats: Boolean? = null, can_restrict_members: Boolean? = null, can_promote_members: Boolean? = null, can_change_info: Boolean? = null, can_invite_users: Boolean? = null, can_pin_messages: Boolean? = null, is_member: Boolean? = null, can_send_messages: Boolean? = null, can_send_media_messages: Boolean? = null, can_send_polls: Boolean? = null, can_send_other_messages: Boolean? = null, can_add_web_page_previews: Boolean? = null, until_date: Long? = null)
Creates a ChatMember.

Properties

can_add_web_page_previews
Link copied to clipboard
val can_add_web_page_previews: Boolean? = null
Optional.
can_be_edited
Link copied to clipboard
val can_be_edited: Boolean? = null
Optional.
can_change_info
Link copied to clipboard
val can_change_info: Boolean? = null
Optional.
can_delete_messages
Link copied to clipboard
val can_delete_messages: Boolean? = null
Optional.
can_edit_messages
Link copied to clipboard
val can_edit_messages: Boolean? = null
Optional.
can_invite_users
Link copied to clipboard
val can_invite_users: Boolean? = null
Optional.
can_manage_chat
Link copied to clipboard
val can_manage_chat: Boolean? = null
Optional.
can_manage_voice_chats
Link copied to clipboard
val can_manage_voice_chats: Boolean? = null
Optional.
can_pin_messages
Link copied to clipboard
val can_pin_messages: Boolean? = null
Optional.
can_post_messages
Link copied to clipboard
val can_post_messages: Boolean? = null
Optional.
can_promote_members
Link copied to clipboard
val can_promote_members: Boolean? = null
Optional.
can_restrict_members
Link copied to clipboard
val can_restrict_members: Boolean? = null
Optional.
can_send_media_messages
Link copied to clipboard
val can_send_media_messages: Boolean? = null
Optional.
can_send_messages
Link copied to clipboard
val can_send_messages: Boolean? = null
Optional.
can_send_other_messages
Link copied to clipboard
val can_send_other_messages: Boolean? = null
Optional.
can_send_polls
Link copied to clipboard
val can_send_polls: Boolean? = null
Optional.
custom_title
Link copied to clipboard
val custom_title: String? = null
Optional.
is_anonymous
Link copied to clipboard
val is_anonymous: Boolean? = null
Optional.
is_member
Link copied to clipboard
val is_member: Boolean? = null
Optional.
status
Link copied to clipboard
val status: String
The member's status in the chat.
until_date
Link copied to clipboard
val until_date: Long? = null
Optional.
user
Link copied to clipboard
val user: User
Information about the user