SlackClientOptions
Defined in: utils.ts:4
Options for createSlackClient.
Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: utils.ts:8
Override base URL for testing. Defaults to https://slack.com/api.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: utils.ts:10
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: utils.ts:6
Slack bot/user OAuth token.