import { SlackAPIClient } from "https://dotland.deno.dev/x/slack_web_api_client@0.11.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; }; }; }retryHanlders: RetryHandler[]
Methods
call(): Promise<SlackAPIResponse>