SetReceipt

@Serializable
data class SetReceipt(val roomId: RoomId, val receiptType: ReceiptType, val eventId: EventId) : MatrixEndpoint<SetReceipt.Request, Unit>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, receiptType: ReceiptType, eventId: EventId)

Types

Link copied to clipboard
@Serializable
data class Request(val threadId: EventId? = null)

Properties

Link copied to clipboard
@SerialName(value = "eventId")
val eventId: EventId
Link copied to clipboard
@SerialName(value = "receiptType")
val receiptType: ReceiptType
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "roomId")
val roomId: RoomId

Functions

Link copied to clipboard
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: Unit?): KSerializer<Unit>?