{
  "args": {
    "as_user": {
      "desc": "(Legacy) Pass true to delete the message as the authed user with `chat:write:user` scope. Bot users in this context are considered authed users. See legacy `as_user` parameter below.",
      "example": "true",
      "required": false,
      "type": "boolean"
    },
    "channel": {
      "desc": "Channel containing the message to be deleted.",
      "required": true,
      "type": "string"
    },
    "ts": {
      "desc": "Timestamp of the message to be deleted.",
      "example": "\"1405894322.002768\"",
      "required": true,
      "type": "string"
    }
  },
  "desc": "Deletes a message.",
  "errors": {
    "cant_delete_message": "Authenticated user does not have permission to delete this message.",
    "channel_not_found": "Value passed for `channel` was invalid.",
    "message_not_found": "No message exists with the requested timestamp."
  },
  "rate_limit": {
    "label": "Tier 3: 50+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "bot": [
      {
        "name": "chat:write",
        "url": "https://docs.slack.dev/reference/scopes/chat.write"
      }
    ],
    "user": [
      {
        "name": "chat:write",
        "url": "https://docs.slack.dev/reference/scopes/chat.write"
      }
    ]
  }
}

