CreateGroupRequest

data class CreateGroupRequest(account: String, title: String, avatar: String?, members: List<JsonAddress>, timer: Int?, memberRole: String?) : SignaldRequestBodyV1<JsonGroupV2Info>

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): JsonGroupV2Info
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): JsonGroupV2Info

Properties

account
Link copied to clipboard
common
val account: String
The account to interact withExample: "+12024561414"
avatar
Link copied to clipboard
common
val avatar: String? = null
Example: "/tmp/image.
id
Link copied to clipboard
common
val id: String
The id to include in the request.
memberRole
Link copied to clipboard
common
val memberRole: String? = null
The role of all members other than the group creator.
members
Link copied to clipboard
common
val members: List<JsonAddress>
timer
Link copied to clipboard
common
val timer: Int? = null
the message expiration timer
title
Link copied to clipboard
common
val title: String
Example: "Parkdale Run Club"
version
Link copied to clipboard
common
val version: String
The version to include in the request.