Update Livechat Message
    • Dark
      Light
    • PDF

    Update Livechat Message

    • Dark
      Light
    • PDF

    Article summary

    Put
    /api/v1/livechat/message/{_id}

    Update a specific livechat message.

    Path parameters
    _id
    stringRequired

    The message ID that you want to update.

    ExampleZKWP8LfGnRHQ3ozWa
    Body parameters
    Example 1
    {
      "token": "54fc5544030bcecda053311cb6b9892",
      "rid": "hGFwSKA28nRKut3pD",
      "msg": "editing livechat message.."
    }
    object
    token
    string

    The visitor token.

    ExampleiNKE8a6k6cjbqWhWd
    rid
    string

    The room ID.

    ExamplezRAeTszXor8CCPceB
    msg
    string

    The updated message that you want to send.

    Exampleediting a livechat message...
    Responses
    200
    Success Example
    {
      "message": {
        "_id": "ZKWP8LfGnRHQ3ozWa",
        "msg": "editing livechat message..",
        "u": {
          "_id": "YgEoq2djbGdjjZnsL",
          "username": "guest-4",
          "name": "Livechat Visitor"
        },
        "ls": "2018-09-14T13:31:33.201Z"
      },
      "success": true
    }
    Expand All
    object
    message
    object
    _id
    string
    msg
    string
    u
    object
    _id
    string
    username
    string
    name
    string
    ls
    string
    success
    boolean

    Was this article helpful?

    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.