AdministratorChatMemberImpl

@Serializable
data class AdministratorChatMemberImpl(val user: PreviewUser, val canBeEdited: Boolean = false, val canChangeInfo: Boolean = false, val canPostMessages: Boolean = false, val canEditMessages: Boolean = false, val canRemoveMessages: Boolean = false, val canInviteUsers: Boolean = false, val canRestrictMembers: Boolean = false, val canPinMessages: Boolean = false, val canPromoteMembers: Boolean = false, val canManageVideoChats: Boolean = false, val canManageChat: Boolean = false, val isAnonymous: Boolean = false, val customTitle: String? = null, val canManageTopics: Boolean = false, val canPostStories: Boolean = false, val canEditStories: Boolean = false, val canDeleteStories: Boolean = false) : AdministratorChatMember

Constructors

Link copied to clipboard
constructor(user: PreviewUser, canBeEdited: Boolean = false, canChangeInfo: Boolean = false, canPostMessages: Boolean = false, canEditMessages: Boolean = false, canRemoveMessages: Boolean = false, canInviteUsers: Boolean = false, canRestrictMembers: Boolean = false, canPinMessages: Boolean = false, canPromoteMembers: Boolean = false, canManageVideoChats: Boolean = false, canManageChat: Boolean = false, isAnonymous: Boolean = false, customTitle: String? = null, canManageTopics: Boolean = false, canPostStories: Boolean = false, canEditStories: Boolean = false, canDeleteStories: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "can_be_edited")
open override val canBeEdited: Boolean = false
Link copied to clipboard
@SerialName(value = "can_change_info")
open override val canChangeInfo: Boolean = false
Link copied to clipboard
@SerialName(value = "can_delete_stories")
open override val canDeleteStories: Boolean = false
Link copied to clipboard
@SerialName(value = "can_edit_messages")
open override val canEditMessages: Boolean = false
Link copied to clipboard
@SerialName(value = "can_edit_stories")
open override val canEditStories: Boolean = false
Link copied to clipboard
@SerialName(value = "can_invite_users")
open override val canInviteUsers: Boolean = false
Link copied to clipboard
@SerialName(value = "can_manage_chat")
open override val canManageChat: Boolean = false
Link copied to clipboard
@SerialName(value = "can_manage_topics")
open override val canManageTopics: Boolean = false
Link copied to clipboard
@SerialName(value = "can_manage_video_chats")
open override val canManageVideoChats: Boolean = false
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "can_pin_messages")
open override val canPinMessages: Boolean = false
Link copied to clipboard
@SerialName(value = "can_post_messages")
open override val canPostMessages: Boolean = false
Link copied to clipboard
@SerialName(value = "can_post_stories")
open override val canPostStories: Boolean = false
Link copied to clipboard
@SerialName(value = "can_promote_members")
open override val canPromoteMembers: Boolean = false
Link copied to clipboard
@SerialName(value = "can_delete_messages")
open override val canRemoveMessages: Boolean = false
Link copied to clipboard
@SerialName(value = "can_restrict_members")
open override val canRestrictMembers: Boolean = false
Link copied to clipboard
@SerialName(value = "custom_title")
open override val customTitle: String? = null
Link copied to clipboard
@SerialName(value = "is_anonymous")
open override val isAnonymous: Boolean = false
Link copied to clipboard
@SerialName(value = "status")
@Required
@EncodeDefault
open override val status: ChatMember.Status
Link copied to clipboard
@SerialName(value = "user")
open override val user: PreviewUser