Unitalk Slack icon

Unitalk Slack

Consume Slack API via Unitalk

Channel → History

AI-generated

Summary

Retrieve the message history from a specified Slack channel, optionally filtered by time range and controlled by pagination settings.

Inputs

  • Channel (required) — Specify the Slack channel to retrieve messages from. Can be selected from a searchable list, provided by ID, or by URL.
  • Return All — Choose whether to return all messages available or limit to a specified number.
  • Limit — Maximum number of messages to return when Return All is false; valid values are between 1 and 100, default is 50.
  • Filters — Optional filters to refine the message history query, including 'Oldest' timestamp, 'Latest' timestamp, and 'Inclusive' flag to include messages exactly on boundary timestamps.

Output shape

a list of message objects representing the channel's message history

If 'Return All' is true, all available messages are returned and pagination is handled internally. If false, up to 'Limit' messages are returned. Timestamp filters ('Oldest' and 'Latest') restrict the time range of messages included. Messages include metadata per Slack's API response format.

Links

Discussion