SendMessageEvent

@Serializable
data class SendMessageEvent(val roomId: RoomId, val type: String, val txnId: String, val ts: Long? = null) : MatrixEndpoint<MessageEventContent, SendEventResponse>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, type: String, txnId: String, ts: Long? = null)

Properties

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
Link copied to clipboard
@SerialName(value = "ts")
val ts: Long?
Link copied to clipboard
@SerialName(value = "txnId")
val txnId: String
Link copied to clipboard
@SerialName(value = "type")
val type: String

Functions

Link copied to clipboard
open override fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: MessageEventContent?): KSerializer<MessageEventContent>
Link copied to clipboard