TypingRequest

data class TypingRequest(account: String, address: JsonAddress?, group: String?, typing: Boolean, when: Long?) : SignaldRequestBodyV1<EmptyResponse>

send a typing started or stopped message

Constructors

Link copied to clipboard
fun TypingRequest(account: String, address: JsonAddress? = null, group: String? = null, typing: Boolean, when: Long? = null)

Functions

Link copied to clipboard
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse
open override fun submit(socketCommunicator: SocketCommunicator, id: String): EmptyResponse
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): EmptyResponse
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): EmptyResponse

Properties

Link copied to clipboard
val account: String

The account to use

Link copied to clipboard
val address: JsonAddress? = null
Link copied to clipboard
val group: String? = null

Example: "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE="

Link copied to clipboard
val id: String

The id to include in the request. This is expected to be present in the response JSON.

Link copied to clipboard
val typing: Boolean

Example: true

Link copied to clipboard
val version: String

The version to include in the request. As this class won't be used to deserialize the response, the Required annotation is being used to force this field to be serialized

Link copied to clipboard
val when: Long? = null