SlackClientOptions
Defined in: clients/slack-client/dist/index.d.mts:2
Options for createSlackClient.
Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: clients/slack-client/dist/index.d.mts:6
Override base URL for testing. Defaults to https://slack.com/api.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: clients/slack-client/dist/index.d.mts:8
Override fetch for testing. Defaults to globalThis.fetch.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
token:
string
Defined in: clients/slack-client/dist/index.d.mts:4
Slack bot/user OAuth token.