Send Livechat Message
    • Dark
      Light
    • PDF

    Send Livechat Message

    • Dark
      Light
    • PDF

    Article summary

    DDP message

    { 
       "msg":"method",
       "method":"sendMessageLivechat",
       "params":
          [{"_id":"XqEEHhQHvhFmK3Zoz",
            "rid":"TT9iMmzusfcLq8sv2", 
            "msg":"test",
            "token":"7T4jzes7rX3Fr6cQ2"}],
       "id":"11"
    }

    The property _id should be generated randomly before sending the message.

    Response

    {
        "_id":"XqEEHhQHvhFmK3Zoz",
        "rid":"TT9iMmzusfcLq8sv2",
        "msg":"test",
        "token":"7T4jzes7rX3Fr6cQ2",
        "alias":"poqiqwp1o2",
        "ts":{
         "$date" :1494874057495
        },
        "u":{
         "_id":"4Zo8JcXynkMrXbFMN",
         "username":"guest-82"
        },
        "_updatedAt":{
         "$date":1494874057498
        },
        "newRoom":true,
        "showConnecting":false
    }


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence