forGroup

fun forGroup(groupID: String, memberSubset: Collection<JsonAddress> = emptyList()): Recipient.Group

Constructs a recipient type for sending a message/reaction/etc. to a group. If memberSubset is non-empty, the message will only be sent to members in the memberSubset. This is useful for handling message send failures for only certain members of the group (e.g. safety number changes).