TimestampToEvent

@Serializable
data class TimestampToEvent(val roomId: RoomId, val timestamp: Long, val dir: TimestampToEvent.Direction, val asUserId: UserId? = null) : MatrixEndpoint<Unit, TimestampToEvent.Response>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, timestamp: Long, dir: TimestampToEvent.Direction, asUserId: UserId? = null)

Types

Link copied to clipboard
Link copied to clipboard
@Serializable
data class Response(val eventId: EventId, val originTimestamp: Long)

Properties

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

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<TimestampToEvent.Response>?