Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

video

Status
titlestring

Base64 of the video

fileName

Status
titlestring

Contains name of the image message

caption

Status
titlestring

file caption

documentType

Status
titleSTRING

Document format

user

Status
titleobject

Semplified user object containing only user id and isAgent properties of the user who sent the message.

Example

Code Block
languagejson
{
    "_id" : ObjectId("61f15a4c932c660c83d5e22f"),
    "room" : "CHAT_DEFAULT_06b6ace1-a923-4657-876b-c6432729610d",
    "id" : "m_dXya7ckVUHyYxQHcQrrdgT2MVSImQFjQ7aCDxA_Mxf7AeR9GMI0vDs2dy2PKgTjE24tQrJImLWYnR5hgtpt7Uw",
    "content" : {
        "caption" : "",
        "fileName" : "video.mp4",
        "documentType" : "mp4",
        "user" : {
            "id" : "4149729381806003",
            "isAgent" : false
        },
        "video" : { "$binary" : "AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDE...", "$type" : "00" }
    }
}