Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Client → Pin Chat
AI-generatedSummary
Pins the specified chat in the selected session.
Inputs
- sessionId (required) — Session identifier selected from available sessions or provided via expression; falls back to default session if empty.
- chatId (required) — WhatsApp chat identifier in format number@c.us for individuals or number@g.us for groups.
Output shape
A single object containing success status and the updated chat record (includes pinned: true).
The response may include additional chat metadata such as pinned flag; fields are optional beyond success.
Examples
Example 1: Pin a group chat to keep it at the top of the conversation list.
sessionId = 'mySession'; chatId = '34698765432@c.us'