...
Name | Type | Description | ||||
---|---|---|---|---|---|---|
audio |
| Base64 of the audio | ||||
fileName |
| Contains name of the image message | ||||
caption |
| file caption | ||||
documentType |
| Document format | ||||
user |
| Semplified user object containing only user id and isAgent properties of the user who sent the message. |
Example
Code Block | ||
---|---|---|
| ||
{
"_id" : ObjectId("61f158ee932c660c83d5e201"),
"room" : "CHAT_DEFAULT_24ec70f1-b92d-44c4-94ad-49bcd15986ea",
"id" : "m_JLR7O2EHIE6d3fiskFBiqz2MVSImQFjQ7aCDxA_Mxf6hm6TYUaJKXiEqfYgCX8WKxriZux06OzPB8XLZa8yNKA",
"content" : {
"caption" : "",
"fileName" : "audioclip-1643206881000-5760.mp4",
"documentType" : "mp4",
"user" : {
"id" : "4149729381806003",
"isAgent" : false
},
"audio" : { "$binary" : "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAABvJ......", "$type" : "00" }
}
} |
Video message
video |
| Base64 of the video | ||||
fileName |
| Contains name of the image message | ||||
caption |
| file caption | ||||
documentType |
| Document format | ||||
user |
| Semplified user object containing only user id and isAgent properties of the user who sent the message. |