Get Snippeted Message By Id
- Print
- DarkLight
- PDF
Get Snippeted Message By Id
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get
/api/v1/chat.getSnippetedMessageById
Retrieve snippeted message by Id.
Changelog
Version | Description |
---|---|
2.3.0 | Added |
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Query parameters
messageId
stringRequired
The message id
ExampleByehQjC44FwMeiLbX
Responses
200
OK
Example
{
"message": {
"_id": "48sifqi7ezh4ifKaK",
"rid": "GENERAL",
"msg": "```dsfsdfsdf```",
"ts": "2019-10-25T23:26:31.550Z",
"u": {
"_id": "CaevAPDbXN252kyXa",
"username": "marc.dei",
"name": "Marc Dei"
},
"_updatedAt": "2019-10-25T23:27:51.300Z",
"mentions": [],
"channels": [],
"snippetName": "rr",
"snippeted": true,
"snippetedBy": {
"_id": "CaevAPDbXN252kyXa",
"username": "marc.dei"
}
},
"success": true
}
object
message
object
_id
string
rid
string
msg
string
ts
string
u
object
_id
string
username
string
name
string
_updatedAt
string
mentions
Array of object
object
channels
Array of object
object
snippetName
string
snippeted
boolean
snippetedBy
object
_id
string
username
string
success
boolean
Was this article helpful?