Companion

object Companion : KSerializer<ChatPermissions>

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): ChatPermissions
Link copied to clipboard
operator fun invoke(canSendMessages: Boolean? = null, canSendAudios: Boolean? = null, canSendDocuments: Boolean? = null, canSendPhotos: Boolean? = null, canSendVideos: Boolean? = null, canSendVideoNotes: Boolean? = null, canSendVoiceNotes: Boolean? = null, canSendPolls: Boolean? = null, canSendOtherMessages: Boolean? = null, canAddWebPagePreviews: Boolean? = null, canChangeInfo: Boolean? = null, canInviteUsers: Boolean? = null, canPinMessages: Boolean? = null): ChatPermissions.Granular
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: ChatPermissions)