library
turbot/slack
Get Involved
Version
Pipeline: Get Channel History
Fetches a conversation's history of messages and events.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.get_channel_history \ --arg 'channel=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = slack.pipeline.get_channel_history args = { channel = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.slack | Yes | Name of Slack connection to use. If not provided, the default Slack connection will be used. | connection.slack.default |
channel | string | Yes | Conversation ID to fetch history for. | - |
oldest | string | Yes | Only messages after this Unix timestamp will be included in results. | 0 |
Outputs
Name | Description |
---|---|
messages | Channel history. |