@slack/web-api / WebClientOptions
Defined in: src/WebClient.ts:79
optional adapter: AxiosAdapter;Defined in: src/WebClient.ts:126
Custom functions for modifing and handling outgoing requests. Useful if you would like to manage outgoing request with a custom http client. See Axios adapter documentation for more information.
undefinedoptional agent: Agent;Defined in: src/WebClient.ts:91
optional allowAbsoluteUrls: boolean;Defined in: src/WebClient.ts:105
Determines if a dynamic method name being an absolute URL overrides the configured slackApiUrl. When set to false, the URL used in Slack API requests will always begin with the slackApiUrl.
See https://tools.slack.dev/node-slack-sdk/web-api#call-a-method for more details. See https://github.com/axios/axios?tab=readme-ov-file#request-config for more details.
trueoptional attachOriginalToWebAPIRequestError: boolean;Defined in: src/WebClient.ts:112
Indicates whether to attach the original error to a Web API request error. When set to true, the original error object will be attached to the Web API request error.
trueoptional headers: Record<string, string>;Defined in: src/WebClient.ts:95
optional logger: Logger;Defined in: src/WebClient.ts:87
optional logLevel: LogLevel;Defined in: src/WebClient.ts:88
optional maxRequestConcurrency: number;Defined in: src/WebClient.ts:89
optional rejectRateLimitedCalls: boolean;Defined in: src/WebClient.ts:94
optional requestInterceptor: RequestInterceptor;Defined in: src/WebClient.ts:118
Custom function to modify outgoing requests. See Axios interceptor documentation for more details.
undefinedoptional retryConfig: RetryOptions;Defined in: src/WebClient.ts:90
optional slackApiUrl: string;Defined in: src/WebClient.ts:86
The base URL requests are sent to. Often unchanged, but might be set for testing techniques.
See https://tools.slack.dev/node-slack-sdk/web-api/#custom-api-url for more information.
https://slack.com/api/optional teamId: string;Defined in: src/WebClient.ts:96
optional timeout: number;Defined in: src/WebClient.ts:93
optional tls: TLSOptions;Defined in: src/WebClient.ts:92