Adds the direct message back to the user's list of direct messages.
URL | Requires Auth | HTTP Method |
|
|
|
Argument | Example | Required | Description |
|
| Required | The direct message id |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \-H "X-User-Id: aobEdbYhXfu5hkeqG" \-H "Content-type: application/json" \http://localhost:3000/api/v1/im.open \-d '{ "roomId": "ByehQjC44FwMeiLbX" }'
{"success": true}
Version | Description |
0.48.0 | Added |