class BaseSlackAPIClient
implements BaseSlackClient
import { BaseSlackAPIClient } from "https://deno.land/x/deno_slack_api@2.7.1/base-client.ts";
Constructors
new
BaseSlackAPIClient(token?: string, options?: SlackAPIOptions)Methods
private
createBaseResponse(response: Response): Promise<BaseResponse>private
createHttpError(response: Response): Promise<HttpError>apiCall(method: string, data?: SlackAPIMethodArgs): Promise<BaseResponse>
response(url: string, data: Record<string, unknown>): Promise<BaseResponse>
setSlackApiUrl(apiURL: string)