Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.02 KB

File metadata and controls

40 lines (30 loc) · 1.02 KB
description
Reports a message

Report Message

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

Payload

Argument Example Required Description
messageId 7aDSXtjMA3KPLxLjt Required The message id to report.
description test Required The description of report.

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.reportMessage \
     -d '{ "messageId": "7aDSXtjMA3KPLxLjt", "description": "test" }'

Example Result

{
    "success": true
}

Change Log

Version Description
0.64.0 Added