BanUserRequest
data class BanUserRequest(account: String, groupId: String, users: List<JsonAddress>) : SignaldRequestBodyV1<JsonGroupV2Info>
Content copied to clipboard
Bans users from a group. This works even if the users aren't in the group. If they are currently in the group, they will also be removed.
Constructors
Link copied to clipboard
fun BanUserRequest(account: String, groupId: String, users: List<JsonAddress>)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun submit(socketCommunicator: SocketCommunicator, id: String): JsonGroupV2Info
Content copied to clipboard
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): JsonGroupV2Info
Content copied to clipboard
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): JsonGroupV2Info
Content copied to clipboard