Retrieves a single chat message by the provided id. Callee must have permission to access the room where the message resides.
URL | Requires Auth | HTTP Method |
|
|
|
Argument | Example | Required | Description |
|
| Required | The id of the message to get. |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \-H "X-User-Id: aobEdbYhXfu5hkeqG" \-H "Content-type:application/json" \http://localhost:3000/api/v1/chat.getMessage?msgId=7aDSXtjMA3KPLxLjt
{"message": {"_id": "7aDSXtjMA3KPLxLjt","rid": "GENERAL","msg": "This is a test!","ts": "2016-12-14T20:56:05.117Z","u": {"_id": "y65tAmHs93aDChMWu","username": "graywolf336"}},"success": true}
Version | Description |
0.47.0 | Added |