product:chat

Update message

Updates message with new data

Sends events:

  • message.updated
post/messages/{id}

Path parameters

idstring required

Message ID

Request body

skip_enrich_urlboolean

Skip enrich URL

skip_pushboolean

Response

Response

durationstring required

Duration of the request in milliseconds

pending_message_metadataobject

Example response

{
  "message": {
    "draft": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    },
    "reminder": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    },
    "shared_location": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    }
  }
}

Changes