Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (27 loc) · 943 Bytes

File metadata and controls

37 lines (27 loc) · 943 Bytes

Unstar Message

Unstars the chat message for the authenticated user.

URL Requires Auth HTTP Method
/api/v1/chat.unStarMessage yes POST

Payload

Argument Example Required Description
messageId 7aDSXtjMA3KPLxLjt Required The message id to unpin.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/chat.unStarMessage \
     -d '{ "messageId": "7aDSXtjMA3KPLxLjt" }'

Example Result

{
    "success": true
}

Change Log

Version Description
0.59.0 Added