JsonGroupV2Info

data class JsonGroupV2Info(id: String?, revision: Int?, title: String?, description: String?, avatar: String?, timer: Int?, members: List<JsonAddress>, pendingMembers: List<JsonAddress>, requestingMembers: List<JsonAddress>, inviteLink: String?, accessControl: GroupAccessControl?, memberDetail: List<GroupMember>, pendingMemberDetail: List<GroupMember>, announcements: String?, removed: Boolean?, bannedMembers: List<BannedGroupMember>, groupChange: GroupChange?) : SignaldResponseBodyV1

Information about a Signal group

Constructors

Link copied to clipboard
fun JsonGroupV2Info(id: String? = null, revision: Int? = null, title: String? = null, description: String? = null, avatar: String? = null, timer: Int? = null, members: List<JsonAddress> = emptyList(), pendingMembers: List<JsonAddress> = emptyList(), requestingMembers: List<JsonAddress> = emptyList(), inviteLink: String? = null, accessControl: GroupAccessControl? = null, memberDetail: List<GroupMember> = emptyList(), pendingMemberDetail: List<GroupMember> = emptyList(), announcements: String? = null, removed: Boolean? = null, bannedMembers: List<BannedGroupMember> = emptyList(), groupChange: GroupChange? = null)

Properties

Link copied to clipboard
val accessControl: GroupAccessControl? = null

current access control settings for this group

Link copied to clipboard
val announcements: String? = null

indicates if the group is an announcements group. Only admins are allowed to send messages to announcements groups. Options are UNKNOWN, ENABLED or DISABLED

Link copied to clipboard
val avatar: String? = null

path to the group's avatar on local disk, if available

Link copied to clipboard
val bannedMembers: List<BannedGroupMember>
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val groupChange: GroupChange? = null

Represents a peer-to-peer group change done by a user. Will not be set if the group change signature fails verification. This is usually only set inside of incoming messages.

Link copied to clipboard
val id: String? = null

Example: "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE="

Link copied to clipboard
val inviteLink: String? = null

the signal.group link, if applicable

Link copied to clipboard
val memberDetail: List<GroupMember>

detailed member list

Link copied to clipboard
val members: List<JsonAddress>
Link copied to clipboard
val pendingMemberDetail: List<GroupMember>

detailed pending member list

Link copied to clipboard
val pendingMembers: List<JsonAddress>
Link copied to clipboard
val removed: Boolean? = null

will be set to true for incoming messages to indicate the user has been removed from the group

Link copied to clipboard
val requestingMembers: List<JsonAddress>
Link copied to clipboard
val revision: Int? = null

Example: 5

Link copied to clipboard
val timer: Int? = null

Example: 604800

Link copied to clipboard
val title: String? = null

Example: "Parkdale Run Club"