approveMembership

js
suspend fun approveMembership(groupID: String, members: Iterable<<ERROR CLASS>>): <ERROR CLASS>

Approves the members requests to join a V2 group with the given groupID. Returns the new group information.

Throws

RequestFailedException

if signald sends an error response or the incoming message is invalid

SignaldException

if the request to the socket fails

synchronousClient
fun approveMembership(groupID: String, members: Iterable<JsonAddress>): JsonGroupV2Info

Approves the members requests to join a V2 group with the given groupID. Returns the new group information.

Throws

org.inthewaves.kotlinsignald.clientprotocol.RequestFailedException

if signald sends an error response or the incoming message is invalid

org.inthewaves.kotlinsignald.clientprotocol.SignaldException

if the request to the socket fails