GetGroupRevisionPagesRequest

data class GetGroupRevisionPagesRequest(account: String, groupId: String, fromRevision: Int, includeFirstRevision: Boolean?) : SignaldRequestBodyV1<GroupHistoryPage>

Query the server for group revision history. The history contains information about the changes between each revision and the user that made the change.

Constructors

Link copied to clipboard
fun GetGroupRevisionPagesRequest(account: String, groupId: String, fromRevision: Int, includeFirstRevision: Boolean? = null)

Functions

Link copied to clipboard
fun submit(socketCommunicator: SocketCommunicator): GroupHistoryPage
open override fun submit(socketCommunicator: SocketCommunicator, id: String): GroupHistoryPage
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): GroupHistoryPage
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): GroupHistoryPage

Properties

Link copied to clipboard
val account: String

The account to interact with

Link copied to clipboard
val fromRevision: Int

The revision to start the pages from. Note that if this is lower than the revision you joined the group, an AuthorizationFailedError is returned.

Link copied to clipboard
val groupId: String

Example: "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE="

Link copied to clipboard
val id: String

The id to include in the request. This is expected to be present in the response JSON.

Link copied to clipboard
val includeFirstRevision: Boolean? = null

Whether to include the first state in the returned pages (default false)

Link copied to clipboard
val version: String

The version to include in the request. As this class won't be used to deserialize the response, the Required annotation is being used to force this field to be serialized