- DiscordApiFp(configuration?): {
discordControllerGetInvite(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscordInviteOutputDTO>)>;
discordControllerSearch(guildSearchInputDTO?: GuildSearchInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputArrayDTOAPI>)>;
discordControllerSendMessage(id: string, sendMessageInputDTO?: SendMessageInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
discordControllerUpdateGuild(id: string, guildApiUpdateDTO?: GuildApiUpdateDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputDTOAPI>)>;
} Parameters
Optional
configuration: Configuration
Returns {
discordControllerGetInvite(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscordInviteOutputDTO>)>;
discordControllerSearch(guildSearchInputDTO?: GuildSearchInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputArrayDTOAPI>)>;
discordControllerSendMessage(id: string, sendMessageInputDTO?: SendMessageInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
discordControllerUpdateGuild(id: string, guildApiUpdateDTO?: GuildApiUpdateDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputDTOAPI>)>;
}
discordControllerGetInvite:function
- discordControllerGetInvite(options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscordInviteOutputDTO>)>
Parameters
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscordInviteOutputDTO>)>
discordControllerSearch:function
- discordControllerSearch(guildSearchInputDTO?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputArrayDTOAPI>)>
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputArrayDTOAPI>)>
discordControllerSendMessage:function
- discordControllerSendMessage(id, sendMessageInputDTO?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>
Parameters
- id: string
Optional
sendMessageInputDTO: SendMessageInputDTOOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>
discordControllerUpdateGuild:function
- discordControllerUpdateGuild(id, guildApiUpdateDTO?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputDTOAPI>)>
Parameters
- id: string
Optional
guildApiUpdateDTO: GuildApiUpdateDTOOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuildOutputDTOAPI>)>
DiscordApi - functional programming interface
Export