Interface: WebClientOptions
Properties
agent?
optional agent: Agent;
Defined in
packages/web-api/src/WebClient.ts:80
attachOriginalToWebAPIRequestError?
optional attachOriginalToWebAPIRequestError: boolean;
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.
Default
true
Defined in
packages/web-api/src/WebClient.ts:92
headers?
optional headers: Record<string, string>;
Defined in
packages/web-api/src/WebClient.ts:84
logLevel?
optional logLevel: LogLevel;
Defined in
packages/web-api/src/WebClient.ts:77
logger?
optional logger: Logger;
Defined in
packages/web-api/src/WebClient.ts:76
maxRequestConcurrency?
optional maxRequestConcurrency: number;
Defined in
packages/web-api/src/WebClient.ts:78
rejectRateLimitedCalls?
optional rejectRateLimitedCalls: boolean;
Defined in
packages/web-api/src/WebClient.ts:83
retryConfig?
optional retryConfig: RetryOptions;
Defined in
packages/web-api/src/WebClient.ts:79
slackApiUrl?
optional slackApiUrl: string;
Defined in
packages/web-api/src/WebClient.ts:75
teamId?
optional teamId: string;
Defined in
packages/web-api/src/WebClient.ts:85
timeout?
optional timeout: number;
Defined in
packages/web-api/src/WebClient.ts:82
tls?
optional tls: TLSOptions;