LeaveRoom

@Serializable
data class LeaveRoom(val roomId: RoomId) : MatrixEndpoint<LeaveRoom.Request, Unit>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId)

Types

Link copied to clipboard
@Serializable
data class Request(val reason: String? = 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

Functions

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