/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=replies */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Get a thread of messages posted to a channel */ export type SlackV1ChannelRepliesParams = { resource: 'channel'; operation: 'replies'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The name of the channel to create. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; /** * Unique identifier of a thread's parent message */ ts?: string | Expression | PlaceholderValue; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** Whether to include messages with latest or oldest timestamp in results only when either timestamp is specified * @default false */ inclusive?: boolean | Expression; /** End of time range of messages to include in results */ latest?: string | Expression | PlaceholderValue; /** Start of time range of messages to include in results */ oldest?: string | Expression | PlaceholderValue; }; }; export type SlackV1ChannelRepliesNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };