RedactEvent

@Serializable
data class RedactEvent(val roomId: RoomId, val eventId: EventId, val txnId: String, val asUserId: UserId? = null) : MatrixEndpoint<RedactEvent.Request, SendEventResponse>

See also

Constructors

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

Types

Link copied to clipboard
@Serializable
data class Request(val reason: String?)

Functions

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

Properties

Link copied to clipboard
val asUserId: UserId? = null
Link copied to clipboard
val eventId: EventId
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