product:chat

Run message command action

Executes message command action with given parameters

Sends events:

  • message.new
post/messages/{id}/action

Path parameters

idstring required

Message ID

Request body

form_dataobject required

ReadOnlyData to execute command with

user_idstring

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