Webhook event: Message Updated
This webhook event is sent for every message updated.
A message can be updated in the following cases:
statuschanges to "received" or "read".- After posting an image, to update
image_url,image_thumb_url,image_widthandimage_height. - After posting a file, to update
file_urlandfile_size.
Headers
| Name | Value |
|---|---|
Secret-Key | Security key provided by MeetingLawyers to securize server-to-server communications |
Content-Type | application/json |
Request body
Parameters
| Name | Type | Value |
|---|---|---|
event_id | Integer | Event notification identifier |
event_type | String | "message_updated" |
message | Message | The message |
Example
{
"event_id": 2341235,
"event_type": "message_updated",
"message": {
"from_user_id": "accec968-ec81-4af7-accb-e0e32e09fb26",
"to_user_id": "285c3d07-9b63-41e0-829f-5d51b31ffd29",
"room_id": 34625,
"message_id": "cad941bf-27f7-43a9-bb99-d618a7cc6f85",
"status": "read",
"type": "image",
"image_url": "https://ml-bucket.s3.amazonaws.com/media/4576345.png",
"image_thumb_url": "https://ml-bucket.s3.amazonaws.com/media/4576345t.png",
"image_width": "1024",
"image_height": "512",
"created_at": "2021-08-01T07:12:41"
}
}