import { SlackAPIClient } from "https://deno.land/x/slack_web_api_client@0.5.0/client/api-client.ts";
Constructors
new
SlackAPIClient(token?: string | undefined, options?: SlackAPIClientOptions)Properties
readonly
admin: { apps: { approve; approved: { list; }; clearResolution; requests: { cancel; list; }; restrict; restricted: { list; }; uninstall; activities: { list; }; }; auth: { policy: { assignEntities; getEntities; removeEntities; }; }; barriers: { create; delete; list; update; }; conversations: { archive; bulkArchive; bulkDelete; bulkMove; convertToPrivate; convertToPublic; create; delete; disconnectShared; ekm: { listOriginalConnectedChannelInfo; }; getConversationPrefs; getTeams; invite; rename; restrictAccess: { addGroup; listGroups; removeGroup; }; getCustomRetention; setCustomRetention; removeCustomRetention; lookup; search; setConversationPrefs; setTeams; unarchive; }; emoji: { add; addAlias; list; remove; rename; }; functions: { list; permissions: { lookup; set; }; }; inviteRequests: { approve; approved: { list; }; denied: { list; }; deny; list; }; roles: { addAssignments; listAssignments; removeAssignments; }; teams: { admins: { list; }; create; list; owners: { list; }; settings: { info; setDefaultChannels; setDescription; setDiscoverability; setIcon; setName; }; }; usergroups: { addChannels; addTeams; listChannels; removeChannels; }; users: { assign; invite; list; remove; session: { list; reset; resetBulk; invalidate; getSettings; setSettings; clearSettings; }; unsupportedVersions: { export; }; setAdmin; setExpiration; setOwner; setRegular; }; workflows: { search; unpublish; collaborators: { add; remove; }; permissions: { lookup; }; }; }Methods
bindApiCall<A extends SlackAPIRequest, R extends SlackAPIResponse>(self: SlackAPIClient, method: string): SlackAPI<A, R>
bindMultipartApiCall<A extends SlackAPIRequest, R extends SlackAPIResponse>(self: SlackAPIClient, method: string): SlackAPI<A, R>
call(name: string, params: Record<string, any>): Promise<SlackAPIResponse>
sendMultipartData(name: string, params: Record<string, any>): Promise<SlackAPIResponse>