ReactRequest

data class ReactRequest(username: String, recipientAddress: JsonAddress?, recipientGroupId: String?, reaction: JsonReaction, timestamp: Long?) : SignaldRequestBodyV1<SendResponse>

react to a previous message

Constructors

ReactRequest
Link copied to clipboard
common
fun ReactRequest(username: String, recipientAddress: JsonAddress? = null, recipientGroupId: String? = null, reaction: JsonReaction, timestamp: Long? = null)

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): SendResponse
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): SendResponse

Properties

id
Link copied to clipboard
common
val id: String
The id to include in the request.
reaction
Link copied to clipboard
common
val reaction: JsonReaction
recipientAddress
Link copied to clipboard
common
val recipientAddress: JsonAddress? = null
recipientGroupId
Link copied to clipboard
common
val recipientGroupId: String? = null
Example: "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE="
timestamp
Link copied to clipboard
common
val timestamp: Long? = null
username
Link copied to clipboard
common
val username: String
Example: "+12024561414"
version
Link copied to clipboard
common
val version: String
The version to include in the request.