Group
class Group(groupID: String, memberSubset: Collection<JsonAddress>) : Recipient
Content copied to clipboard
A group as the recipient, using the base64-encoded groupID as the identifier. groupIDs can be retrieved with listGroups
or by reading the responses from joinGroup
or getGroupLinkInfo
.
If a memberSubset is non-empty, messages will only be sent to that subset. This is useful for handling message send failures for only certain members of the group (e.g. safety number changes).
Constructors
Link copied to clipboard
fun Group(groupID: String, memberSubset: Collection<JsonAddress> = emptyList())
Content copied to clipboard
Functions
Link copied to clipboard
fun withMemberSubset(memberSubset: Collection<JsonAddress>): Recipient.Group
Content copied to clipboard
Creates a copy of this Group with the same groupID but using the given memberSubset. This is useful for handling message send failures for only certain members of the group (e.g. safety number changes).