MarkReadRequest

data class MarkReadRequest(account: String, to: JsonAddress, timestamps: List<Long>, when: Long?) : SignaldRequestBodyV1<EmptyResponse>

Functions

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

Properties

account
Link copied to clipboard
common
val account: String
The account to interact withExample: "+12024561414"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
timestamps
Link copied to clipboard
common
val timestamps: List<Long>
List of messages to mark as readExample: 1615576442475
to
Link copied to clipboard
common
val to: JsonAddress
The address that sent the message being marked as read
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