UNPKG

slack

Version:

Slack API client written in JS

2,137 lines (1,834 loc) 55.4 kB
// generated from scripts/generate-types declare namespace Api.Test { export interface Params { [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Permissions.Info { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Permissions.Request { export interface Params { token: any scopes: any trigger_id: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Permissions.Resources.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Permissions.Scopes.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Permissions.Users.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Permissions.Users.Request { export interface Params { token: any scopes: any trigger_id: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Apps.Uninstall { export interface Params { token: any client_id: any client_secret: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Auth.Revoke { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Auth.Test { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Bots.Info { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Archive { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Create { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.History { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Info { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Invite { export interface Params { token: any channel: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Join { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Kick { export interface Params { token: any channel: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Leave { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Mark { export interface Params { token: any channel: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Rename { export interface Params { token: any channel: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Replies { export interface Params { token: any channel: any thread_ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.SetPurpose { export interface Params { token: any channel: any purpose: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.SetTopic { export interface Params { token: any channel: any topic: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Channels.Unarchive { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.Delete { export interface Params { token: any channel: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.GetPermalink { export interface Params { token: any channel: any message_ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.MeMessage { export interface Params { token: any channel: any text: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.PostEphemeral { export interface Params { token: any channel: any text: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.PostMessage { export interface Params { token: any channel: any text: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.Unfurl { export interface Params { token: any channel: any ts: any unfurls: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Chat.Update { export interface Params { token: any channel: any text: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Archive { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Close { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Create { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.History { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Info { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Invite { export interface Params { token: any channel: any users: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Join { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Kick { export interface Params { token: any channel: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Leave { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Members { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Open { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Rename { export interface Params { token: any channel: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Replies { export interface Params { token: any channel: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.SetPurpose { export interface Params { token: any channel: any purpose: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.SetTopic { export interface Params { token: any channel: any topic: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Conversations.Unarchive { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Dialog.Open { export interface Params { token: any dialog: any trigger_id: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Dnd.EndDnd { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Dnd.EndSnooze { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Dnd.Info { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Dnd.SetSnooze { export interface Params { token: any num_minutes: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Dnd.TeamInfo { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Emoji.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.Comments.Add { export interface Params { token: any comment: any file: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.Comments.Delete { export interface Params { token: any file: any id: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.Comments.Edit { export interface Params { token: any comment: any file: any id: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.Delete { export interface Params { token: any file: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.Info { export interface Params { token: any file: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.RevokePublicURL { export interface Params { token: any file: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.SharedPublicURL { export interface Params { token: any file: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Files.Upload { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Archive { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Create { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.CreateChild { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.History { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Info { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Invite { export interface Params { token: any channel: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Kick { export interface Params { token: any channel: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Leave { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Mark { export interface Params { token: any channel: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Open { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Rename { export interface Params { token: any channel: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Replies { export interface Params { token: any channel: any thread_ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.SetPurpose { export interface Params { token: any channel: any purpose: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.SetTopic { export interface Params { token: any channel: any topic: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Groups.Unarchive { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Im.Close { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Im.History { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Im.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Im.Mark { export interface Params { token: any channel: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Im.Open { export interface Params { token: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Im.Replies { export interface Params { token: any channel: any thread_ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Migration.Exchange { export interface Params { token: any users: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Mpim.Close { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Mpim.History { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Mpim.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Mpim.Mark { export interface Params { token: any channel: any ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Mpim.Open { export interface Params { token: any users: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Mpim.Replies { export interface Params { token: any channel: any thread_ts: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Oauth.Access { export interface Params { client_id: any client_secret: any code: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Oauth.Token { export interface Params { client_id: any client_secret: any code: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Pins.Add { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Pins.List { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Pins.Remove { export interface Params { token: any channel: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reactions.Add { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reactions.Get { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reactions.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reactions.Remove { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reminders.Add { export interface Params { token: any text: any time: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reminders.Complete { export interface Params { token: any reminder: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reminders.Delete { export interface Params { token: any reminder: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reminders.Info { export interface Params { token: any reminder: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Reminders.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Rtm.Connect { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Rtm.Start { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Search.All { export interface Params { token: any query: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Search.Files { export interface Params { token: any query: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Search.Messages { export interface Params { token: any query: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Stars.Add { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Stars.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Stars.Remove { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Team.AccessLogs { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Team.BillableInfo { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Team.Info { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Team.IntegrationLogs { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Team.Profile.Get { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.Create { export interface Params { token: any name: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.Disable { export interface Params { token: any usergroup: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.Enable { export interface Params { token: any usergroup: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.Update { export interface Params { token: any usergroup: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.Users.List { export interface Params { token: any usergroup: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Usergroups.Users.Update { export interface Params { token: any usergroup: any users: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.Conversations { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.DeletePhoto { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.GetPresence { export interface Params { token: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.Identity { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.Info { export interface Params { token: any user: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.List { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.LookupByEmail { export interface Params { token: any email: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.SetActive { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.SetPhoto { export interface Params { token: any image: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.SetPresence { export interface Params { token: any presence: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.Profile.Get { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare namespace Users.Profile.Set { export interface Params { token: any [optional: string]: any } export interface Response { ok: boolean [key: string]: any } } declare module "slack" { export let api: { test(params: Api.Test.Params): Promise<Api.Test.Response> test(params: Api.Test.Params, callback: (params: Api.Test.Params) => void): void } export let apps: { permissions: { info(params: Apps.Permissions.Info.Params): Promise<Apps.Permissions.Info.Response> info(params: Apps.Permissions.Info.Params, callback: (params: Apps.Permissions.Info.Params) => void): void request(params: Apps.Permissions.Request.Params): Promise<Apps.Permissions.Request.Response> request(params: Apps.Permissions.Request.Params, callback: (params: Apps.Permissions.Request.Params) => void): void resources: { list(params: Apps.Permissions.Resources.List.Params): Promise<Apps.Permissions.Resources.List.Response> list(params: Apps.Permissions.Resources.List.Params, callback: (params: Apps.Permissions.Resources.List.Params) => void): void } scopes: { list(params: Apps.Permissions.Scopes.List.Params): Promise<Apps.Permissions.Scopes.List.Response> list(params: Apps.Permissions.Scopes.List.Params, callback: (params: Apps.Permissions.Scopes.List.Params) => void): void } users: { list(params: Apps.Permissions.Users.List.Params): Promise<Apps.Permissions.Users.List.Response> list(params: Apps.Permissions.Users.List.Params, callback: (params: Apps.Permissions.Users.List.Params) => void): void request(params: Apps.Permissions.Users.Request.Params): Promise<Apps.Permissions.Users.Request.Response> request(params: Apps.Permissions.Users.Request.Params, callback: (params: Apps.Permissions.Users.Request.Params) => void): void } } uninstall(params: Apps.Uninstall.Params): Promise<Apps.Uninstall.Response> uninstall(params: Apps.Uninstall.Params, callback: (params: Apps.Uninstall.Params) => void): void } export let auth: { revoke(params: Auth.Revoke.Params): Promise<Auth.Revoke.Response> revoke(params: Auth.Revoke.Params, callback: (params: Auth.Revoke.Params) => void): void test(params: Auth.Test.Params): Promise<Auth.Test.Response> test(params: Auth.Test.Params, callback: (params: Auth.Test.Params) => void): void } export let bots: { info(params: Bots.Info.Params): Promise<Bots.Info.Response> info(params: Bots.Info.Params, callback: (params: Bots.Info.Params) => void): void } export let channels: { archive(params: Channels.Archive.Params): Promise<Channels.Archive.Response> archive(params: Channels.Archive.Params, callback: (params: Channels.Archive.Params) => void): void create(params: Channels.Create.Params): Promise<Channels.Create.Response> create(params: Channels.Create.Params, callback: (params: Channels.Create.Params) => void): void history(params: Channels.History.Params): Promise<Channels.History.Response> history(params: Channels.History.Params, callback: (params: Channels.History.Params) => void): void info(params: Channels.Info.Params): Promise<Channels.Info.Response> info(params: Channels.Info.Params, callback: (params: Channels.Info.Params) => void): void invite(params: Channels.Invite.Params): Promise<Channels.Invite.Response> invite(params: Channels.Invite.Params, callback: (params: Channels.Invite.Params) => void): void join(params: Channels.Join.Params): Promise<Channels.Join.Response> join(params: Channels.Join.Params, callback: (params: Channels.Join.Params) => void): void kick(params: Channels.Kick.Params): Promise<Channels.Kick.Response> kick(params: Channels.Kick.Params, callback: (params: Channels.Kick.Params) => void): void leave(params: Channels.Leave.Params): Promise<Channels.Leave.Response> leave(params: Channels.Leave.Params, callback: (params: Channels.Leave.Params) => void): void list(params: Channels.List.Params): Promise<Channels.List.Response> list(params: Channels.List.Params, callback: (params: Channels.List.Params) => void): void mark(params: Channels.Mark.Params): Promise<Channels.Mark.Response> mark(params: Channels.Mark.Params, callback: (params: Channels.Mark.Params) => void): void rename(params: Channels.Rename.Params): Promise<Channels.Rename.Response> rename(params: Channels.Rename.Params, callback: (params: Channels.Rename.Params) => void): void replies(params: Channels.Replies.Params): Promise<Channels.Replies.Response> replies(params: Channels.Replies.Params, callback: (params: Channels.Replies.Params) => void): void setPurpose(params: Channels.SetPurpose.Params): Promise<Channels.SetPurpose.Response> setPurpose(params: Channels.SetPurpose.Params, callback: (params: Channels.SetPurpose.Params) => void): void setTopic(params: Channels.SetTopic.Params): Promise<Channels.SetTopic.Response> setTopic(params: Channels.SetTopic.Params, callback: (params: Channels.SetTopic.Params) => void): void unarchive(params: Channels.Unarchive.Params): Promise<Channels.Unarchive.Response> unarchive(params: Channels.Unarchive.Params, callback: (params: Channels.Unarchive.Params) => void): void } export let chat: { delete(params: Chat.Delete.Params): Promise<Chat.Delete.Response> delete(params: Chat.Delete.Params, callback: (params: Chat.Delete.Params) => void): void getPermalink(params: Chat.GetPermalink.Params): Promise<Chat.GetPermalink.Response> getPermalink(params: Chat.GetPermalink.Params, callback: (params: Chat.GetPermalink.Params) => void): void meMessage(params: Chat.MeMessage.Params): Promise<Chat.MeMessage.Response> meMessage(params: Chat.MeMessage.Params, callback: (params: Chat.MeMessage.Params) => void): void postEphemeral(params: Chat.PostEphemeral.Params): Promise<Chat.PostEphemeral.Response> postEphemeral(params: Chat.PostEphemeral.Params, callback: (params: Chat.PostEphemeral.Params) => void): void postMessage(params: Chat.PostMessage.Params): Promise<Chat.PostMessage.Response> postMessage(params: Chat.PostMessage.Params, callback: (params: Chat.PostMessage.Params) => void): void unfurl(params: Chat.Unfurl.Params): Promise<Chat.Unfurl.Response> unfurl(params: Chat.Unfurl.Params, callback: (params: Chat.Unfurl.Params) => void): void update(params: Chat.Update.Params): Promise<Chat.Update.Response> update(params: Chat.Update.Params, callback: (params: Chat.Update.Params) => void): void } export let conversations: { archive(params: Conversations.Archive.Params): Promise<Conversations.Archive.Response> archive(params: Conversations.Archive.Params, callback: (params: Conversations.Archive.Params) => void): void close(params: Conversations.Close.Params): Promise<Conversations.Close.Response> close(params: Conversations.Close.Params, callback: (params: Conversations.Close.Params) => void): void create(params: Conversations.Create.Params): Promise<Conversations.Create.Response> create(params: Conversations.Create.Params, callback: (params: Conversations.Create.Params) => void): void history(params: Conversations.History.Params): Promise<Conversations.History.Response> history(params: Conversations.History.Params, callback: (params: Conversations.History.Params) => void): void info(params: Conversations.Info.Params): Promise<Conversations.Info.Response> info(params: Conversations.Info.Params, callback: (params: Conversations.Info.Params) => void): void invite(params: Conversations.Invite.Params): Promise<Conversations.Invite.Response> invite(params: Conversations.Invite.Params, callback: (params: Conversations.Invite.Params) => void): void join(params: Conversations.Join.Params): Promise<Conversations.Join.Response> join(params: Conversations.Join.Params, callback: (params: Conversations.Join.Params) => void): void kick(params: Conversations.Kick.Params): Promise<Conversations.Kick.Response> kick(params: Conversations.Kick.Params, callback: (params: Conversations.Kick.Params) => void): void leave(params: Conversations.Leave.Params): Promise<Conversations.Leave.Response> leave(params: Conversations.Leave.Params, callback: (params: Conversations.Leave.Params) => void): void list(params: Conversations.List.Params): Promise<Conversations.List.Response> list(params: Conversations.List.Params, callback: (params: Conversations.List.Params) => void): void members(params: Conversations.Members.Params): Promise<Conversations.Members.Response> members(params: Conversations.Members.Params, callback: (params: Conversations.Members.Params) => void): void open(params: Conversations.Open.Params): Promise<Conversations.Open.Response> open(params: Conversations.Open.Params, callback: (params: Conversations.Open.Params) => void): void rename(params: Conversations.Rename.Params): Promise<Conversations.Rename.Response> rename(params: Conversations.Rename.Params, callback: (params: Conversations.Rename.Params) => void): void replies(params: Conversations.Replies.Params): Promise<Conversations.Replies.Response> replies(params: Conversations.Replies.Params, callback: (params: Conversations.Replies.Params) => void): void setPurpose(params: Conversations.SetPurpose.Params): Promise<Conversations.SetPurpose.Response> setPurpose(params: Conversations.SetPurpose.Params, callback: (params: Conversations.SetPurpose.Params) => void): void setTopic(params: Conversations.SetTopic.Params): Promise<Conversations.SetTopic.Response> setTopic(params: Conversations.SetTopic.Params, callback: (params: Conversations.SetTopic.Params) => void): void unarchive(params: Conversations.Unarchive.Params): Promise<Conversations.Unarchive.Response> unarchive(params: Conversations.Unarchive.Params, callback: (params: Conversations.Unarchive.Params) => void): void } export let dialog: { open(params: Dialog.Open.Params): Promise<Dialog.Open.Response> open(params: Dialog.Open.Params, callback: (params: Dialog.Open.Params) => void): void } export let dnd: { endDnd(params: Dnd.EndDnd.Params): Promise<Dnd.EndDnd.Response> endDnd(params: Dnd.EndDnd.Params, callback: (params: Dnd.EndDnd.Params) => void): void endSnooze(params: Dnd.EndSnooze.Params): Promise<Dnd.EndSnooze.Response> endSnooze(params: Dnd.EndSnooze.Params, callback: (params: Dnd.EndSnooze.Params) => void): void info(params: Dnd.Info.Params): Promise<Dnd.Info.Response> info(params: Dnd.Info.Params, callback: (params: Dnd.Info.Params) => void): void setSnooze(params: Dnd.SetSnooze.Params): Promise<Dnd.SetSnooze.Response> setSnooze(params: Dnd.SetSnooze.Params, callback: (params: Dnd.SetSnooze.Params) => void): void teamInfo(params: Dnd.TeamInfo.Params): Promise<Dnd.TeamInfo.Response> teamInfo(params: Dnd.TeamInfo.Params, callback: (params: Dnd.TeamInfo.Params) => void): void } export let emoji: { list(params: Emoji.List.Params): Promise<Emoji.List.Response> list(params: Emoji.List.Params, callback: (params: Emoji.List.Params) => void): void } export let files: { comments: { add(params: Files.Comments.Add.Params): Promise<Files.Comments.Add.Response> add(params: Files.Comments.Add.Params, callback: (params: Files.Comments.Add.Params) => void): void delete(params: Files.Comments.Delete.Params): Promise<Files.Comments.Delete.Response> delete(params: Files.Comments.Delete.Params, callback: (params: Files.Comments.Delete.Params) => void): void edit(params: Files.Comments.Edit.Params): Promise<Files.Comments.Edit.Response> edit(params: Files.Comments.Edit.Params, callback: (params: Files.Comments.Edit.Params) => void): void } delete(params: Files.Delete.Params): Promise<Files.Delete.Response> delete(params: Files.Delete.Params, callback: (params: Files.Delete.Params) => void): void info(params: Files.Info.Params): Promise<Files.Info.Response> info(params: Files.Info.Params, callback: (params: Files.Info.Params) => void): void list(params: Files.List.Params): Promise<Files.List.Response> list(params: Files.List.Params, callback: (params: Files.List.Params) => void): void revokePublicURL(params: Files.RevokePublicURL.Params): Promise<Files.RevokePublicURL.Response> revokePublicURL(params: Files.RevokePublicURL.Params, callback: (params: Files.RevokePublicURL.Params) => void): void sharedPublicURL(params: Files.SharedPublicURL.Params): Promise<Files.SharedPublicURL.Response> sharedPublicURL(params: Files.SharedPublicURL.Params, callback: (params: Files.SharedPublicURL.Params) => void): void upload(params: Files.Upload.Params): Promise<Files.Upload.Response> upload(params: Files.Upload.Params, callback: (params: Files.Upload.Params) => void): void } export let groups: { archive(params: Groups.Archive.Params): Promise<Groups.Archive.Response> archive(params: Groups.Archive.Params, callback: (params: Groups.Archive.Params) => void): void create(params: Groups.Create.Params): Promise<Groups.Create.Response> create(params: Groups.Create.Params, callback: (params: Groups.Create.Params) => void): void createChild(params: Groups.CreateChild.Params): Promise<Groups.CreateChild.Response> createChild(params: Groups.CreateChild.Params, callback: (params: Groups.CreateChild.Params) => void): void history(params: Groups.History.Params): Promise<Groups.History.Response> history(params: Groups.History.Params, callback: (params: Groups.History.Params) => void): void info(params: Groups.Info.Params): Promise<Groups.Info.Response> info(params: Groups.Info.Params, callback: (params: Groups.Info.Params) => void): void invite(params: Groups.Invite.Params): Promise<Groups.Invite.Response> invite(params: Groups.Invite.Params, callback: (params: Groups.Invite.Params) => void): void kick(params: Groups.Kick.Params): Promise<Groups.Kick.Response> kick(params: Groups.Kick.Params, callback: (params: Groups.Kick.Params) => void): void leave(params: Groups.Leave.Params): Promise<Groups.Leave.Response> leave(params: Groups.Leave.Params, callback: (params: Groups.Leave.Params) => void): void list(params: Groups.List.Params): Promise<Groups.List.Response> list(params: Groups.List.Params, callback: (params: Groups.List.Params) => void): void mark(params: Groups.Mark.Params): Promise<Groups.Mark.Response> mark(params: Groups.Mark.Params, callback: (params: Groups.Mark.Params) => void): void open(params: Groups.Open.Params): Promise<Groups.Open.Response> open(params: Groups.Open.Params, callback: (params: Groups.Open.Params) => void): void rename(params: Groups.Rename.Params): Promise<Groups.Rename.Response> rename(params: Groups.Rename.Params, callback: (params: Groups.Rename.Params) => void): void replies(params: Groups.Replies.Params): Promise<Groups.Replies.Response> replies(params: Groups.Replies.Params, callback: (params: Groups.Replies.Params) => void): void setPurpose(params: Groups.SetPurpose.Params): Promise<Groups.SetPurpose.Response> setPurpose(params: Groups.SetPurpose.Params, callback: (params: Groups.SetPurpose.Params) => void): void setTopic(params: Groups.SetTopic.Params): Promise<Groups.SetTopic.Response> setTopic(params: Groups.SetTopic.Params, callback: (params: Groups.SetTopic.Params) => void): void unarchive(params: Groups.Unarchive.Params): Promise<Groups.Unarchive.Response> unarchive(params: Groups.Unarchive.Params, callback: (params: Groups.Unarchive.Params) => void): void } export let im: { close(params: Im.Close.Params): Promise<Im.Close.Response> close(params: Im.Close.Params, callback: (params: Im.Close.Params) => void): void history(params: Im.History.Params): Promise<Im.History.Response> history(params: Im.History.Params, callback: (params: Im.History.Params) => void): void list(params: Im.List.Params): Promise<Im.List.Response> list(params: Im.List.Params, callback: (params: Im.List.Params) => void): void mark(params: Im.Mark.Params): Promise<Im.Mark.Response> mark(params: Im.Mark.Params, callback: (params: Im.Mark.Params) => void): void open(params: Im.Open.Params): Promise<Im.Open.Response> open(params: Im.Open.Params, callback: (params: Im.Open.Params) => void): void replies(params: Im.Replies.Params): Promise<Im.Replies.Response> replies(params: Im.Replies.Params, callback: (params: Im.Replies.Params) => void): void } export let migration: { exchange(params: Migration.Exchange.Params): Promise<Migration.Exchange.Response> exchange(params: Migration.Exchange.Params, callback: (params: Migration.Exchange.Params) => void): void } export let mpim: { close(params: Mpim.Close.Params): Promise<Mpim.Close.Response> close(params: Mpim.Close.Params, callback: (params: Mpim.Close.Params) => void): void history(params: Mpim.History.Params): Promise<Mpim.History.Response> history(params: Mpim.History.Params, callback: (params: Mpim.History.Params) => void): void list(params: Mpim.List.Params): Promise<Mpim.List.Response> list(params: Mpim.List.Params, callback: (params: Mpim.List.Params) => void): void mark(params: Mpim.Mark.Params): Promise<Mpim.Mark.Response> mark(params: Mpim.Mark.Params, callback: (params: Mpim.Mark.Params) => void): void open(params: Mpim.Open.Params): Promise<Mpim.Open.Response> open(params: Mpim.Open.Params, callback: (params: Mpim.Open.Params) => void): void replies(params: Mpim.Replies.Params): Promise<Mpim.Replies.Response> replies(params: Mpim.Replies.Params, callback: (params: Mpim.Replies.Params) => void): void } export let oauth: { access(params: Oauth.Access.Params): Promise<Oauth.Access.Response> access(params: Oauth.Access.Params, callback: (params: Oauth.Access.Params) => void): void token(params: Oauth.Token.Params): Promise<Oauth.Token.Response> token(params: Oauth.Token.Params, callback: (params: Oauth.Token.Params) => void): void } export let pins: { add(params: Pins.Add.Params): Promise<Pins.Add.Response> add(params: Pins.Add.Params, callback: (params: Pins.Add.Params) => void): void list(params: Pins.List.Params): Promise<Pins.List.Response> list(params: Pins.List.Params, callback: (params: Pins.List.Params) => void): void remove(params: Pins.Remove.Params): Promise<Pins.Remove.Response> remove(params: Pins.Remove.Params, callback: (params: Pins.Remove.Params) => void): void } export let reactions: { add(params: Reactions.Add.Params): Promise<Reactions.Add.Response> add(params: Reactions.Add.Params, callback: (params: Reactions.Add.Params) => void): void get(params: Reactions.Get.Params): Promise<Reactions.Get.Response> get(params: Reactions.Get.Params, callback: (params: Reactions.Get.Params) => void): void list(params: Reactions.List.Params): Promise<Reactions.List.Response> list(params: Reactions.List.Params, callback: (params: Reactions.List.Params) => void): void remove(params: Reactions.Remove.Params): Promise<Reactions.Remove.Response> remove(params: Reactions.Remove.Params, callback: (params: Reactions.Remove.Params) => void): void } export let reminders: { add(params: Reminders.Add.Params): Promise<Reminders.Add.Response> add(params: Reminders.Add.Params, callback: (params: Reminders.Add.Params) => void): void complete(params: Reminders.Complete.Params): Promise<Reminders.Complete.Response> complete(params: Reminders.Complete.Params, callback: (params: Reminders.Complete.Params) => void): void delete(params: Reminders.Delete.Params): Promise<Reminders.Delete.Response> delete(params: Reminders.Delete.Params, callback: (params: Reminders.Delete.Params) => void): void info(params: Reminders.Info.Params): Promise<Reminders.Info.Response> info(params: Reminders.Info.Params, callback: (params: Reminders.Info.Params) => void): void list(params: Reminders.List.Params): Promise<Reminders.List.Response> list(params: Reminders.List.Params, callback: (params: Reminders.List.Params) => void): void } export let rtm: { connect(params: Rtm.Connect.Params): Promise<Rtm.Connect.Response> connect(params: Rtm.Connect.Params, callback: (params: Rtm.Connect.Params) => void): void start(params: Rtm.Start.Params): Promise<Rtm.Start.Response> start(params: Rtm.Start.Params, callback: (params: Rtm.Start.Params) => void): void } export let search: { all(params: Search.All.Params): Promise<Search.All.Response> all(params: Search.All.Params, callback: (params: Search.All.Params) => void): void files(params: Search.Files.Params): Promise<Search.Files.Response> files(p