RemoteDeleteRequest

data class RemoteDeleteRequest(account: String, address: JsonAddress?, group: String?, timestamp: Long) : SignaldRequestBodyV1<RemoteDelete, SendResponse>

delete a message previously sent

Constructors

RemoteDeleteRequest
Link copied to clipboard
common
fun RemoteDeleteRequest(account: String, address: JsonAddress? = null, group: String? = null, timestamp: Long)

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): SendResponse?
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): SendResponse

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
the address to send the delete message to.
group
Link copied to clipboard
common
val group: String? = null
the group to send the delete message to.
id
Link copied to clipboard
common
val id: String
The id to include in the request.
timestamp
Link copied to clipboard
common
val timestamp: Long
version
Link copied to clipboard
common
val version: String
The version to include in the request.