docs: Add comment explaining `everyOne: false` in mentions config

main
brobert (aider) 3 months ago
parent d16c34c2a9
commit de13ca8115

@ -28,7 +28,7 @@ export async function sendMessage(phone: string, message: string, mentions: stri
presence: 'composing',
linkPreview: false,
mentions: {
everyOne: false,
everyOne: false, // Set to false since we're mentioning specific users, not everyone
mentioned: mentions.map(phone => phone.split('@')[0]) // Strip @s.whatsapp.net
}
},

Loading…
Cancel
Save