/*! * Copyright Adaptavist 2022 (c) All rights reserved */ import { AdminSetRegularUserRequest, AdminSetRegularUserResponseOK } from "./types/admin/users"; import { AdminSetOwnerUserRequest, AdminSetOwnerUserResponseOK } from "./types/admin/users"; import { AdminSetUserExpirationRequest, AdminSetUserExpirationResponseOK } from "./types/admin/users"; import { AdminSetAdminUserRequest, AdminSetAdminUserResponseOK } from "./types/admin/users"; import { AdminRemoveUserRequest, AdminRemoveUserResponseOK } from "./types/admin/users"; import { AdminGetUsersRequest, AdminGetUsersResponseOK } from "./types/admin/users"; import { AdminInviteUserResponseOK, AdminInviteUserRequest } from "./types/admin/users"; import { AdminAssignUserResponseOK, AdminAssignUserRequest } from "./types/admin/users"; import { UpdateViewRequest, UpdateViewResponseOK } from "./types/view"; import { PushViewRequest, PushViewResponseOK } from "./types/view"; import { PublishViewRequest, PublishViewResponseOK } from "./types/view"; import { OpenViewRequest, OpenViewResponseOK } from "./types/view"; import { SetUserProfileRequest, SetUserProfileResponseOK } from "./types/user/profile"; import { GetUserProfileRequest, GetUserProfileResponseOK } from "./types/user/profile"; import { GetUserByEmailRequest, GetUserByEmailResponseOK } from "./types/user"; import { GetUsersRequest, GetUsersResponseOK } from "./types/user"; import { GetUserInfoRequest, GetUserInfoResponseOK } from "./types/user"; import { GetUserIdentityRequest, GetUserIdentityResponseOK } from "./types/user"; import { GetUserConversationsRequest, GetUserConversationsResponseOK } from "./types/user"; import { GetUserPresenceRequest, GetUserPresenceResponseOK } from "./types/user"; import { SetUserPresenceRequest, SetUserPresenceResponseOK } from "./types/user"; import { GetRemindersRequest, GetRemindersResponseOK } from "./types/reminders"; import { GetReminderInfoRequest, GetReminderInfoResponseOK } from "./types/reminders"; import { DeleteReminderRequest, DeleteReminderResponseOK } from "./types/reminders"; import { CompleteReminderRequest, CompleteReminderResponseOK } from "./types/reminders"; import { AddReminderRequest, AddReminderResponseOK } from "./types/reminders"; import { RemovePinRequest, RemovePinResponseOK } from "./types/pins"; import { GetPinsRequest, GetPinsResponseOK } from "./types/pins"; import { AddPinRequest, AddPinResponseOK } from "./types/pins"; import { GetBotInfoRequest, GetBotInfoResponseOK } from "./types/bot"; import { DeleteChatMessageRequest, DeleteChatMessageResponseOK } from "./types/chat"; import { DeleteChatScheduledMessageRequest, DeleteChatScheduledMessageResponseOK } from "./types/chat"; import { GetChatPermalinkRequest, GetChatPermalinkResponseOK } from "./types/chat"; import { PostChatMeMessageRequest, PostChatMeMessageResponseOK } from "./types/chat"; import { PostChatEphemeralMessageRequest, PostChatEphemeralMessageResponseOK } from "./types/chat"; import { PostChatMessageRequest, PostChatMessageResponseOK } from "./types/chat"; import { ScheduleChatMessageRequest, ScheduleChatMessageResponseOK } from "./types/chat"; import { GetChatScheduledMessagesRequest, GetChatScheduledMessagesResponseOK } from "./types/chat"; import { UnfurlChatMessageRequest, UnfurlChatMessageResponseOK } from "./types/chat"; import { UpdateChatMessageRequest, UpdateChatMessageResponseOK } from "./types/chat"; import { ArchiveConversationRequest, ArchiveConversationResponseOK } from "./types/conversation"; import { CloseConversationRequest, CloseConversationResponseOK } from "./types/conversation"; import { CreateConversationRequest, CreateConversationResponseOK } from "./types/conversation"; import { GetConversationHistoryRequest, GetConversationHistoryResponseOK } from "./types/conversation"; import { GetConversationInfoRequest, GetConversationInfoResponseOK } from "./types/conversation"; import { InviteUserToConversationRequest, InviteUserToConversationResponseOK } from "./types/conversation"; import { JoinConversationRequest, JoinConversationResponseOK } from "./types/conversation"; import { KickUserFromConversationRequest, KickUserFromConversationResponseOK } from "./types/conversation"; import { LeaveConversationRequest, LeaveConversationResponseOK } from "./types/conversation"; import { GetConversationsRequest, GetConversationsResponseOK } from "./types/conversation"; import { GetConversationMembersRequest, GetConversationMembersResponseOK } from "./types/conversation"; import { OpenConversationRequest, OpenConversationResponseOK } from "./types/conversation"; import { RenameConversationRequest, RenameConversationResponseOK } from "./types/conversation"; import { GetConversationRepliesRequest, GetConversationRepliesResponseOK } from "./types/conversation"; import { SetConversationPurposeRequest, SetConversationPurposeResponseOK } from "./types/conversation"; import { SetConversationTopicRequest, SetConversationTopicResponseOK } from "./types/conversation"; import { UnarchiveConversationRequest, UnarchiveConversationResponseOK } from "./types/conversation"; import { OpenDialogRequest, OpenDialogResponseOK } from "./types/dialog"; import { EndDndRequest, EndDndResponseOK } from "./types/dnd"; import { EndDndSnoozeRequest, EndDndSnoozeResponseOK } from "./types/dnd"; import { GetDndInfoRequest, GetDndInfoResponseOK } from "./types/dnd"; import { SetDndSnoozeRequest, SetDndSnoozeResponseOK } from "./types/dnd"; import { GetDndTeamInfoRequest, GetDndTeamInfoResponseOK } from "./types/dnd"; import { GetEmojisRequest, GetEmojisResponseOK } from "./types/emoji"; import { DeleteFileCommentRequest, DeleteFileCommentResponseOK } from "./types/file/comment"; import { RevokeFilePublicUrlRequest, RevokeFilePublicUrlResponseOK } from "./types/file/publicUrl"; import { CreateFilePublicUrlRequest, CreateFilePublicUrlResponseOK } from "./types/file/publicUrl"; import { AddRemoteFileRequest, AddRemoteFileResponseOK } from "./types/file/remote"; import { GetRemoteFileInfoRequest, GetRemoteFileInfoResponseOK } from "./types/file/remote"; import { GetRemoteFilesRequest, GetRemoteFilesResponseOK } from "./types/file/remote"; import { RemoveRemoteFileRequest, RemoveRemoteFileResponseOK } from "./types/file/remote"; import { ShareRemoteFileRequest, ShareRemoteFileResponseOK } from "./types/file/remote"; import { UpdateRemoteFileRequest, UpdateRemoteFileResponseOK } from "./types/file/remote"; import { DeleteFileRequest, DeleteFileResponseOK } from "./types/file"; import { GetFileInfoRequest, GetFileInfoResponseOK } from "./types/file"; import { GetFilesRequest, GetFilesResponseOK } from "./types/file"; import { UploadFileRequest, UploadFileResponseOK } from "./types/file"; import { AddReactionRequest, AddReactionResponseOK } from "./types/reaction"; import { GetReactionRequest, GetReactionResponseOK } from "./types/reaction"; import { GetReactionsRequest, GetReactionsResponseOK } from "./types/reaction"; import { RemoveReactionRequest, RemoveReactionResponseOK } from "./types/reaction"; import { SearchMessagesRequest, SearchMessagesResponseOK } from "./types/search"; import { GetTeamProfileRequest, GetTeamProfileResponseOK } from "./types/team/profile"; import { GetTeamAccessLogsRequest, GetTeamAccessLogsResponseOK } from "./types/team"; import { GetTeamBillableInfoRequest, GetTeamBillableInfoResponseOK } from "./types/team"; import { GetTeamInfoRequest, GetTeamInfoResponseOK } from "./types/team"; import { GetTeamIntegrationLogsRequest, GetTeamIntegrationLogsResponseOK } from "./types/team"; import { GetUsersInUserGroupRequest, GetUsersInUserGroupResponseOK } from "./types/userGroup/user"; import { UpdateUsersInUserGroupRequest, UpdateUsersInUserGroupResponseOK } from "./types/userGroup/user"; import { CreateUserGroupRequest, CreateUserGroupResponseOK } from "./types/userGroup"; import { DisableUserGroupRequest, DisableUserGroupResponseOK } from "./types/userGroup"; import { EnableUserGroupRequest, EnableUserGroupResponseOK } from "./types/userGroup"; import { GetUserGroupsRequest, GetUserGroupsResponseOK } from "./types/userGroup"; import { UpdateUserGroupRequest, UpdateUserGroupResponseOK } from "./types/userGroup"; import { PostReplyMessageRequest, PostReplyMessageResponseOK } from "./types/reply"; import { BaseApiCore, Headers, Response, ErrorStrategyOptionType, PlatformImplementation } from "@managed-api/commons-core"; import { CommonError, AdditionalErrorTypes, ErrorStrategyHandlers, ErrorStrategyOption } from "./errorStrategy"; import { ErrorStrategyBuilder } from "./builders/errorStrategy"; export interface SlackApiCoreOptions extends ErrorStrategyOption { } declare type GetGlobalErrorStrategy = () => ErrorStrategyOptionType | undefined; export declare abstract class SlackApiCore extends BaseApiCore { private options?; Admin: AdminGroup; View: ViewGroup; User: UserGroup; Reminders: RemindersGroup; Pins: PinsGroup; Bot: BotGroup; Chat: ChatGroup; Conversation: ConversationGroup; Dialog: DialogGroup; Dnd: DndGroup; Emoji: EmojiGroup; File: FileGroup; Reaction: ReactionGroup; Search: SearchGroup; Team: TeamGroup; UserGroup: UserGroupGroup; Reply: ReplyGroup; All: AllGroup; AllUser: AllUserGroup; AllBot: AllBotGroup; constructor(options?: SlackApiCoreOptions | undefined); setGlobalErrorStrategy(errorStrategy: ErrorStrategyOptionType): void; protected buildResponse(url: string, status: number, statusText: string, headers: Headers, body?: string | ArrayBuffer): Response; private getGlobalErrorStrategy; } declare class AllGroup { private Admin; private View; private User; private Reminders; private Pins; private Bot; private Chat; private Conversation; private Dialog; private Dnd; private Emoji; private File; private Reaction; private Search; private Team; private UserGroup; private Reply; constructor(Admin: AdminGroup, View: ViewGroup, User: UserGroup, Reminders: RemindersGroup, Pins: PinsGroup, Bot: BotGroup, Chat: ChatGroup, Conversation: ConversationGroup, Dialog: DialogGroup, Dnd: DndGroup, Emoji: EmojiGroup, File: FileGroup, Reaction: ReactionGroup, Search: SearchGroup, Team: TeamGroup, UserGroup: UserGroupGroup, Reply: ReplyGroup); /** * Set an existing guest user, admin user, or owner to be a regular user. * Alternative usage: Admin.Users.setRegular * Documentation: https://api.slack.com/methods/admin.users.setRegular * @param options Request options. */ adminSetRegularUser(options: AdminSetRegularUserRequest): Promise; /** * Set an existing guest, regular user, or admin user to be a workspace owner. * Alternative usage: Admin.Users.setOwner * Documentation: https://api.slack.com/methods/admin.users.setOwner * @param options Request options. */ adminSetOwnerUser(options: AdminSetOwnerUserRequest): Promise; /** * Set an expiration for a guest user * Alternative usage: Admin.Users.setExpiration * Documentation: https://api.slack.com/methods/admin.users.setExpiration * @param options Request options. */ adminSetUserExpiration(options: AdminSetUserExpirationRequest): Promise; /** * Set an existing guest, regular user, or owner to be an admin user. * Alternative usage: Admin.Users.setAdmin * Documentation: https://api.slack.com/methods/admin.users.setAdmin * @param options Request options. */ adminSetAdminUser(options: AdminSetAdminUserRequest): Promise; /** * Remove a user from a workspace. * Alternative usage: Admin.Users.removeUser * Documentation: https://api.slack.com/methods/admin.users.remove * @param options Request options. */ adminRemoveUser(options: AdminRemoveUserRequest): Promise; /** * List users on a workspace * Alternative usage: Admin.Users.getUsers * Documentation: https://api.slack.com/methods/admin.users.list * @param options Request options. */ adminGetUsers(options: AdminGetUsersRequest): Promise; /** * Invite a user to a workspace. * Recommended usage: Admin.Users.inviteUser * Documentation: https://api.slack.com/methods/admin.users.invite * @param options Request options. */ adminInviteUser(options: AdminInviteUserRequest): Promise; /** * Add an Enterprise user to a workspace. * Recommended usage: Admin.Users.assignUser * Documentation: https://api.slack.com/methods/admin.users.assign * @param options Request options. */ adminAssignUser(options: AdminAssignUserRequest): Promise; /** * Update an existing view. * Alternative usage: View.updateView * Documentation: https://api.slack.com/methods/views.update * @param options Request options. */ updateView(options: UpdateViewRequest): Promise; /** * Push a view onto the stack of a root view. * Alternative usage: View.pushView * Documentation: https://api.slack.com/methods/views.push * @param options Request options. */ pushView(options: PushViewRequest): Promise; /** * Publish a static view for a User. * Alternative usage: View.publishView * Documentation: https://api.slack.com/methods/views.publish * @param options Request options. */ publishView(options: PublishViewRequest): Promise; /** * Open a view for a user. * Alternative usage: View.openView * Documentation: https://api.slack.com/methods/views.open * @param options Request options. */ openView(options: OpenViewRequest): Promise; /** * Find a user with an email address. * Alternative usage: User.getUserByEmail * Documentation: https://api.slack.com/methods/users.lookupByEmail * @param options Request options. */ getUserByEmail(options: GetUserByEmailRequest): Promise; /** * Lists all users in a Slack team. * Alternative usage: User.getUsers * Documentation: https://api.slack.com/methods/users.list * @param options Request options. */ getUsers(options?: GetUsersRequest): Promise; /** * Gets information about a user. * Alternative usage: User.getInfo * Documentation: https://api.slack.com/methods/users.info * @param options Request options. */ getUserInfo(options: GetUserInfoRequest): Promise; /** * Get a user's identity. * Alternative usage: User.getIdentity * Documentation: https://api.slack.com/methods/users.identity * @param options Request options. */ getUserIdentity(options?: GetUserIdentityRequest): Promise; /** * List conversations the calling user may access. * Alternative usage: User.getConversations * Documentation: https://api.slack.com/methods/users.conversations * @param options Request options. */ getUserConversations(options?: GetUserConversationsRequest): Promise; /** * Gets user presence information. * Alternative usage: User.getPresence * Documentation: https://api.slack.com/methods/users.getPresence * @param options Request options. */ getUserPresence(options?: GetUserPresenceRequest): Promise; /** * Manually sets user presence. * Alternative usage: User.setPresence * Documentation: https://api.slack.com/methods/users.setPresence * @param options Request options. */ setUserPresence(options: SetUserPresenceRequest): Promise; /** * Set the profile information for a user. * Alternative usage: User.Profile.setProfile * Documentation: https://api.slack.com/methods/users.profile.set * @param options Request options. */ setUserProfile(options: SetUserProfileRequest): Promise; /** * Retrieves a user's profile information. * Alternative usage: User.Profile.getProfile * Documentation: https://api.slack.com/methods/users.profile.get * @param options Request options. */ getUserProfile(options?: GetUserProfileRequest): Promise; /** * Lists all reminders created by or for a given user. * Alternative usage: Reminders.getReminders * Documentation: https://api.slack.com/methods/reminders.list * @param options Request options. */ getReminders(options?: GetRemindersRequest): Promise; /** * Gets information about a reminder. * Alternative usage: Reminders.getInfo * Documentation: https://api.slack.com/methods/reminders.info * @param options Request options. */ getReminderInfo(options: GetReminderInfoRequest): Promise; /** * Deletes a reminder. * Alternative usage: Reminders.deleteReminder * Documentation: https://api.slack.com/methods/reminders.delete * @param options Request options. */ deleteReminder(options: DeleteReminderRequest): Promise; /** * Marks a reminder as complete. * Alternative usage: Reminders.completeReminder * Documentation: https://api.slack.com/methods/reminders.complete * @param options Request options. */ completeReminder(options: CompleteReminderRequest): Promise; /** * Creates a reminder. * Alternative usage: Reminders.addReminder * Documentation: https://api.slack.com/methods/reminders.add * @param options Request options. */ addReminder(options: AddReminderRequest): Promise; /** * Un-pins an item from a channel. * Alternative usage: Pins.removePin * Documentation: https://api.slack.com/methods/pins.remove * @param options Request options. */ removePin(options: RemovePinRequest): Promise; /** * Lists items pinned to a channel. * Alternative usage: Pins.getPins * Documentation: https://api.slack.com/methods/pins.list * @param options Request options. */ getPins(options: GetPinsRequest): Promise; /** * Pins an item to a channel. * Alternative usage: Pins.addPin * Documentation: https://api.slack.com/methods/pins.add * @param options Request options. */ addPin(options: AddPinRequest): Promise; /** * Gets information about a bot user. * Alternative usage: Bot.getInfo * Documentation: https://api.slack.com/methods/bots.info * @param options Request options. */ getBotInfo(options?: GetBotInfoRequest): Promise; /** * Deletes a message. * Alternative usage: Chat.deleteMessage * Documentation: https://api.slack.com/methods/chat.delete * @param options Request options. */ deleteChatMessage(options: DeleteChatMessageRequest): Promise; /** * Deletes a pending scheduled message from the queue. * Alternative usage: Chat.deleteScheduledMessage * Documentation: https://api.slack.com/methods/chat.deleteScheduledMessage * @param options Request options. */ deleteChatScheduledMessage(options: DeleteChatScheduledMessageRequest): Promise; /** * Retrieve a permalink URL for a specific extant message * Alternative usage: Chat.getPermalink * Documentation: https://api.slack.com/methods/chat.getPermalink * @param options Request options. */ getChatPermalink(options: GetChatPermalinkRequest): Promise; /** * Share a me message into a channel. * Alternative usage: Chat.postMeMessage * Documentation: https://api.slack.com/methods/chat.meMessage * @param options Request options. */ postChatMeMessage(options: PostChatMeMessageRequest): Promise; /** * Sends an ephemeral message to a user in a channel. * Alternative usage: Chat.postEphemeralMessage * Documentation: https://api.slack.com/methods/chat.postEphemeral * @param options Request options. */ postChatEphemeralMessage(options: PostChatEphemeralMessageRequest): Promise; /** * Sends a message to a channel. * Alternative usage: Chat.postMessage * Documentation: https://api.slack.com/methods/chat.postMessage * @param options Request options. */ postChatMessage(options: PostChatMessageRequest): Promise; /** * Schedules a message to be sent to a channel. * Alternative usage: Chat.scheduleMessage * Documentation: https://api.slack.com/methods/chat.scheduleMessage * @param options Request options. */ scheduleChatMessage(options: ScheduleChatMessageRequest): Promise; /** * Returns a list of scheduled messages. * Alternative usage: Chat.getScheduledMessages * Documentation: https://api.slack.com/methods/chat.scheduledMessages.list * @param options Request options. */ getChatScheduledMessages(options?: GetChatScheduledMessagesRequest): Promise; /** * Provide custom unfurl behavior for user-posted URLs * Alternative usage: Chat.unfurlMessage * Documentation: https://api.slack.com/methods/chat.unfurl * @param options Request options. */ unfurlChatMessage(options: UnfurlChatMessageRequest): Promise; /** * Updates a message. * Alternative usage: Chat.updateMessage * Documentation: https://api.slack.com/methods/chat.update * @param options Request options. */ updateChatMessage(options: UpdateChatMessageRequest): Promise; /** * Archives a conversation. * Alternative usage: Conversation.archiveConversation * Documentation: https://api.slack.com/methods/conversations.archive * @param options Request options. */ archiveConversation(options: ArchiveConversationRequest): Promise; /** * Closes a direct message or multi-person direct message. * Alternative usage: Conversation.closeConversation * Documentation: https://api.slack.com/methods/conversations.close * @param options Request options. */ closeConversation(options: CloseConversationRequest): Promise; /** * Initiates a public or private channel-based conversation * Alternative usage: Conversation.createConversation * Documentation: https://api.slack.com/methods/conversations.create * @param options Request options. */ createConversation(options: CreateConversationRequest): Promise; /** * Fetches a conversation's history of messages and events. * Alternative usage: Conversation.getHistory * Documentation: https://api.slack.com/methods/conversations.history * @param options Request options. */ getConversationHistory(options?: GetConversationHistoryRequest): Promise; /** * Retrieve information about a conversation. * Alternative usage: Conversation.getInfo * Documentation: https://api.slack.com/methods/conversations.info * @param options Request options. */ getConversationInfo(options: GetConversationInfoRequest): Promise; /** * Invites users to a channel. * Alternative usage: Conversation.inviteUser * Documentation: https://api.slack.com/methods/conversations.invite * @param options Request options. */ inviteUserToConversation(options: InviteUserToConversationRequest): Promise; /** * Joins an existing conversation. * Alternative usage: Conversation.joinConversation * Documentation: https://api.slack.com/methods/conversations.join * @param options Request options. */ joinConversation(options: JoinConversationRequest): Promise; /** * Removes a user from a conversation. * Alternative usage: Conversation.kickUser * Documentation: https://api.slack.com/methods/conversations.kick * @param options Request options. */ kickUserFromConversation(options: KickUserFromConversationRequest): Promise; /** * Leaves a conversation. * Alternative usage: Conversation.leaveConversation * Documentation: https://api.slack.com/methods/conversations.leave * @param options Request options. */ leaveConversation(options: LeaveConversationRequest): Promise; /** * Lists all channels in a Slack team. * Recommended usage: Conversation.getConversations * Documentation: https://api.slack.com/methods/conversations.list * @param options Request options. */ getConversations(options?: GetConversationsRequest): Promise; /** * Retrieve members of a conversation. * Alternative usage: Conversation.getMembers * Documentation: https://api.slack.com/methods/conversations.members * @param options Request options. */ getConversationMembers(options: GetConversationMembersRequest): Promise; /** * Opens or resumes a direct message or multi-person direct message. * Alternative usage: Conversation.openConversation * Documentation: https://api.slack.com/methods/conversations.open * @param options Request options. */ openConversation(options: OpenConversationRequest): Promise; /** * Renames a conversation. * Alternative usage: Conversation.renameConversation * Documentation: https://api.slack.com/methods/conversations.rename * @param options Request options. */ renameConversation(options: RenameConversationRequest): Promise; /** * Retrieve a thread of messages posted to a conversation * Alternative usage: Conversation.getReplies * Documentation: https://api.slack.com/methods/conversations.replies * @param options Request options. */ getConversationReplies(options?: GetConversationRepliesRequest): Promise; /** * Sets the purpose for a conversation. * Alternative usage: Conversation.setPurpose * Documentation: https://api.slack.com/methods/conversations.setPurpose * @param options Request options. */ setConversationPurpose(options: SetConversationPurposeRequest): Promise; /** * Sets the topic for a conversation. * Alternative usage: Conversation.setTopic * Documentation: https://api.slack.com/methods/conversations.setTopic * @param options Request options. */ setConversationTopic(options: SetConversationTopicRequest): Promise; /** * Reverses conversation archival. * Alternative usage: Conversation.unarchiveConversation * Documentation: https://api.slack.com/methods/conversations.unarchive * @param options Request options. */ unarchiveConversation(options: UnarchiveConversationRequest): Promise; /** * Open a dialog with a user * Alternative usage: Dialog.openDialog * Documentation: https://api.slack.com/methods/dialog.open * @param options Request options. */ openDialog(options: OpenDialogRequest): Promise; /** * Ends the current user's Do Not Disturb session immediately. * Alternative usage: Dnd.endDnd * Documentation: https://api.slack.com/methods/dnd.endDnd * @param options Request options. */ endDnd(options?: EndDndRequest): Promise; /** * Ends the current user's snooze mode immediately. * Alternative usage: Dnd.endSnooze * Documentation: https://api.slack.com/methods/dnd.endSnooze * @param options Request options. */ endDndSnooze(options?: EndDndSnoozeRequest): Promise; /** * Retrieves a user's current Do Not Disturb status. * Alternative usage: Dnd.getInfo * Documentation: https://api.slack.com/methods/dnd.info * @param options Request options. */ getDndInfo(options?: GetDndInfoRequest): Promise; /** * Turns on Do Not Disturb mode for the current user, or changes its duration. * Alternative usage: Dnd.setSnooze * Documentation: https://api.slack.com/methods/dnd.setSnooze * @param options Request options. */ setDndSnooze(options: SetDndSnoozeRequest): Promise; /** * Retrieves the Do Not Disturb status for up to 50 users on a team. * Alternative usage: Dnd.getTeamInfo * Documentation: https://api.slack.com/methods/dnd.teamInfo * @param options Request options. */ getDndTeamInfo(options: GetDndTeamInfoRequest): Promise; /** * Lists custom emoji for a team. * Alternative usage: Emoji.getEmojis * Documentation: https://api.slack.com/methods/emoji.list * @param options Request options. */ getEmojis(options?: GetEmojisRequest): Promise; /** * Deletes a file. * Alternative usage: File.deleteFile * Documentation: https://api.slack.com/methods/files.delete * @param options Request options. */ deleteFile(options: DeleteFileRequest): Promise; /** * Gets information about a file. * Alternative usage: File.getInfo * Documentation: https://api.slack.com/methods/files.info * @param options Request options. */ getFileInfo(options?: GetFileInfoRequest): Promise; /** * List for a team, in a channel, or from a user with applied filters. * Alternative usage: File.getFiles * Documentation: https://api.slack.com/methods/files.list * @param options Request options. */ getFiles(options?: GetFilesRequest): Promise; /** * Uploads or creates a file. * Recommended usage: File.uploadFile * Documentation: https://api.slack.com/methods/files.upload * @param options Request options. */ uploadFile(options: UploadFileRequest): Promise; /** * Deletes an existing comment on a file. * Alternative usage: File.Comment.deleteComment * Documentation: https://api.slack.com/methods/files.comments.delete * @param options Request options. */ deleteFileComment(options: DeleteFileCommentRequest): Promise; /** * Revokes public/external sharing access for a file * Alternative usage: File.PublicUrl.revokePublicUrl * Documentation: https://api.slack.com/methods/files.revokePublicURL * @param options Request options. */ revokeFilePublicUrl(options: RevokeFilePublicUrlRequest): Promise; /** * Enables a file for public/external sharing. * Alternative usage: File.PublicUrl.createPublicUrl * Documentation: https://api.slack.com/methods/files.sharedPublicURL * @param options Request options. */ createFilePublicUrl(options: CreateFilePublicUrlRequest): Promise; /** * Adds a file from a remote service * Alternative usage: File.Remote.addFile * Documentation: https://api.slack.com/methods/files.remote.add * @param options Request options. */ addRemoteFile(options: AddRemoteFileRequest): Promise; /** * Retrieve information about a remote file added to Slack * Alternative usage: File.Remote.getInfo * Documentation: https://api.slack.com/methods/files.remote.info * @param options Request options. */ getRemoteFileInfo(options?: GetRemoteFileInfoRequest): Promise; /** * Retrieve information about a remote file added to Slack * Alternative usage: File.Remote.getFiles * Documentation: https://api.slack.com/methods/files.remote.list * @param options Request options. */ getRemoteFiles(options?: GetRemoteFilesRequest): Promise; /** * Remove a remote file. * Alternative usage: File.Remote.removeFile * Documentation: https://api.slack.com/methods/files.remote.remove * @param options Request options. */ removeRemoteFile(options?: RemoveRemoteFileRequest): Promise; /** * Share a remote file into a channel. * Alternative usage: File.Remote.shareFile * Documentation: https://api.slack.com/methods/files.remote.share * @param options Request options. */ shareRemoteFile(options?: ShareRemoteFileRequest): Promise; /** * Updates an existing remote file. * Alternative usage: File.Remote.updateFile * Documentation: https://api.slack.com/methods/files.remote.update * @param options Request options. */ updateRemoteFile(options?: UpdateRemoteFileRequest): Promise; /** * Adds a reaction to an item. * Alternative usage: Reaction.addReaction * Documentation: https://api.slack.com/methods/reactions.add * @param options Request options. */ addReaction(options: AddReactionRequest): Promise; /** * Gets reactions for an item. * Alternative usage: Reaction.getReaction * Documentation: https://api.slack.com/methods/reactions.get * @param options Request options. */ getReaction(options?: GetReactionRequest): Promise; /** * Lists reactions made by a user. * Alternative usage: Reaction.getReactions * Documentation: https://api.slack.com/methods/reactions.list * @param options Request options. */ getReactions(options?: GetReactionsRequest): Promise; /** * Removes a reaction from an item. * Alternative usage: Reaction.removeReaction * Documentation: https://api.slack.com/methods/reactions.remove * @param options Request options. */ removeReaction(options: RemoveReactionRequest): Promise; /** * Searches for messages matching a query. * Alternative usage: Search.searchMessages * Documentation: https://api.slack.com/methods/search.messages * @param options Request options. */ searchMessages(options: SearchMessagesRequest): Promise; /** * Gets the access logs for the current team. * Alternative usage: Team.getAccessLogs * Documentation: https://api.slack.com/methods/team.accessLogs * @param options Request options. */ getTeamAccessLogs(options?: GetTeamAccessLogsRequest): Promise; /** * Gets billable users information for the current team. * Alternative usage: Team.getBillableInfo * Documentation: https://api.slack.com/methods/team.billableInfo * @param options Request options. */ getTeamBillableInfo(options?: GetTeamBillableInfoRequest): Promise; /** * Gets information about the current team. * Alternative usage: Team.getInfo * Documentation: https://api.slack.com/methods/team.info * @param options Request options. */ getTeamInfo(options?: GetTeamInfoRequest): Promise; /** * Gets the integration logs for the current team. * Alternative usage: Team.getIntegrationLogs * Documentation: https://api.slack.com/methods/team.integrationLogs * @param options Request options. */ getTeamIntegrationLogs(options?: GetTeamIntegrationLogsRequest): Promise; /** * Retrieve a team's profile. * Alternative usage: Team.Profile.getProfile * Documentation: https://api.slack.com/methods/team.profile.get * @param options Request options. */ getTeamProfile(options?: GetTeamProfileRequest): Promise; /** * Create a User Group * Alternative usage: UserGroup.createUserGroup * Documentation: https://api.slack.com/methods/usergroups.create * @param options Request options. */ createUserGroup(options: CreateUserGroupRequest): Promise; /** * Disable an existing User Group * Alternative usage: UserGroup.disableUserGroup * Documentation: https://api.slack.com/methods/usergroups.disable * @param options Request options. */ disableUserGroup(options: DisableUserGroupRequest): Promise; /** * Enable a User Group * Alternative usage: UserGroup.enableUserGroup * Documentation: https://api.slack.com/methods/usergroups.enable * @param options Request options. */ enableUserGroup(options: EnableUserGroupRequest): Promise; /** * List all User Groups for a team * Alternative usage: UserGroup.getUserGroups * Documentation: https://api.slack.com/methods/usergroups.list * @param options Request options. */ getUserGroups(options?: GetUserGroupsRequest): Promise; /** * Update an existing User Group * Alternative usage: UserGroup.updateUserGroup * Documentation: https://api.slack.com/methods/usergroups.update * @param options Request options. */ updateUserGroup(options: UpdateUserGroupRequest): Promise; /** * List all users in a User Group * Alternative usage: UserGroup.User.getUsers * Documentation: https://api.slack.com/methods/usergroups.users.list * @param options Request options. */ getUsersInUserGroup(options: GetUsersInUserGroupRequest): Promise; /** * Update the list of users for a User Group * Alternative usage: UserGroup.User.updateUsers * Documentation: https://api.slack.com/methods/usergroups.users.update * @param options Request options. */ updateUsersInUserGroup(options: UpdateUsersInUserGroupRequest): Promise; /** * Send message back to Slack using the response_url in the event payload. * Recommended usage: Reply.postMessage * Documentation: https://api.slack.com/interactivity/handling#message_responses * @param options Request options. */ postReplyMessage(options: PostReplyMessageRequest): Promise; } declare class AllUserGroup { private Admin; private View; private User; private Reminders; private Pins; private Bot; private Chat; private Conversation; private Dialog; private Dnd; private Emoji; private File; private Reaction; private Search; private Team; private UserGroup; constructor(Admin: AdminGroup, View: ViewGroup, User: UserGroup, Reminders: RemindersGroup, Pins: PinsGroup, Bot: BotGroup, Chat: ChatGroup, Conversation: ConversationGroup, Dialog: DialogGroup, Dnd: DndGroup, Emoji: EmojiGroup, File: FileGroup, Reaction: ReactionGroup, Search: SearchGroup, Team: TeamGroup, UserGroup: UserGroupGroup); /** * Set an existing guest user, admin user, or owner to be a regular user. * Alternative usage: Admin.Users.setRegular * Documentation: https://api.slack.com/methods/admin.users.setRegular * @param options Request options. */ adminSetRegularUser(options: AdminSetRegularUserRequest): Promise; /** * Set an existing guest, regular user, or admin user to be a workspace owner. * Alternative usage: Admin.Users.setOwner * Documentation: https://api.slack.com/methods/admin.users.setOwner * @param options Request options. */ adminSetOwnerUser(options: AdminSetOwnerUserRequest): Promise; /** * Set an expiration for a guest user * Alternative usage: Admin.Users.setExpiration * Documentation: https://api.slack.com/methods/admin.users.setExpiration * @param options Request options. */ adminSetUserExpiration(options: AdminSetUserExpirationRequest): Promise; /** * Set an existing guest, regular user, or owner to be an admin user. * Alternative usage: Admin.Users.setAdmin * Documentation: https://api.slack.com/methods/admin.users.setAdmin * @param options Request options. */ adminSetAdminUser(options: AdminSetAdminUserRequest): Promise; /** * Remove a user from a workspace. * Alternative usage: Admin.Users.removeUser * Documentation: https://api.slack.com/methods/admin.users.remove * @param options Request options. */ adminRemoveUser(options: AdminRemoveUserRequest): Promise; /** * List users on a workspace * Alternative usage: Admin.Users.getUsers * Documentation: https://api.slack.com/methods/admin.users.list * @param options Request options. */ adminGetUsers(options: AdminGetUsersRequest): Promise; /** * Invite a user to a workspace. * Recommended usage: Admin.Users.inviteUser * Documentation: https://api.slack.com/methods/admin.users.invite * @param options Request options. */ adminInviteUser(options: AdminInviteUserRequest): Promise; /** * Add an Enterprise user to a workspace. * Recommended usage: Admin.Users.assignUser * Documentation: https://api.slack.com/methods/admin.users.assign * @param options Request options. */ adminAssignUser(options: AdminAssignUserRequest): Promise; /** * Update an existing view. * Alternative usage: View.updateView * Documentation: https://api.slack.com/methods/views.update * @param options Request options. */ updateView(options: UpdateViewRequest): Promise; /** * Push a view onto the stack of a root view. * Alternative usage: View.pushView * Documentation: https://api.slack.com/methods/views.push * @param options Request options. */ pushView(options: PushViewRequest): Promise; /** * Open a view for a user. * Alternative usage: View.openView * Documentation: https://api.slack.com/methods/views.open * @param options Request options. */ openView(options: OpenViewRequest): Promise; /** * Find a user with an email address. * Alternative usage: User.getUserByEmail * Documentation: https://api.slack.com/methods/users.lookupByEmail * @param options Request options. */ getUserByEmail(options: GetUserByEmailRequest): Promise; /** * Lists all users in a Slack team. * Alternative usage: User.getUsers * Documentation: https://api.slack.com/methods/users.list * @param options Request options. */ getUsers(options?: GetUsersRequest): Promise; /** * Gets information about a user. * Alternative usage: User.getInfo * Documentation: https://api.slack.com/methods/users.info * @param options Request options. */ getUserInfo(options: GetUserInfoRequest): Promise; /** * Get a user's identity. * Alternative usage: User.getIdentity * Documentation: https://api.slack.com/methods/users.identity * @param options Request options. */ getUserIdentity(options?: GetUserIdentityRequest): Promise; /** * List conversations the calling user may access. * Alternative usage: User.getConversations * Documentation: https://api.slack.com/methods/users.conversations * @param options Request options. */ getUserConversations(options?: GetUserConversationsRequest): Promise; /** * Gets user presence information. * Alternative usage: User.getPresence * Documentation: https://api.slack.com/methods/users.getPresence * @param options Request options. */ getUserPresence(options?: GetUserPresenceRequest): Promise; /** * Manually sets user presence. * Alternative usage: User.setPresence * Documentation: https://api.slack.com/methods/users.setPresence * @param options Request options. */ setUserPresence(options: SetUserPresenceRequest): Promise; /** * Set the profile information for a user. * Alternative usage: User.Profile.setProfile * Documentation: https://api.slack.com/methods/users.profile.set * @param options Request options. */ setUserProfile(options: SetUserProfileRequest): Promise; /** * Retrieves a user's profile information. * Alternative usage: User.Profile.getProfile * Documentation: https://api.slack.com/methods/users.profile.get * @param options Request options. */ getUserProfile(options?: GetUserProfileRequest): Promise; /** * Lists all reminders created by or for a given user. * Alternative usage: Reminders.getReminders * Documentation: https://api.slack.com/methods/reminders.list * @param options Request options. */ getReminders(options?: GetRemindersRequest): Promise; /** * Gets information about a reminder. * Alternative usage: Reminders.getInfo * Documentation: https://api.slack.com/methods/reminders.info * @param options Request options. */ getReminderInfo(options: GetReminderInfoRequest): Promise; /** * Deletes a reminder. * Alternative usage: Reminders.deleteReminder * Documentation: https://api.slack.com/methods/reminders.delete * @param options Request options. */ deleteReminder(options: DeleteReminderRequest): Promise; /** * Marks a reminder as complete. * Alternative usage: Reminders.completeReminder * Documentation: https://api.slack.com/methods/reminders.complete * @param options Request options. */ completeReminder(options: CompleteReminderRequest): Promise; /** * Creates a reminder. * Alternative usage: Reminders.addReminder * Documentation: https://api.slack.com/methods/reminders.add * @param options Request options. */ addReminder(options: AddReminderRequest): Promise; /** * Un-pins an item from a channel. * Alternative usage: Pins.removePin * Documentation: https://api.slack.com/methods/pins.remove * @param options Request options. */ removePin(options: RemovePinRequest): Promise; /** * Lists items pinned to a channel. * Alternative usage: Pins.getPins * Documentation: https://api.slack.com/methods/pins.list * @param options Request options. */ getPins(options: GetPinsRequest): Promise; /** * Pins an item to a channel. * Alternative usage: Pins.addPin * Documentation: https://api.slack.com/methods/pins.add * @param options Request options. */ addPin(options: AddPinRequest): Promise; /** * Gets information about a bot user. * Alternative usage: Bot.getInfo * Documentation: https://api.slack.com/methods/bots.info * @param options Request options. */ getBotInfo(options?: GetBotInfoRequest): Promise; /** * Deletes a message. * Alternative usage: Chat.deleteMessage * Documentation: https://api.slack.com/methods/chat.delete * @param options Request options. */ deleteChatMessage(options: DeleteChatMessageRequest): Promise; /** * Deletes a pending scheduled message from the queue. * Alternative usage: Chat.deleteScheduledMessage * Documentation: https://api.slack.com/methods/chat.deleteScheduledMessage * @param options Request options. */ deleteChatScheduledMessage(options: DeleteChatScheduledMessageRequest): Promise; /** * Retrieve a permalink URL for a specific extant message * Alternative usage: Chat.getPermalink * Documentation: https://api.slack.com/methods/chat.getPermalink * @param options Request options. */ getChatPermalink(options: GetChatPermalinkRequest): Promise; /** * Share a me message into a channel. * Alternative usage: Chat.postMeMessage * Documentation: https://api.slack.com/methods/chat.meMessage * @param options Request options. */ postChatMeMessage(options: PostChatMeMessageRequest): Promise; /** * Sends an ephemeral message to a user in a channel. * Alternative usage: Chat.postEphemeralMessage * Documentation: https://api.slack.com/methods/chat.postEphemeral * @param options Request options. */ postChatEphemeralMessage(options: PostChatEphemeralMessageRequest): Promise; /** * Sends a message to a channel. * Alternative usage: Chat.postMessage * Documentation: https://api.slack.com/methods/chat.postMessage * @param options Request options. */ postChatMessage(options: PostChatMessageRequest): Promise; /** * Schedules a message to be sent to a channel. * Alternative usage: Chat.scheduleMessage * Documentation: https://api.slack.com/methods/chat.scheduleMessage * @param options Request options. */ scheduleChatMessage(options: ScheduleChatMessageRequest): Promise; /** * Returns a list of scheduled messages. * Alternative usage: Chat.getScheduledMessages * Documentation: https://api.slack.com/methods/chat.scheduledMessages.list * @param options Request options. */ getChatScheduledMessages(options?: GetChatScheduledMessagesRequest): Promise; /** * Provide custom unfurl behavior for user-posted URLs * Alternative usage: Chat.unfurlMessage * Documentation: https://api.slack.com/methods/chat.unfurl * @param options Request options. */ unfurlChatMessage(options: UnfurlChatMessageRequest): Promise; /** * Updates a message. * Alternative usage: Chat.updateMessage * Documentation: https://api.slack.com/methods/chat.update * @param options Request options. */ updateChatMessage(options: UpdateChatMessageRequest): Promise; /** * Archives a conversation. * Alternative usage: Conversation.archiveConversation * Documentation: https://api.slack.com/methods/conversations.archive * @param options Request options. */ archiveConversation(options: ArchiveConversationRequest): Promise; /** * Closes a direct message or multi-person direct message. * Alternative usage: Conversation.closeConversation * Documentation: https://api.slack.com/methods/conversations.close * @param options Request options. */ closeConversation(options: CloseConversationRequest): Promise; /** * Initiates a public or private channel-based conversation * Alternative usage: Conversation.createConversation * Documentation: https://api.slack.com/methods/conversations.create * @param options Request options. */ createConversation(options: CreateConversationRequest): Promise; /** * Fetches a conversation's history of messages and events. * Alternative usage: Conversation.getHistory * Documentation: https://api.slack.com/methods/conversations.history * @param options Request options. */ getConversationHistory(options?: GetConversationHistoryRequest): Promise; /** * Retrieve information about a conversation. * Alternative usage: Conversation.getInfo * Documentation: https://api.slack.com/methods/conversations.info * @param options Request options. */ getConversationInfo(options: GetConversationInfoRequest): Promise; /** * Invites users to a channel. * Alternative usage: Conversation.inviteUser * Documentation: https://api.slack.com/methods/conversations.invite * @param options Request options. */ inviteUserToConversation(options: InviteUserToConversationRequest): Promise; /** * Joins an existing conversation. * Alternative usage: Conversation.joinConversation * Documentation: https://api.slack.com/methods/conversations.join * @param options Request options. */ joinConversation(options: JoinConversationRequest): Promise; /** * Removes a user from a conversation. * Alternative usage: Conversation.kickUser * Documentation: https://api.slack.com/methods/conversations.kick * @param options Request options. */ kickUserFromConversation(options: KickUserFromConversationRequest): Promise; /** * Leaves a conversation. * Alternative usage: Conversation.leaveConversation * Documentation: https://api.slack.com/methods/conversations.leave * @param options Request options. */ leaveConversation(options: LeaveConversationRequest): Promise; /** * Lists all channels in a Slack team. * Recommended usage: Conversation.getConversations * Documentation: https://api.slack.com/methods/conversations.list * @param options Request options. */ getConversations(options?: GetConversationsRequest): Promise; /** * Retrieve members of a conversation. * Alternative usage: Conversation.getMembers * Documentation: https://api.slack.com/methods/conversations.members * @param options Request options. */ getConversationMembers(options: GetConversationMembersRequest): Promise; /** * Opens or resumes a direct message or multi-person direct message. * Alternative usage: Conversation.openConversation * Documentation: https://api.slack.com/methods/conversations.open * @param options Request options. */ openConversation(options: OpenConversationRequest): Promise; /** * Renames a conversation. * Alternative usage: Conversation.renameConversation * Documentation: https://api.slack.com/methods/conversations.rename * @param options Request options. */ renameConversation(options: RenameConversationRequest): Promise; /** * Retrieve a thread of messages posted to a conversation * Alternative usage: Conversation.getReplies * Documentation: https://api.slack.com/methods/conversations.replies * @param options Request options. */ getConversationReplies(options?: GetConversationRepliesRequest): Promise; /** * Sets the purpose for a conversation. * Alternative usage: Conversation.setPurpose * Documentation: https://api.slack.com/methods/conversations.setPurpose * @param options Request options. */ setConversationPurpose(options: SetConversationPurposeRequest): Promise; /** * Sets the topic for a conversation. * Alternative usage: Conversation.setTopic * Documentation: https://api.slack.com/methods/conversations.setTopic * @param options Request options. */ setConversationTopic(options: SetConversationTopicRequest): Promise; /** * Reverses conversation archival. * Alternative usage: Conversation.unarchiveConversation * Documentation: https://api.slack.com/methods/conversations.unarchive * @param options Request options. */ unarchiveConversation(options: UnarchiveConversationRequest): Promise; /** * Open a dialog with a user * Alternative usage: Dialog.openDialog * Documentation: https://api.slack.com/methods/dialog.open * @param options Request options. */ openDialog(options: OpenDialogRequest): Promise; /** * Ends the current user's Do Not Disturb session immediately. * Alternative usage: Dnd.endDnd * Documentation: https://api.slack.com/methods/dnd.endDnd * @param options Request options. */ endDnd(options?: EndDndRequest): Promise; /** * Ends the current user's snooze mode immediately. * Alternative usage: Dnd.endSnooze * Documentation: https://api.slack.com/methods/dnd.endSnooze * @param options Request options. */ endDndSnooze(options?: EndDndSnoozeRequest): Promise; /** * Retrieves a user's current Do Not Disturb status. * Alternative usage: Dnd.getInfo * Documentation: https://api.slack.com/methods/dnd.info * @param options Request options. */ getDndInfo(options?: GetDndInfoRequest): Promise; /** * Turns on Do Not Disturb mode for the current user, or changes its duration. * Alternative usage: Dnd.setSnooze * Documentation: https://api.slack.com/methods/dnd.setSnooze * @param options Request options. */ setDndSnooze(options: SetDndSnoozeRequest): Promise; /** * Retrieves the Do Not Disturb status for up to 50 users on a team. * Alternative usage: Dnd.getTeamInfo * Documentation: https://api.slack.com/methods/dnd.teamInfo * @param options Request options. */ getDndTeamInfo(options: GetDndTeamInfoRequest): Promise; /** * Lists custom emoji for a team. * Alternative usage: Emoji.getEmojis * Documentation: https://api.slack.com/methods/emoji.list * @param options Request options. */ getEmojis(options?: GetEmojisRequest): Promise; /** * Deletes a file. * Alternative usage: File.deleteFile * Documentation: https://api.slack.com/methods/files.delete * @param options Request options. */ deleteFile(options: DeleteFileRequest): Promise; /** * Gets information about a file. * Alternative usage: File.getInfo * Documentation: https://api.slack.com/methods/files.info * @param options Request options. */ getFileInfo(options?: GetFileInfoRequest): Promise; /** * List for a team, in a channel, or from a user with applied filters. * Alternative usage: File.getFiles * Documentation: https://api.slack.com/methods/files.list * @param options Request options. */ getFiles(options?: GetFilesRequest): Promise; /** * Uploads or creates a file. * Recommended usage: File.uploadFile * Documentation: https://api.slack.com/methods/files.upload * @param options Request options. */ uploadFile(options: UploadFileRequest): Promise; /** * Deletes an existing comment on a file. * Alternative usage: File.Comment.deleteComment * Documentation: https://api.slack.com/methods/files.comments.delete * @param options Request options. */ deleteFileComment(options: DeleteFileCommentRequest): Promise; /** * Revokes public/external sharing access for a file * Alternative usage: File.PublicUrl.revokePublicUrl * Documentation: https://api.slack.com/methods/files.revokePublicURL * @param options Request options. */ revokeFilePublicUrl(options: RevokeFilePublicUrlRequest): Promise; /** * Enables a file for public/external sharing. * Alternative usage: File.PublicUrl.createPublicUrl * Documentation: https://api.slack.com/methods/files.sharedPublicURL * @param options Request options. */ createFilePublicUrl(options: CreateFilePublicUrlRequest): Promise; /** * Retrieve information about a remote file added to Slack * Alternative usage: File.Remote.getInfo * Documentation: https://api.slack.com/methods/files.remote.info * @param options Request options. */ getRemoteFileInfo(options?: GetRemoteFileInfoRequest): Promise; /** * Retrieve information about a remote file added to Slack * Alternative usage: File.Remote.getFiles * Documentation: https://api.slack.com/methods/files.remote.list * @param options Request options. */ getRemoteFiles(options?: GetRemoteFilesRequest): Promise; /** * Share a remote file into a channel. * Alternative usage: File.Remote.shareFile * Documentation: https://api.slack.com/methods/files.remote.share * @param options Request options. */ shareRemoteFile(options?: ShareRemoteFileRequest): Promise; /** * Adds a reaction to an item. * Alternative usage: Reaction.addReaction * Documentation: https://api.slack.com/methods/reactions.add * @param options Request options. */ addReaction(options: AddReactionRequest): Promise; /** * Gets reactions for an item. * Alternative usage: Reaction.getReaction * Documentation: https://api.slack.com/methods/reactions.get * @param options Request options. */ getReaction(options?: GetReactionRequest): Promise; /** * Lists reactions made by a user. * Alternative usage: Reaction.getReactions * Documentation: https://api.slack.com/methods/reactions.list * @param options Request options. */ getReactions(options?: GetReactionsRequest): Promise; /** * Removes a reaction from an item. * Alternative usage: Reaction.removeReaction * Documentation: https://api.slack.com/methods/reactions.remove * @param options Request options. */ removeReaction(options: RemoveReactionRequest): Promise; /** * Searches for messages matching a query. * Alternative usage: Search.searchMessages * Documentation: https://api.slack.com/methods/search.messages * @param options Request options. */ searchMessages(options: SearchMessagesRequest): Promise; /** * Gets the access logs for the current team. * Alternative usage: Team.getAccessLogs * Documentation: https://api.slack.com/methods/team.accessLogs * @param options Request options. */ getTeamAccessLogs(options?: GetTeamAccessLogsRequest): Promise; /** * Gets billable users information for the current team. * Alternative usage: Team.getBillableInfo * Documentation: https://api.slack.com/methods/team.billableInfo * @param options Request options. */ getTeamBillableInfo(options?: GetTeamBillableInfoRequest): Promise; /** * Gets information about the current team. * Alternative usage: Team.getInfo * Documentation: https://api.slack.com/methods/team.info * @param options Request options. */ getTeamInfo(options?: GetTeamInfoRequest): Promise; /** * Gets the integration logs for the current team. * Alternative usage: Team.getIntegrationLogs * Documentation: https://api.slack.com/methods/team.integrationLogs * @param options Request options. */ getTeamIntegrationLogs(options?: GetTeamIntegrationLogsRequest): Promise; /** * Retrieve a team's profile. * Alternative usage: Team.Profile.getProfile * Documentation: https://api.slack.com/methods/team.profile.get * @param options Request options. */ getTeamProfile(options?: GetTeamProfileRequest): Promise; /** * Create a User Group * Alternative usage: UserGroup.createUserGroup * Documentation: https://api.slack.com/methods/usergroups.create * @param options Request options. */ createUserGroup(options: CreateUserGroupRequest): Promise; /** * Disable an existing User Group * Alternative usage: UserGroup.disableUserGroup * Documentation: https://api.slack.com/methods/usergroups.disable * @param options Request options. */ disableUserGroup(options: DisableUserGroupRequest): Promise; /** * Enable a User Group * Alternative usage: UserGroup.enableUserGroup * Documentation: https://api.slack.com/methods/usergroups.enable * @param options Request options. */ enableUserGroup(options: EnableUserGroupRequest): Promise; /** * List all User Groups for a team * Alternative usage: UserGroup.getUserGroups * Documentation: https://api.slack.com/methods/usergroups.list * @param options Request options. */ getUserGroups(options?: GetUserGroupsRequest): Promise; /** * Update an existing User Group * Alternative usage: UserGroup.updateUserGroup * Documentation: https://api.slack.com/methods/usergroups.update * @param options Request options. */ updateUserGroup(options: UpdateUserGroupRequest): Promise; /** * List all users in a User Group * Alternative usage: UserGroup.User.getUsers * Documentation: https://api.slack.com/methods/usergroups.users.list * @param options Request options. */ getUsersInUserGroup(options: GetUsersInUserGroupRequest): Promise; /** * Update the list of users for a User Group * Alternative usage: UserGroup.User.updateUsers * Documentation: https://api.slack.com/methods/usergroups.users.update * @param options Request options. */ updateUsersInUserGroup(options: UpdateUsersInUserGroupRequest): Promise; } declare class AllBotGroup { private View; private User; private Pins; private Bot; private Chat; private Conversation; private Dialog; private Dnd; private Emoji; private File; private Reaction; private Team; private UserGroup; constructor(View: ViewGroup, User: UserGroup, Pins: PinsGroup, Bot: BotGroup, Chat: ChatGroup, Conversation: ConversationGroup, Dialog: DialogGroup, Dnd: DndGroup, Emoji: EmojiGroup, File: FileGroup, Reaction: ReactionGroup, Team: TeamGroup, UserGroup: UserGroupGroup); /** * Update an existing view. * Alternative usage: View.updateView * Documentation: https://api.slack.com/methods/views.update * @param options Request options. */ updateView(options: UpdateViewRequest): Promise; /** * Push a view onto the stack of a root view. * Alternative usage: View.pushView * Documentation: https://api.slack.com/methods/views.push * @param options Request options. */ pushView(options: PushViewRequest): Promise; /** * Publish a static view for a User. * Alternative usage: View.publishView * Documentation: https://api.slack.com/methods/views.publish * @param options Request options. */ publishView(options: PublishViewRequest): Promise; /** * Open a view for a user. * Alternative usage: View.openView * Documentation: https://api.slack.com/methods/views.open * @param options Request options. */ openView(options: OpenViewRequest): Promise; /** * Find a user with an email address. * Alternative usage: User.getUserByEmail * Documentation: https://api.slack.com/methods/users.lookupByEmail * @param options Request options. */ getUserByEmail(options: GetUserByEmailRequest): Promise; /** * Lists all users in a Slack team. * Alternative usage: User.getUsers * Documentation: https://api.slack.com/methods/users.list * @param options Request options. */ getUsers(options?: GetUsersRequest): Promise; /** * Gets information about a user. * Alternative usage: User.getInfo * Documentation: https://api.slack.com/methods/users.info * @param options Request options. */ getUserInfo(options: GetUserInfoRequest): Promise; /** * List conversations the calling user may access. * Alternative usage: User.getConversations * Documentation: https://api.slack.com/methods/users.conversations * @param options Request options. */ getUserConversations(options?: GetUserConversationsRequest): Promise; /** * Gets user presence information. * Alternative usage: User.getPresence * Documentation: https://api.slack.com/methods/users.getPresence * @param options Request options. */ getUserPresence(options?: GetUserPresenceRequest): Promise; /** * Manually sets user presence. * Alternative usage: User.setPresence * Documentation: https://api.slack.com/methods/users.setPresence * @param options Request options. */ setUserPresence(options: SetUserPresenceRequest): Promise; /** * Retrieves a user's profile information. * Alternative usage: User.Profile.getProfile * Documentation: https://api.slack.com/methods/users.profile.get * @param options Request options. */ getUserProfile(options?: GetUserProfileRequest): Promise; /** * Un-pins an item from a channel. * Alternative usage: Pins.removePin * Documentation: https://api.slack.com/methods/pins.remove * @param options Request options. */ removePin(options: RemovePinRequest): Promise; /** * Lists items pinned to a channel. * Alternative usage: Pins.getPins * Documentation: https://api.slack.com/methods/pins.list * @param options Request options. */ getPins(options: GetPinsRequest): Promise; /** * Pins an item to a channel. * Alternative usage: Pins.addPin * Documentation: https://api.slack.com/methods/pins.add * @param options Request options. */ addPin(options: AddPinRequest): Promise; /** * Gets information about a bot user. * Alternative usage: Bot.getInfo * Documentation: https://api.slack.com/methods/bots.info * @param options Request options. */ getBotInfo(options?: GetBotInfoRequest): Promise; /** * Deletes a message. * Alternative usage: Chat.deleteMessage * Documentation: https://api.slack.com/methods/chat.delete * @param options Request options. */ deleteChatMessage(options: DeleteChatMessageRequest): Promise; /** * Deletes a pending scheduled message from the queue. * Alternative usage: Chat.deleteScheduledMessage * Documentation: https://api.slack.com/methods/chat.deleteScheduledMessage * @param options Request options. */ deleteChatScheduledMessage(options: DeleteChatScheduledMessageRequest): Promise; /** * Retrieve a permalink URL for a specific extant message * Alternative usage: Chat.getPermalink * Documentation: https://api.slack.com/methods/chat.getPermalink * @param options Request options. */ getChatPermalink(options: GetChatPermalinkRequest): Promise; /** * Share a me message into a channel. * Alternative usage: Chat.postMeMessage * Documentation: https://api.slack.com/methods/chat.meMessage * @param options Request options. */ postChatMeMessage(options: PostChatMeMessageRequest): Promise; /** * Sends an ephemeral message to a user in a channel. * Alternative usage: Chat.postEphemeralMessage * Documentation: https://api.slack.com/methods/chat.postEphemeral * @param options Request options. */ postChatEphemeralMessage(options: PostChatEphemeralMessageRequest): Promise; /** * Sends a message to a channel. * Alternative usage: Chat.postMessage * Documentation: https://api.slack.com/methods/chat.postMessage * @param options Request options. */ postChatMessage(options: PostChatMessageRequest): Promise; /** * Schedules a message to be sent to a channel. * Alternative usage: Chat.scheduleMessage * Documentation: https://api.slack.com/methods/chat.scheduleMessage * @param options Request options. */ scheduleChatMessage(options: ScheduleChatMessageRequest): Promise; /** * Returns a list of scheduled messages. * Alternative usage: Chat.getScheduledMessages * Documentation: https://api.slack.com/methods/chat.scheduledMessages.list * @param options Request options. */ getChatScheduledMessages(options?: GetChatScheduledMessagesRequest): Promise; /** * Provide custom unfurl behavior for user-posted URLs * Alternative usage: Chat.unfurlMessage * Documentation: https://api.slack.com/methods/chat.unfurl * @param options Request options. */ unfurlChatMessage(options: UnfurlChatMessageRequest): Promise; /** * Updates a message. * Alternative usage: Chat.updateMessage * Documentation: https://api.slack.com/methods/chat.update * @param options Request options. */ updateChatMessage(options: UpdateChatMessageRequest): Promise; /** * Archives a conversation. * Alternative usage: Conversation.archiveConversation * Documentation: https://api.slack.com/methods/conversations.archive * @param options Request options. */ archiveConversation(options: ArchiveConversationRequest): Promise; /** * Closes a direct message or multi-person direct message. * Alternative usage: Conversation.closeConversation * Documentation: https://api.slack.com/methods/conversations.close * @param options Request options. */ closeConversation(options: CloseConversationRequest): Promise; /** * Initiates a public or private channel-based conversation * Alternative usage: Conversation.createConversation * Documentation: https://api.slack.com/methods/conversations.create * @param options Request options. */ createConversation(options: CreateConversationRequest): Promise; /** * Fetches a conversation's history of messages and events. * Alternative usage: Conversation.getHistory * Documentation: https://api.slack.com/methods/conversations.history * @param options Request options. */ getConversationHistory(options?: GetConversationHistoryRequest): Promise; /** * Retrieve information about a conversation. * Alternative usage: Conversation.getInfo * Documentation: https://api.slack.com/methods/conversations.info * @param options Request options. */ getConversationInfo(options: GetConversationInfoRequest): Promise; /** * Invites users to a channel. * Alternative usage: Conversation.inviteUser * Documentation: https://api.slack.com/methods/conversations.invite * @param options Request options. */ inviteUserToConversation(options: InviteUserToConversationRequest): Promise; /** * Joins an existing conversation. * Alternative usage: Conversation.joinConversation * Documentation: https://api.slack.com/methods/conversations.join * @param options Request options. */ joinConversation(options: JoinConversationRequest): Promise; /** * Removes a user from a conversation. * Alternative usage: Conversation.kickUser * Documentation: https://api.slack.com/methods/conversations.kick * @param options Request options. */ kickUserFromConversation(options: KickUserFromConversationRequest): Promise; /** * Leaves a conversation. * Alternative usage: Conversation.leaveConversation * Documentation: https://api.slack.com/methods/conversations.leave * @param options Request options. */ leaveConversation(options: LeaveConversationRequest): Promise; /** * Lists all channels in a Slack team. * Recommended usage: Conversation.getConversations * Documentation: https://api.slack.com/methods/conversations.list * @param options Request options. */ getConversations(options?: GetConversationsRequest): Promise; /** * Retrieve members of a conversation. * Alternative usage: Conversation.getMembers * Documentation: https://api.slack.com/methods/conversations.members * @param options Request options. */ getConversationMembers(options: GetConversationMembersRequest): Promise; /** * Opens or resumes a direct message or multi-person direct message. * Alternative usage: Conversation.openConversation * Documentation: https://api.slack.com/methods/conversations.open * @param options Request options. */ openConversation(options: OpenConversationRequest): Promise; /** * Renames a conversation. * Alternative usage: Conversation.renameConversation * Documentation: https://api.slack.com/methods/conversations.rename * @param options Request options. */ renameConversation(options: RenameConversationRequest): Promise; /** * Retrieve a thread of messages posted to a conversation * Alternative usage: Conversation.getReplies * Documentation: https://api.slack.com/methods/conversations.replies * @param options Request options. */ getConversationReplies(options?: GetConversationRepliesRequest): Promise; /** * Sets the purpose for a conversation. * Alternative usage: Conversation.setPurpose * Documentation: https://api.slack.com/methods/conversations.setPurpose * @param options Request options. */ setConversationPurpose(options: SetConversationPurposeRequest): Promise; /** * Sets the topic for a conversation. * Alternative usage: Conversation.setTopic * Documentation: https://api.slack.com/methods/conversations.setTopic * @param options Request options. */ setConversationTopic(options: SetConversationTopicRequest): Promise; /** * Reverses conversation archival. * Alternative usage: Conversation.unarchiveConversation * Documentation: https://api.slack.com/methods/conversations.unarchive * @param options Request options. */ unarchiveConversation(options: UnarchiveConversationRequest): Promise; /** * Open a dialog with a user * Alternative usage: Dialog.openDialog * Documentation: https://api.slack.com/methods/dialog.open * @param options Request options. */ openDialog(options: OpenDialogRequest): Promise; /** * Retrieves a user's current Do Not Disturb status. * Alternative usage: Dnd.getInfo * Documentation: https://api.slack.com/methods/dnd.info * @param options Request options. */ getDndInfo(options?: GetDndInfoRequest): Promise; /** * Retrieves the Do Not Disturb status for up to 50 users on a team. * Alternative usage: Dnd.getTeamInfo * Documentation: https://api.slack.com/methods/dnd.teamInfo * @param options Request options. */ getDndTeamInfo(options: GetDndTeamInfoRequest): Promise; /** * Lists custom emoji for a team. * Alternative usage: Emoji.getEmojis * Documentation: https://api.slack.com/methods/emoji.list * @param options Request options. */ getEmojis(options?: GetEmojisRequest): Promise; /** * Deletes a file. * Alternative usage: File.deleteFile * Documentation: https://api.slack.com/methods/files.delete * @param options Request options. */ deleteFile(options: DeleteFileRequest): Promise; /** * Gets information about a file. * Alternative usage: File.getInfo * Documentation: https://api.slack.com/methods/files.info * @param options Request options. */ getFileInfo(options?: GetFileInfoRequest): Promise; /** * List for a team, in a channel, or from a user with applied filters. * Alternative usage: File.getFiles * Documentation: https://api.slack.com/methods/files.list * @param options Request options. */ getFiles(options?: GetFilesRequest): Promise; /** * Uploads or creates a file. * Recommended usage: File.uploadFile * Documentation: https://api.slack.com/methods/files.upload * @param options Request options. */ uploadFile(options: UploadFileRequest): Promise; /** * Deletes an existing comment on a file. * Alternative usage: File.Comment.deleteComment * Documentation: https://api.slack.com/methods/files.comments.delete * @param options Request options. */ deleteFileComment(options: DeleteFileCommentRequest): Promise; /** * Adds a file from a remote service * Alternative usage: File.Remote.addFile * Documentation: https://api.slack.com/methods/files.remote.add * @param options Request options. */ addRemoteFile(options: AddRemoteFileRequest): Promise; /** * Retrieve information about a remote file added to Slack * Alternative usage: File.Remote.getInfo * Documentation: https://api.slack.com/methods/files.remote.info * @param options Request options. */ getRemoteFileInfo(options?: GetRemoteFileInfoRequest): Promise; /** * Retrieve information about a remote file added to Slack * Alternative usage: File.Remote.getFiles * Documentation: https://api.slack.com/methods/files.remote.list * @param options Request options. */ getRemoteFiles(options?: GetRemoteFilesRequest): Promise; /** * Remove a remote file. * Alternative usage: File.Remote.removeFile * Documentation: https://api.slack.com/methods/files.remote.remove * @param options Request options. */ removeRemoteFile(options?: RemoveRemoteFileRequest): Promise; /** * Share a remote file into a channel. * Alternative usage: File.Remote.shareFile * Documentation: https://api.slack.com/methods/files.remote.share * @param options Request options. */ shareRemoteFile(options?: ShareRemoteFileRequest): Promise; /** * Updates an existing remote file. * Alternative usage: File.Remote.updateFile * Documentation: https://api.slack.com/methods/files.remote.update * @param options Request options. */ updateRemoteFile(options?: UpdateRemoteFileRequest): Promise; /** * Adds a reaction to an item. * Alternative usage: Reaction.addReaction * Documentation: https://api.slack.com/methods/reactions.add * @param options Request options. */ addReaction(options: AddReactionRequest): Promise; /** * Gets reactions for an item. * Alternative usage: Reaction.getReaction * Documentation: https://api.slack.com/methods/reactions.get * @param options Request options. */ getReaction(options?: GetReactionRequest): Promise; /** * Lists reactions made by a user. * Alternative usage: Reaction.getReactions * Documentation: https://api.slack.com/methods/reactions.list * @param options Request options. */ getReactions(options?: GetReactionsRequest): Promise; /** * Removes a reaction from an item. * Alternative usage: Reaction.removeReaction * Documentation: https://api.slack.com/methods/reactions.remove * @param options Request options. */ removeReaction(options: RemoveReactionRequest): Promise; /** * Gets information about the current team. * Alternative usage: Team.getInfo * Documentation: https://api.slack.com/methods/team.info * @param options Request options. */ getTeamInfo(options?: GetTeamInfoRequest): Promise; /** * Retrieve a team's profile. * Alternative usage: Team.Profile.getProfile * Documentation: https://api.slack.com/methods/team.profile.get * @param options Request options. */ getTeamProfile(options?: GetTeamProfileRequest): Promise; /** * Create a User Group * Alternative usage: UserGroup.createUserGroup * Documentation: https://api.slack.com/methods/usergroups.create * @param options Request options. */ createUserGroup(options: CreateUserGroupRequest): Promise; /** * Disable an existing User Group * Alternative usage: UserGroup.disableUserGroup * Documentation: https://api.slack.com/methods/usergroups.disable * @param options Request options. */ disableUserGroup(options: DisableUserGroupRequest): Promise; /** * Enable a User Group * Alternative usage: UserGroup.enableUserGroup * Documentation: https://api.slack.com/methods/usergroups.enable * @param options Request options. */ enableUserGroup(options: EnableUserGroupRequest): Promise; /** * List all User Groups for a team * Alternative usage: UserGroup.getUserGroups * Documentation: https://api.slack.com/methods/usergroups.list * @param options Request options. */ getUserGroups(options?: GetUserGroupsRequest): Promise; /** * Update an existing User Group * Alternative usage: UserGroup.updateUserGroup * Documentation: https://api.slack.com/methods/usergroups.update * @param options Request options. */ updateUserGroup(options: UpdateUserGroupRequest): Promise; /** * List all users in a User Group * Alternative usage: UserGroup.User.getUsers * Documentation: https://api.slack.com/methods/usergroups.users.list * @param options Request options. */ getUsersInUserGroup(options: GetUsersInUserGroupRequest): Promise; /** * Update the list of users for a User Group * Alternative usage: UserGroup.User.updateUsers * Documentation: https://api.slack.com/methods/usergroups.users.update * @param options Request options. */ updateUsersInUserGroup(options: UpdateUsersInUserGroupRequest): Promise; } declare class AdminGroup { private implementation; private getGlobalErrorStrategy; Users: AdminUsersGroup; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); } declare class AdminUsersGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Set an existing guest user, admin user, or owner to be a regular user. * Documentation: https://api.slack.com/methods/admin.users.setRegular * @param options Request options. */ setRegular(options: AdminSetRegularUserRequest): Promise; /** * Set an existing guest, regular user, or admin user to be a workspace owner. * Documentation: https://api.slack.com/methods/admin.users.setOwner * @param options Request options. */ setOwner(options: AdminSetOwnerUserRequest): Promise; /** * Set an expiration for a guest user * Documentation: https://api.slack.com/methods/admin.users.setExpiration * @param options Request options. */ setExpiration(options: AdminSetUserExpirationRequest): Promise; /** * Set an existing guest, regular user, or owner to be an admin user. * Documentation: https://api.slack.com/methods/admin.users.setAdmin * @param options Request options. */ setAdmin(options: AdminSetAdminUserRequest): Promise; /** * Remove a user from a workspace. * Documentation: https://api.slack.com/methods/admin.users.remove * @param options Request options. */ removeUser(options: AdminRemoveUserRequest): Promise; /** * List users on a workspace * Documentation: https://api.slack.com/methods/admin.users.list * @param options Request options. */ getUsers(options: AdminGetUsersRequest): Promise; /** * Invite a user to a workspace. * Documentation: https://api.slack.com/methods/admin.users.invite * @param options Request options. */ inviteUser(options: AdminInviteUserRequest): Promise; /** * Add an Enterprise user to a workspace. * Documentation: https://api.slack.com/methods/admin.users.assign * @param options Request options. */ assignUser(options: AdminAssignUserRequest): Promise; } declare class ViewGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Update an existing view. * Documentation: https://api.slack.com/methods/views.update * @param options Request options. */ updateView(options: UpdateViewRequest): Promise; /** * Push a view onto the stack of a root view. * Documentation: https://api.slack.com/methods/views.push * @param options Request options. */ pushView(options: PushViewRequest): Promise; /** * Publish a static view for a User. * Documentation: https://api.slack.com/methods/views.publish * @param options Request options. */ publishView(options: PublishViewRequest): Promise; /** * Open a view for a user. * Documentation: https://api.slack.com/methods/views.open * @param options Request options. */ openView(options: OpenViewRequest): Promise; } declare class UserGroup { private implementation; private getGlobalErrorStrategy; Profile: UserProfileGroup; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Find a user with an email address. * Documentation: https://api.slack.com/methods/users.lookupByEmail * @param options Request options. */ getUserByEmail(options: GetUserByEmailRequest): Promise; /** * Lists all users in a Slack team. * Documentation: https://api.slack.com/methods/users.list * @param options Request options. */ getUsers(options?: GetUsersRequest): Promise; /** * Gets information about a user. * Documentation: https://api.slack.com/methods/users.info * @param options Request options. */ getInfo(options: GetUserInfoRequest): Promise; /** * Get a user's identity. * Documentation: https://api.slack.com/methods/users.identity * @param options Request options. */ getIdentity(options?: GetUserIdentityRequest): Promise; /** * List conversations the calling user may access. * Documentation: https://api.slack.com/methods/users.conversations * @param options Request options. */ getConversations(options?: GetUserConversationsRequest): Promise; /** * Gets user presence information. * Documentation: https://api.slack.com/methods/users.getPresence * @param options Request options. */ getPresence(options?: GetUserPresenceRequest): Promise; /** * Manually sets user presence. * Documentation: https://api.slack.com/methods/users.setPresence * @param options Request options. */ setPresence(options: SetUserPresenceRequest): Promise; } declare class UserProfileGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Set the profile information for a user. * Documentation: https://api.slack.com/methods/users.profile.set * @param options Request options. */ setProfile(options: SetUserProfileRequest): Promise; /** * Retrieves a user's profile information. * Documentation: https://api.slack.com/methods/users.profile.get * @param options Request options. */ getProfile(options?: GetUserProfileRequest): Promise; } declare class RemindersGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Lists all reminders created by or for a given user. * Documentation: https://api.slack.com/methods/reminders.list * @param options Request options. */ getReminders(options?: GetRemindersRequest): Promise; /** * Gets information about a reminder. * Documentation: https://api.slack.com/methods/reminders.info * @param options Request options. */ getInfo(options: GetReminderInfoRequest): Promise; /** * Deletes a reminder. * Documentation: https://api.slack.com/methods/reminders.delete * @param options Request options. */ deleteReminder(options: DeleteReminderRequest): Promise; /** * Marks a reminder as complete. * Documentation: https://api.slack.com/methods/reminders.complete * @param options Request options. */ completeReminder(options: CompleteReminderRequest): Promise; /** * Creates a reminder. * Documentation: https://api.slack.com/methods/reminders.add * @param options Request options. */ addReminder(options: AddReminderRequest): Promise; } declare class PinsGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Un-pins an item from a channel. * Documentation: https://api.slack.com/methods/pins.remove * @param options Request options. */ removePin(options: RemovePinRequest): Promise; /** * Lists items pinned to a channel. * Documentation: https://api.slack.com/methods/pins.list * @param options Request options. */ getPins(options: GetPinsRequest): Promise; /** * Pins an item to a channel. * Documentation: https://api.slack.com/methods/pins.add * @param options Request options. */ addPin(options: AddPinRequest): Promise; } declare class BotGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Gets information about a bot user. * Documentation: https://api.slack.com/methods/bots.info * @param options Request options. */ getInfo(options?: GetBotInfoRequest): Promise; } declare class ChatGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Deletes a message. * Documentation: https://api.slack.com/methods/chat.delete * @param options Request options. */ deleteMessage(options: DeleteChatMessageRequest): Promise; /** * Deletes a pending scheduled message from the queue. * Documentation: https://api.slack.com/methods/chat.deleteScheduledMessage * @param options Request options. */ deleteScheduledMessage(options: DeleteChatScheduledMessageRequest): Promise; /** * Retrieve a permalink URL for a specific extant message * Documentation: https://api.slack.com/methods/chat.getPermalink * @param options Request options. */ getPermalink(options: GetChatPermalinkRequest): Promise; /** * Share a me message into a channel. * Documentation: https://api.slack.com/methods/chat.meMessage * @param options Request options. */ postMeMessage(options: PostChatMeMessageRequest): Promise; /** * Sends an ephemeral message to a user in a channel. * Documentation: https://api.slack.com/methods/chat.postEphemeral * @param options Request options. */ postEphemeralMessage(options: PostChatEphemeralMessageRequest): Promise; /** * Sends a message to a channel. * Documentation: https://api.slack.com/methods/chat.postMessage * @param options Request options. */ postMessage(options: PostChatMessageRequest): Promise; /** * Schedules a message to be sent to a channel. * Documentation: https://api.slack.com/methods/chat.scheduleMessage * @param options Request options. */ scheduleMessage(options: ScheduleChatMessageRequest): Promise; /** * Returns a list of scheduled messages. * Documentation: https://api.slack.com/methods/chat.scheduledMessages.list * @param options Request options. */ getScheduledMessages(options?: GetChatScheduledMessagesRequest): Promise; /** * Provide custom unfurl behavior for user-posted URLs * Documentation: https://api.slack.com/methods/chat.unfurl * @param options Request options. */ unfurlMessage(options: UnfurlChatMessageRequest): Promise; /** * Updates a message. * Documentation: https://api.slack.com/methods/chat.update * @param options Request options. */ updateMessage(options: UpdateChatMessageRequest): Promise; } declare class ConversationGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Archives a conversation. * Documentation: https://api.slack.com/methods/conversations.archive * @param options Request options. */ archiveConversation(options: ArchiveConversationRequest): Promise; /** * Closes a direct message or multi-person direct message. * Documentation: https://api.slack.com/methods/conversations.close * @param options Request options. */ closeConversation(options: CloseConversationRequest): Promise; /** * Initiates a public or private channel-based conversation * Documentation: https://api.slack.com/methods/conversations.create * @param options Request options. */ createConversation(options: CreateConversationRequest): Promise; /** * Fetches a conversation's history of messages and events. * Documentation: https://api.slack.com/methods/conversations.history * @param options Request options. */ getHistory(options?: GetConversationHistoryRequest): Promise; /** * Retrieve information about a conversation. * Documentation: https://api.slack.com/methods/conversations.info * @param options Request options. */ getInfo(options: GetConversationInfoRequest): Promise; /** * Invites users to a channel. * Documentation: https://api.slack.com/methods/conversations.invite * @param options Request options. */ inviteUser(options: InviteUserToConversationRequest): Promise; /** * Joins an existing conversation. * Documentation: https://api.slack.com/methods/conversations.join * @param options Request options. */ joinConversation(options: JoinConversationRequest): Promise; /** * Removes a user from a conversation. * Documentation: https://api.slack.com/methods/conversations.kick * @param options Request options. */ kickUser(options: KickUserFromConversationRequest): Promise; /** * Leaves a conversation. * Documentation: https://api.slack.com/methods/conversations.leave * @param options Request options. */ leaveConversation(options: LeaveConversationRequest): Promise; /** * Lists all channels in a Slack team. * Documentation: https://api.slack.com/methods/conversations.list * @param options Request options. */ getConversations(options?: GetConversationsRequest): Promise; /** * Retrieve members of a conversation. * Documentation: https://api.slack.com/methods/conversations.members * @param options Request options. */ getMembers(options: GetConversationMembersRequest): Promise; /** * Opens or resumes a direct message or multi-person direct message. * Documentation: https://api.slack.com/methods/conversations.open * @param options Request options. */ openConversation(options: OpenConversationRequest): Promise; /** * Renames a conversation. * Documentation: https://api.slack.com/methods/conversations.rename * @param options Request options. */ renameConversation(options: RenameConversationRequest): Promise; /** * Retrieve a thread of messages posted to a conversation * Documentation: https://api.slack.com/methods/conversations.replies * @param options Request options. */ getReplies(options?: GetConversationRepliesRequest): Promise; /** * Sets the purpose for a conversation. * Documentation: https://api.slack.com/methods/conversations.setPurpose * @param options Request options. */ setPurpose(options: SetConversationPurposeRequest): Promise; /** * Sets the topic for a conversation. * Documentation: https://api.slack.com/methods/conversations.setTopic * @param options Request options. */ setTopic(options: SetConversationTopicRequest): Promise; /** * Reverses conversation archival. * Documentation: https://api.slack.com/methods/conversations.unarchive * @param options Request options. */ unarchiveConversation(options: UnarchiveConversationRequest): Promise; } declare class DialogGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Open a dialog with a user * Documentation: https://api.slack.com/methods/dialog.open * @param options Request options. */ openDialog(options: OpenDialogRequest): Promise; } declare class DndGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Ends the current user's Do Not Disturb session immediately. * Documentation: https://api.slack.com/methods/dnd.endDnd * @param options Request options. */ endDnd(options?: EndDndRequest): Promise; /** * Ends the current user's snooze mode immediately. * Documentation: https://api.slack.com/methods/dnd.endSnooze * @param options Request options. */ endSnooze(options?: EndDndSnoozeRequest): Promise; /** * Retrieves a user's current Do Not Disturb status. * Documentation: https://api.slack.com/methods/dnd.info * @param options Request options. */ getInfo(options?: GetDndInfoRequest): Promise; /** * Turns on Do Not Disturb mode for the current user, or changes its duration. * Documentation: https://api.slack.com/methods/dnd.setSnooze * @param options Request options. */ setSnooze(options: SetDndSnoozeRequest): Promise; /** * Retrieves the Do Not Disturb status for up to 50 users on a team. * Documentation: https://api.slack.com/methods/dnd.teamInfo * @param options Request options. */ getTeamInfo(options: GetDndTeamInfoRequest): Promise; } declare class EmojiGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Lists custom emoji for a team. * Documentation: https://api.slack.com/methods/emoji.list * @param options Request options. */ getEmojis(options?: GetEmojisRequest): Promise; } declare class FileGroup { private implementation; private getGlobalErrorStrategy; Comment: FileCommentGroup; PublicUrl: FilePublicUrlGroup; Remote: FileRemoteGroup; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Deletes a file. * Documentation: https://api.slack.com/methods/files.delete * @param options Request options. */ deleteFile(options: DeleteFileRequest): Promise; /** * Gets information about a file. * Documentation: https://api.slack.com/methods/files.info * @param options Request options. */ getInfo(options?: GetFileInfoRequest): Promise; /** * List for a team, in a channel, or from a user with applied filters. * Documentation: https://api.slack.com/methods/files.list * @param options Request options. */ getFiles(options?: GetFilesRequest): Promise; /** * Uploads or creates a file. * Documentation: https://api.slack.com/methods/files.upload * @param options Request options. */ uploadFile(options: UploadFileRequest): Promise; } declare class FileCommentGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Deletes an existing comment on a file. * Documentation: https://api.slack.com/methods/files.comments.delete * @param options Request options. */ deleteComment(options: DeleteFileCommentRequest): Promise; } declare class FilePublicUrlGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Revokes public/external sharing access for a file * Documentation: https://api.slack.com/methods/files.revokePublicURL * @param options Request options. */ revokePublicUrl(options: RevokeFilePublicUrlRequest): Promise; /** * Enables a file for public/external sharing. * Documentation: https://api.slack.com/methods/files.sharedPublicURL * @param options Request options. */ createPublicUrl(options: CreateFilePublicUrlRequest): Promise; } declare class FileRemoteGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Adds a file from a remote service * Documentation: https://api.slack.com/methods/files.remote.add * @param options Request options. */ addFile(options: AddRemoteFileRequest): Promise; /** * Retrieve information about a remote file added to Slack * Documentation: https://api.slack.com/methods/files.remote.info * @param options Request options. */ getInfo(options?: GetRemoteFileInfoRequest): Promise; /** * Retrieve information about a remote file added to Slack * Documentation: https://api.slack.com/methods/files.remote.list * @param options Request options. */ getFiles(options?: GetRemoteFilesRequest): Promise; /** * Remove a remote file. * Documentation: https://api.slack.com/methods/files.remote.remove * @param options Request options. */ removeFile(options?: RemoveRemoteFileRequest): Promise; /** * Share a remote file into a channel. * Documentation: https://api.slack.com/methods/files.remote.share * @param options Request options. */ shareFile(options?: ShareRemoteFileRequest): Promise; /** * Updates an existing remote file. * Documentation: https://api.slack.com/methods/files.remote.update * @param options Request options. */ updateFile(options?: UpdateRemoteFileRequest): Promise; } declare class ReactionGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Adds a reaction to an item. * Documentation: https://api.slack.com/methods/reactions.add * @param options Request options. */ addReaction(options: AddReactionRequest): Promise; /** * Gets reactions for an item. * Documentation: https://api.slack.com/methods/reactions.get * @param options Request options. */ getReaction(options?: GetReactionRequest): Promise; /** * Lists reactions made by a user. * Documentation: https://api.slack.com/methods/reactions.list * @param options Request options. */ getReactions(options?: GetReactionsRequest): Promise; /** * Removes a reaction from an item. * Documentation: https://api.slack.com/methods/reactions.remove * @param options Request options. */ removeReaction(options: RemoveReactionRequest): Promise; } declare class SearchGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Searches for messages matching a query. * Documentation: https://api.slack.com/methods/search.messages * @param options Request options. */ searchMessages(options: SearchMessagesRequest): Promise; } declare class TeamGroup { private implementation; private getGlobalErrorStrategy; Profile: TeamProfileGroup; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Gets the access logs for the current team. * Documentation: https://api.slack.com/methods/team.accessLogs * @param options Request options. */ getAccessLogs(options?: GetTeamAccessLogsRequest): Promise; /** * Gets billable users information for the current team. * Documentation: https://api.slack.com/methods/team.billableInfo * @param options Request options. */ getBillableInfo(options?: GetTeamBillableInfoRequest): Promise; /** * Gets information about the current team. * Documentation: https://api.slack.com/methods/team.info * @param options Request options. */ getInfo(options?: GetTeamInfoRequest): Promise; /** * Gets the integration logs for the current team. * Documentation: https://api.slack.com/methods/team.integrationLogs * @param options Request options. */ getIntegrationLogs(options?: GetTeamIntegrationLogsRequest): Promise; } declare class TeamProfileGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Retrieve a team's profile. * Documentation: https://api.slack.com/methods/team.profile.get * @param options Request options. */ getProfile(options?: GetTeamProfileRequest): Promise; } declare class UserGroupGroup { private implementation; private getGlobalErrorStrategy; User: UserGroupUserGroup; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Create a User Group * Documentation: https://api.slack.com/methods/usergroups.create * @param options Request options. */ createUserGroup(options: CreateUserGroupRequest): Promise; /** * Disable an existing User Group * Documentation: https://api.slack.com/methods/usergroups.disable * @param options Request options. */ disableUserGroup(options: DisableUserGroupRequest): Promise; /** * Enable a User Group * Documentation: https://api.slack.com/methods/usergroups.enable * @param options Request options. */ enableUserGroup(options: EnableUserGroupRequest): Promise; /** * List all User Groups for a team * Documentation: https://api.slack.com/methods/usergroups.list * @param options Request options. */ getUserGroups(options?: GetUserGroupsRequest): Promise; /** * Update an existing User Group * Documentation: https://api.slack.com/methods/usergroups.update * @param options Request options. */ updateUserGroup(options: UpdateUserGroupRequest): Promise; } declare class UserGroupUserGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * List all users in a User Group * Documentation: https://api.slack.com/methods/usergroups.users.list * @param options Request options. */ getUsers(options: GetUsersInUserGroupRequest): Promise; /** * Update the list of users for a User Group * Documentation: https://api.slack.com/methods/usergroups.users.update * @param options Request options. */ updateUsers(options: UpdateUsersInUserGroupRequest): Promise; } declare class ReplyGroup { private implementation; private getGlobalErrorStrategy; constructor(implementation: PlatformImplementation, getGlobalErrorStrategy: GetGlobalErrorStrategy); /** * Send message back to Slack using the response_url in the event payload. * Documentation: https://api.slack.com/interactivity/handling#message_responses * @param options Request options. */ postMessage(options: PostReplyMessageRequest): Promise; } export {}; //# sourceMappingURL=index.d.ts.map