Restricted

@Serializable
@SerialName(value = "restricted")
data class Restricted(val user: User, val isMember: Boolean, val canChangeInfo: Boolean, val canInviteUsers: Boolean, val canPinMessages: Boolean, val canSendMessages: Boolean, val canSendAudios: Boolean, val canSendDocuments: Boolean, val canSendPhotos: Boolean, val canSendVideos: Boolean, val canSendVideoNotes: Boolean, val canSendVoiceNotes: Boolean, val canSendPolls: Boolean, val canSendOtherMessages: Boolean, val canAddWebPagePreviews: Boolean, val canManageTopics: Boolean, val untilDate: Instant) : ChatMember

Constructors

Link copied to clipboard
constructor(user: User, isMember: Boolean, canChangeInfo: Boolean, canInviteUsers: Boolean, canPinMessages: Boolean, canSendMessages: Boolean, canSendAudios: Boolean, canSendDocuments: Boolean, canSendPhotos: Boolean, canSendVideos: Boolean, canSendVideoNotes: Boolean, canSendVoiceNotes: Boolean, canSendPolls: Boolean, canSendOtherMessages: Boolean, canAddWebPagePreviews: Boolean, canManageTopics: Boolean, untilDate: Instant)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val untilDate: Instant
Link copied to clipboard
open override val user: User