Slack

SLACKBOT_FETCH_CONVERSATION_HISTORY

Fetches a chronological list of messages and events from a specified Slack conversation, accessible by the authenticated user/bot, with options for pagination and time range filtering.

Remote slackbot

Other tools also called SLACKBOT_FETCH_CONVERSATION_HISTORY? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "examples": [
        "100",
        "200"
      ],
      "description": "Maximum number of messages to return per page (1-1000). Fewer may be returned if at the end of history or channel has fewer messages."
    },
    "cursor": {
      "type": "string",
      "title": "Cursor",
      "examples": [
        "dXNlcjpVMDYxTkZUVDA="
      ],
      "description": "Pagination cursor from `next_cursor` of a previous response to fetch subsequent pages. See Slack's pagination documentation for details."
    },
    "latest": {
      "type": "string",
      "title": "Latest",
      "default": null,
      "examples": [
        "1609459200.000000"
      ],
      "nullable": true,
      "description": "End of the time range of messages to include in results. Accepts a Unix timestamp or a Slack timestamp (e.g., '1234567890.000000')."
    },
    "oldest": {
      "type": "string",
      "title": "Oldest",
      "default": null,
      "examples": [
        "1609372800.000000"
      ],
      "nullable": true,
      "description": "Start of the time range of messages to include in results. Accepts a Unix timestamp or a Slack timestamp (e.g., '1234567890.000000')."
    },
    "channel": {
      "type": "string",
      "title": "Channel",
      "examples": [
        "C1234567890",
        "G0123456789",
        "D0123456789"
      ],
      "description": "The ID of the public channel, private channel, direct message, or multi-person direct message to fetch history from."
    },
    "inclusive": {
      "type": "boolean",
      "title": "Inclusive",
      "examples": [
        "true",
        "false"
      ],
      "description": "Include messages with `latest` or `oldest` timestamps in the results; applies only when `latest` or `oldest` is specified."
    }
  }
}
          

Provider

Slack →