ApproveMembershipRequest

data class ApproveMembershipRequest(account: String, groupID: String, members: List<JsonAddress>) : SignaldRequestBodyV1<ApproveMembership, JsonGroupV2Info>

approve a request to join a group

Constructors

ApproveMembershipRequest
Link copied to clipboard
common
fun ApproveMembershipRequest(account: String, groupID: String, members: List<JsonAddress>)

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): JsonGroupV2Info?
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): JsonGroupV2Info

Properties

account
Link copied to clipboard
common
val account: String
The account to interact with Example: "+12024561414"
groupID
Link copied to clipboard
common
val groupID: String
Example: "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE="
id
Link copied to clipboard
common
val id: String
The id to include in the request.
members
Link copied to clipboard
common
val members: List<JsonAddress>
list of requesting members to approve
version
Link copied to clipboard
common
val version: String
The version to include in the request.