whatsapp_pin_message
Pin or unpin a WhatsApp message in a chat, optionally setting an expiration, so everyone in the chat sees the pinned message.
Instructions
Pin or unpin a message in a chat, optionally for a limited time. Everyone in the chat sees the pin. To pin a whole chat in the list, use whatsapp_pin_chat. Returns a success confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat JID | |
| pinned | No | True to pin, false to unpin | |
| senderId | Yes | Message sender JID | |
| messageId | Yes | Message ID | |
| pinExpiration | No | Pin expiration (e.g. 24h, 7d, 30d) |