TypingRequest

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

send a typing started or stopped message

Constructors

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

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): EmptyResponse?
A function to resolve the response body by verifying the type of the response and returning a non-null value iff the wrapper and data is the right type.
submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse

Properties

account
Link copied to clipboard
common
val account: String
The account to use Example: "+12024561414"
address
Link copied to clipboard
common
val address: JsonAddress? = null
group
Link copied to clipboard
common
val group: String? = null
Example: "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE="
id
Link copied to clipboard
common
val id: String
The id to include in the request.
typing
Link copied to clipboard
common
val typing: Boolean
Example: true
version
Link copied to clipboard
common
val version: String
The version to include in the request.
when
Link copied to clipboard
common
val when: Long? = null