JoinGroupRequest

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

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

Constructors

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

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): JsonGroupJoinInfo?
A function to resolve the response body by verifying the type of the response and returning a non-null value iff the wrapper and data is the right type.
submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): JsonGroupJoinInfo

Properties

account
Link copied to clipboard
common
val account: String
The account to interact with Example: "+12024561414"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
uri
Link copied to clipboard
common
val uri: String
The signal.group URL Example: "https://signal.
version
Link copied to clipboard
common
val version: String
The version to include in the request.