comments: { /** * @description Deletes an existing comment on a file. * @see {@link https://api.slack.com/methods/files.comments.delete `files.comments.delete` API reference}. */ delete: MethodWithRequiredArgument; }; remote: { /** * @description Adds a file from a remote service. * @see {@link https://api.slack.com/methods/files.remote.add `files.remote.add` API reference}. */ add: MethodWithRequiredArgument; /** * @description Retrieve information about a remote file added to Slack. * @see {@link https://api.slack.com/methods/files.remote.info `files.remote.info` API reference}. */ info: MethodWithRequiredArgument; /** * @description List remote files added to Slack. * @see {@link https://api.slack.com/methods/files.remote.list `files.remote.list` API reference}. */ list: MethodWithRequiredArgument; /** * @description Remove a remote file. * @see {@link https://api.slack.com/methods/files.remote.remove `files.remote.remove` API reference}. */ remove: MethodWithRequiredArgument; /** * @description Share a remote file into a channel. * @see {@link https://api.slack.com/methods/files.remote.share `files.remote.share` API reference}. */ share: MethodWithRequiredArgument; /** * @description Updates an existing remote file. * @see {@link https://api.slack.com/methods/files.remote.update `files.remote.update` API reference}. */ update: MethodWithRequiredArgument; }; }; readonly functions: { /** * @description Signal the failure to execute a Custom Function. * @see {@link https://api.slack.com/methods/functions.completeError `functions.completeError` API reference}. */ completeError: MethodWithRequiredArgument; /** * @description Signal the successful completion of a Custom Function. * @see {@link https://api.slack.com/methods/functions.completeSuccess `functions.completeSuccess` API reference}. */ completeSuccess: MethodWithRequiredArgument; }; readonly migration: { /** * @description For Enterprise Grid workspaces, map local user IDs to global user IDs. * @see {@link https://api.slack.com/methods/migration.exchange `migration.exchange` API reference}. */ exchange: MethodWithRequiredArgument; }; readonly oauth: { /** * @description Exchanges a temporary OAuth verifier code for an access token. * @deprecated This is a legacy method only used by classic Slack apps. Use `oauth.v2.access` for new Slack apps. * @see {@link https://api.slack.com/methods/oauth.access `oauth.access` API reference}. */ access: MethodWithRequiredArgument; v2: { /** * @description Exchanges a temporary OAuth verifier code for an access token. * @see {@link https://api.slack.com/methods/oauth.v2.access `oauth.v2.access` API reference}. */ access: MethodWithRequiredArgument; /** * @description Exchanges a legacy access token for a new expiring access token and refresh token. * @see {@link https://api.slack.com/methods/oauth.v2.exchange `oauth.v2.exchange` API reference}. */ exchange: MethodWithRequiredArgument; }; }; readonly openid: { connect: { /** * @description Exchanges a temporary OAuth verifier code for an access token for {@link https://api.slack.com/authentication/sign-in-with-slack Sign in with Slack}. * @see {@link https://api.slack.com/methods/openid.connect.token `openid.connect.token` API reference}. */ token: MethodWithRequiredArgument; /** * @description Get the identity of a user who has authorized {@link https://api.slack.com/authentication/sign-in-with-slack Sign in with Slack}. * @see {@link https://api.slack.com/methods/openid.connect.userInfo `openid.connect.userInfo` API reference}. */ userInfo: MethodWithOptionalArgument; }; }; readonly pins: { /** * @description Pins an item to a channel. * @see {@link https://api.slack.com/methods/pins.add `pins.add` API reference}. */ add: MethodWithRequiredArgument; /** * @description Lists items pinned to a channel. * @see {@link https://api.slack.com/methods/pins.list `pins.list` API reference}. */ list: MethodWithRequiredArgument; /** * @description Un-pins an item from a channel. * @see {@link https://api.slack.com/methods/pins.remove `pins.remove` API reference}. */ remove: MethodWithRequiredArgument; }; readonly reactions: { /** * @description Adds a reaction to an item. * @see {@link https://api.slack.com/methods/reactions.add `reactions.add` API reference}. */ add: MethodWithRequiredArgument; /** * @description Gets reactions for an item. * @see {@link https://api.slack.com/methods/reactions.get `reactions.get` API reference}. */ get: MethodWithRequiredArgument; /** * @description List reactions made by a user. * @see {@link https://api.slack.com/methods/reactions.list `reactions.list` API reference}. */ list: MethodWithOptionalArgument; /** * @description Removes a reaction from an item. * @see {@link https://api.slack.com/methods/reactions.remove `reactions.remove` API reference}. */ remove: MethodWithRequiredArgument; }; readonly reminders: { /** * @description Creates a reminder. * @see {@link https://api.slack.com/methods/reminders.add `reminders.add` API reference}. */ add: MethodWithRequiredArgument; /** * @description Marks a reminder as complete. * @see {@link https://api.slack.com/methods/reminders.complete `reminders.complete` API reference}. */ complete: MethodWithRequiredArgument; /** * @description Deletes a reminder. * @see {@link https://api.slack.com/methods/reminders.delete `reminders.delete` API reference}. */ delete: MethodWithRequiredArgument; /** * @description Gets information about a reminder. * @see {@link https://api.slack.com/methods/reminders.info `reminders.info` API reference}. */ info: MethodWithRequiredArgument; /** * @description Lists all reminders created by or for a given user. * @see {@link https://api.slack.com/methods/reminders.list `reminders.list` API reference}. */ list: MethodWithOptionalArgument; }; readonly rtm: { /** * @description Starts a Real Time Messaging session. * @see {@link https://api.slack.com/methods/rtm.connect `rtm.connect` API reference}. */ connect: MethodWithOptionalArgument; /** * @description Starts a Real Time Messaging session. * @deprecated Use `rtm.connect` instead. See {@link https://api.slack.com/changelog/2021-10-rtm-start-to-stop our post on retiring `rtm.start`}. * @see {@link https://api.slack.com/methods/rtm.start `rtm.start` API reference}. */ start: MethodWithOptionalArgument; }; readonly search: { /** * @description Searches for messages and files matching a query. * @see {@link https://api.slack.com/methods/search.all search.all` API reference}. */ all: MethodWithRequiredArgument; /** * @description Searches for files matching a query. * @see {@link https://api.slack.com/methods/search.files search.files` API reference}. */ files: MethodWithRequiredArgument; /** * @description Searches for messages matching a query. * @see {@link https://api.slack.com/methods/search.messages search.messages` API reference}. */ messages: MethodWithRequiredArgument; }; readonly team: { /** * @description Gets the access logs for the current team. * @see {@link https://api.slack.com/methods/team.accessLogs `team.accessLogs` API reference}. */ accessLogs: MethodWithOptionalArgument; /** * @description Gets billable users information for the current team. * @see {@link https://api.slack.com/methods/team.billableInfo `team.billableInfo` API reference}. */ billableInfo: MethodWithOptionalArgument; billing: { /** * @description Reads a workspace's billing plan information. * @see {@link https://api.slack.com/methods/team.billing.info `team.billing.info` API reference}. */ info: MethodWithRequiredArgument; }; externalTeams: { /** * @description Disconnect an external organization. * @see {@link https://api.slack.com/methods/team.externalTeams.disconnect `team.externalTeams.disconnect` API reference}. */ disconnect: MethodWithRequiredArgument; /** * @description Returns a list of all the external teams connected and details about the connection. * @see {@link https://api.slack.com/methods/team.externalTeams.list `team.externalTeams.list` API reference}. */ list: MethodWithRequiredArgument; }; /** * @description Gets information about the current team. * @see {@link https://api.slack.com/methods/team.info `team.info` API reference}. */ info: MethodWithOptionalArgument; /** * @description Gets the integration logs for the current team. * @see {@link https://api.slack.com/methods/team.integrationLogs `team.integrationLogs` API reference}. */ integrationLogs: MethodWithOptionalArgument; preferences: { /** * @description Retrieve a list of a workspace's team preferences. * @see {@link https://api.slack.com/methods/team.preferences.list `team.preferences.list` API reference}. */ list: MethodWithOptionalArgument; }; profile: { /** * @description Retrieve a team's profile. * @see {@link https://api.slack.com/methods/team.profile.get `team.profile.get` API reference}. */ get: MethodWithOptionalArgument; }; }; readonly tooling: { tokens: { /** * @description Exchanges a refresh token for a new app configuration token. * @see {@link https://api.slack.com/methods/tooling.tokens.rotate `tooling.tokens.rotate` API reference}. */ rotate: MethodWithRequiredArgument; }; }; readonly usergroups: { /** * @description Create a User Group. * @see {@link https://api.slack.com/methods/usergroups.create `usergroups.create` API reference}. */ create: MethodWithRequiredArgument; /** * @description Disable an existing User Group. * @see {@link https://api.slack.com/methods/usergroups.disable `usergroups.disable` API reference}. */ disable: MethodWithRequiredArgument; /** * @description Enable an existing User Group. * @see {@link https://api.slack.com/methods/usergroups.enable `usergroups.enable` API reference}. */ enable: MethodWithRequiredArgument; /** * @description List all User Groups for a team. * @see {@link https://api.slack.com/methods/usergroups.list `usergroups.list` API reference}. */ list: MethodWithOptionalArgument; /** * @description Update an existing User Group. * @see {@link https://api.slack.com/methods/usergroups.update `usergroups.update` API reference}. */ update: MethodWithRequiredArgument; users: { /** * @description List all users in a User Group. * @see {@link https://api.slack.com/methods/usergroups.users.list `usergroups.users.list` API reference}. */ list: MethodWithRequiredArgument; /** * @description Update the list of users in a User Group. * @see {@link https://api.slack.com/methods/usergroups.users.update `usergroups.users.update` API reference}. */ update: MethodWithRequiredArgument; }; }; readonly users: { /** * @description List conversations the calling user may access. * @see {@link https://api.slack.com/methods/users.conversations `users.conversations` API reference}. */ conversations: MethodWithRequiredArgument; /** * @description Delete the user profile photo. * @see {@link https://api.slack.com/methods/users.deletePhoto `users.deletePhoto` API reference}. */ deletePhoto: MethodWithRequiredArgument; discoverableContacts: { /** * @description Lookup an email address to see if someone is on Slack. * @see {@link https://api.slack.com/methods/users.discoverableContacts.lookup `users.discoverableContacts.lookup` API reference}. */ lookup: MethodWithRequiredArgument; }; /** * @description Gets user presence information. * @see {@link https://api.slack.com/methods/users.getPresence `users.getPresence` API reference}. */ getPresence: MethodWithRequiredArgument; /** * @description Get a user's identity. * @see {@link https://api.slack.com/methods/users.identity `users.identity` API reference}. */ identity: MethodWithRequiredArgument; /** * @description Gets information about a user. * @see {@link https://api.slack.com/methods/users.info `users.info` API reference}. */ info: MethodWithRequiredArgument; /** * @description Lists all users in a Slack team. * @see {@link https://api.slack.com/methods/users.list `users.list` API reference}. */ list: MethodWithRequiredArgument; /** * @description Find a user with an email address. * @see {@link https://api.slack.com/methods/users.lookupByEmail `users.lookupByEmail` API reference}. */ lookupByEmail: MethodWithRequiredArgument; /** * @description Set the user profile photo. * @see {@link https://api.slack.com/methods/users.setPhoto `users.setPhoto` API reference}. */ setPhoto: MethodWithRequiredArgument; /** * @description Manually sets user presence. * @see {@link https://api.slack.com/methods/users.setPresence `users.setPresence` API reference}. */ setPresence: MethodWithRequiredArgument; profile: { /** * @description Retrieve a user's profile information, including their custom status. * @see {@link https://api.slack.com/methods/users.profile.get `users.profile.get` API reference}. */ get: MethodWithRequiredArgument; /** * @description Set a user's profile information, including custom status. * @see {@link https://api.slack.com/methods/users.profile.set `users.profile.set` API reference}. */ set: MethodWithRequiredArgument; }; }; readonly views: { /** * @description Open a view for a user. * @see {@link https://api.slack.com/methods/views.open `views.open` API reference}. */ open: MethodWithRequiredArgument; /** * @description Publish a static view for a user. * @see {@link https://api.slack.com/methods/views.publish `views.publish` API reference}. */ publish: MethodWithRequiredArgument; /** * @description Push a view onto the stack of a root view. * @see {@link https://api.slack.com/methods/views.push `views.push` API reference}. */ push: MethodWithRequiredArgument; /** * @description Update an existing view. * @see {@link https://api.slack.com/methods/views.update `views.update` API reference}. */ update: MethodWithRequiredArgument; }; readonly stars: { /** * @description Save an item for later. Formerly known as adding a star. * @deprecated Stars can still be added but they can no longer be viewed or interacted with by end-users. * See {@link https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}. * @see {@link https://api.slack.com/methods/stars.add `stars.add` API reference}. */ add: MethodWithRequiredArgument; /** * @description List a user's saved items, formerly known as stars. * @deprecated Stars can still be listed but they can no longer be viewed or interacted with by end-users. * See {@link https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}. * @see {@link https://api.slack.com/methods/stars.list `stars.list` API reference}. */ list: MethodWithRequiredArgument; /** * @description Remove a saved item from a user's saved items, formerly known as stars. * @deprecated Stars can still be removed but they can no longer be viewed or interacted with by end-users. * See {@link https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}. * @see {@link https://api.slack.com/methods/stars.remove `stars.remove` API reference}. */ remove: MethodWithRequiredArgument; }; readonly workflows: { /** * @description Indicate that an app's step in a workflow completed execution. * @deprecated Steps from Apps is deprecated. * We're retiring all Slack app functionality around Steps from Apps in September 2024. * See {@link https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}. * @see {@link https://api.slack.com/methods/workflows.stepCompleted `workflows.stepCompleted` API reference}. */ stepCompleted: MethodWithRequiredArgument; /** * @description Indicate that an app's step in a workflow failed to execute. * @deprecated Steps from Apps is deprecated. * We're retiring all Slack app functionality around Steps from Apps in September 2024. * See {@link https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}. * @see {@link https://api.slack.com/methods/workflows.stepFailed `workflows.stepFailed` API reference}. */ stepFailed: MethodWithRequiredArgument; /** * @description Update the configuration for a workflow step. * @deprecated Steps from Apps is deprecated. * We're retiring all Slack app functionality around Steps from Apps in September 2024. * See {@link https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}. * @see {@link https://api.slack.com/methods/workflows.updateStep `workflows.updateStep` API reference}. */ updateStep: MethodWithRequiredArgument; }; } export * from '@slack/types'; //# sourceMappingURL=methods.d.ts.map