SetReceipt

@Serializable
data class SetReceipt(val roomId: RoomId, val receiptType: ReceiptType, val eventId: EventId, val asUserId: UserId? = null) : MatrixEndpoint<Unit, Unit>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, receiptType: ReceiptType, eventId: EventId, asUserId: UserId? = null)

Functions

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

Properties

Link copied to clipboard
val asUserId: UserId? = null
Link copied to clipboard
val eventId: EventId
Link copied to clipboard
val receiptType: ReceiptType
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
val roomId: RoomId