SetExpirationRequest

data class SetExpirationRequest(account: String, address: JsonAddress?, group: String?, expiration: Int) : SignaldRequestBodyV1<SendResponse>

Set the message expiration timer for a thread. Expiration must be specified in seconds, set to 0 to disable timer

Constructors

SetExpirationRequest
Link copied to clipboard
common
fun SetExpirationRequest(account: String, address: JsonAddress? = null, group: String? = null, expiration: Int)

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

account
Link copied to clipboard
common
val account: String
The account to useExample: "+12024561414"
address
Link copied to clipboard
common
val address: JsonAddress? = null
expiration
Link copied to clipboard
common
val expiration: Int
Example: 604800
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.
version
Link copied to clipboard
common
val version: String
The version to include in the request.