💬 Chats
Pins a message in the chat
post/api/{session}/chats/{chatId}/messages/{messageId}/pin
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/{session}/chats/{chatId}/messages/{messageId}/pin
- Auth: API key in header X-Api-Key
Path parameters
sessionstring required
Session name
chatIdstring required
Example:123456789@c.us
Chat ID
messageIdstring required
Request body
Example request
{
"duration": 86400
}Changes
No recorded changes to this operation across all 1 revision of this API.