Documentation Index
Fetch the complete documentation index at: https://mintlify.com/WhiskeySockets/Baileys/llms.txt
Use this file to discover all available pages before exploring further.
Fetch privacy settings
Retrieve your current privacy settings.Force refresh settings from server instead of using cached values
Last seen privacy
Control who can see when you were last online.Privacy level:
all- Everyone can see your last seencontacts- Only your contacts can seecontact_blacklist- All contacts except blocked onesnone- Nobody can see your last seen
Online privacy
Control who can see when you’re online.Privacy level:
all- Everyone can see when you’re onlinematch_last_seen- Same as your last seen privacy setting
Profile picture privacy
Control who can see your profile picture.Privacy level:
all- Everyone can see your profile picturecontacts- Only your contacts can seecontact_blacklist- All contacts except blocked onesnone- Nobody can see your profile picture
Status privacy
Control who can see your status updates.Privacy level:
all- Everyone can see your statuscontacts- Only your contacts can seecontact_blacklist- All contacts except blocked onesnone- Nobody can see your status
Read receipts privacy
Control whether to send read receipts (blue checkmarks).Privacy level:
all- Send read receiptsnone- Don’t send read receipts
Groups add privacy
Control who can add you to groups.Privacy level:
all- Everyone can add you to groupscontacts- Only your contacts can add youcontact_blacklist- All contacts except blocked ones can add you
Default disappearing mode
Set the default timer for disappearing messages in new chats.Duration in seconds for messages to disappear:
0- Disable (messages don’t disappear)86400- 24 hours604800- 7 days7776000- 90 days
| Time | Seconds |
|---|---|
| Remove | 0 |
| 24h | 86,400 |
| 7d | 604,800 |
| 90d | 7,776,000 |
Block user
Block a user to prevent them from messaging you.The JID of the user to block
Action to perform:
block- Block the userunblock- Unblock the user
Unblock user
Unblock a previously blocked user.Fetch blocklist
Retrieve the list of all blocked users.Returns an array of JIDs for all blocked users.