Update Livechat Message

Prev Next
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