Selected recipients

DOCUMENTATION 2026-11-18.2 · TESTED WITH SDK 11.1.2

Plain-text guide · All documentation

Send to selected group recipients

Everyone is the default audience. NoEyes administrators can enable Group recipient selection in Settings → Messaging; it is off by default. Check the current policy before preparing a selected message.

const limits = await client.chats.limits();
if (!limits.select_recipients_enabled) {
  throw new Error("Selected recipients are not enabled");
}
const currentChat = (await client.chats.get(
  chatId, identity
)).chat;
// Review currentChat.participant_identities before approving a send.
await client.chats.sendMessage(identity, chatId, {
  message: approvedText,
  chat: currentChat,
  recipients: [{ wallet: selectedWallet, profile_name: "" }]
});

The sender is always included. Choose at least one other current participant. Leave out recipients to send to Everyone. Members outside a selected audience see no message, placeholder, preview, unread activity or attachment. Existing keys are reused. If the option is turned off while a selected draft is pending, keep it blocked until the author explicitly chooses an audience; never silently change it to Everyone.