ChatCommonAdministratorRights

@Serializable
data class ChatCommonAdministratorRights(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 canManageTopics: Boolean = false, val canPostStories: Boolean = false, val canEditStories: Boolean = false, val canDeleteStories: Boolean = false) : ChatAdministratorRights

Constructors

Link copied to clipboard
constructor(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, canManageTopics: Boolean = false, canPostStories: Boolean = false, canEditStories: Boolean = false, canDeleteStories: Boolean = false)

Properties

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
@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 = "is_anonymous")
open override val isAnonymous: Boolean = false