JoinGroupRequest

data class JoinGroupRequest(account: String, uri: String) : SignaldRequestBodyV1<JsonGroupJoinInfo>

Join a group using the a signal.group URL. Note that you must have a profile name set to join groups.

Constructors

Link copied to clipboard
fun JoinGroupRequest(account: String, uri: String)

Functions

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

Properties

Link copied to clipboard
val account: String

The account to interact with

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 uri: String

The signal.group URL

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