ResetSessionRequest

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

reset a session with a particular user

Constructors

ResetSessionRequest
Link copied to clipboard
common
fun ResetSessionRequest(account: String, address: JsonAddress, 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

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