SetTyping

@Serializable
data class SetTyping(val roomId: RoomId, val userId: UserId, val asUserId: UserId? = null) : MatrixEndpoint<SetTyping.Request, Unit>

See also

Constructors

Link copied to clipboard
constructor(roomId: RoomId, userId: UserId, asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Request(val typing: Boolean, val timeout: Long? = null)

Properties

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

Functions

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