Get Single Message
- Print
- DarkLight
- PDF
Get Single Message
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get a single message by the message ID.
Method | Requires Auth |
---|---|
| Yes |
Payload parameters
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The message ID. |
Example call
{
"msg": "method",
"method": "getSingleMessage",
"id": "23",
"params": [
"8gMsLe9ApZjo2D2iB"
]
}
Example response
{
"msg": "result",
"id": "23",
"result": {
"_id": "8gMsLe9ApZjo2D2iB",
"rid": "64a1f373376181965ab77f54",
"msg": "Hello World!",
"ts": {
"$date": 1688421173424
},
"u": {
"_id": "LFdhbcNHx5zsMA7T4",
"username": "test.rc",
"name": "Test RC"
},
"_updatedAt": {
"$date": 1688421428832
},
"urls": [],
"mentions": [],
"channels": [],
"md": [
{
"type": "PARAGRAPH",
"value": [
{
"type": "PLAIN_TEXT",
"value": "Hello World!"
}
]
}
],
"starred": []
}
}
Was this article helpful?