MakeJoin

@Serializable
data class MakeJoin(val roomId: RoomId, val userId: UserId, val supportedRoomVersions: Set<String>? = null) : MatrixEndpoint<Unit, MakeJoin.Response>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, userId: UserId, supportedRoomVersions: Set<String>? = null)

Types

Link copied to clipboard
@Serializable
data class Response(val eventTemplate: PersistentDataUnit.PersistentStateDataUnit<MemberEventContent>? = null, val roomVersion: 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
Link copied to clipboard
@SerialName(value = "ver")
val supportedRoomVersions: Set<String>?
Link copied to clipboard
@SerialName(value = "userId")
val userId: UserId

Functions

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