product:chat

Commit message

Commits a pending message, which will make it visible in the channel

Sends events:

  • message.new
  • message.updated
post/messages/{id}/commit

Path parameters

idstring required

Response

Response

durationstring required

Duration of the request in milliseconds

Example response

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

Changes