Companion

object Companion

Functions

Link copied to clipboard
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).

Link copied to clipboard
fun forIndividual(address: JsonAddress): Recipient.Individual
Link copied to clipboard
fun forNumber(number: String): Recipient.Individual
Link copied to clipboard
fun forReply(incomingMessage: IncomingMessage): Recipient
Link copied to clipboard
fun forSelf(): Recipient.Self
Link copied to clipboard
fun forUUID(uuid: String): Recipient.Individual