Function DiscordApiFactory
- DiscordApiFactory(
configuration?: Configuration,
basePath?: string,
axios?: AxiosInstance,
): {
discordControllerGetInvite(
options?: RawAxiosRequestConfig,
): AxiosPromise<DiscordInviteOutputDTO>;
discordControllerSearch(
guildSearchInputDTO?: GuildSearchInputDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<GuildOutputArrayDTOAPI>;
discordControllerSendMessage(
id: string,
sendMessageInputDTO?: SendMessageInputDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<APIOutput>;
discordControllerUpdateGuild(
id: string,
guildApiUpdateDTO?: GuildApiUpdateDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<GuildOutputDTOAPI>;
} Parameters
Optional
configuration: ConfigurationOptional
basePath: stringOptional
axios: AxiosInstance
Returns {
discordControllerGetInvite(
options?: RawAxiosRequestConfig,
): AxiosPromise<DiscordInviteOutputDTO>;
discordControllerSearch(
guildSearchInputDTO?: GuildSearchInputDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<GuildOutputArrayDTOAPI>;
discordControllerSendMessage(
id: string,
sendMessageInputDTO?: SendMessageInputDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<APIOutput>;
discordControllerUpdateGuild(
id: string,
guildApiUpdateDTO?: GuildApiUpdateDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<GuildOutputDTOAPI>;
}
discordControllerGetInvite:function
- discordControllerGetInvite(
options?: RawAxiosRequestConfig,
): AxiosPromise<DiscordInviteOutputDTO> Parameters
Optional
options: RawAxiosRequestConfig
discordControllerSearch:function
discordControllerSendMessage:function
- discordControllerSendMessage(
id: string,
sendMessageInputDTO?: SendMessageInputDTO,
options?: RawAxiosRequestConfig,
): AxiosPromise<APIOutput> Parameters
- id: string
Optional
sendMessageInputDTO: SendMessageInputDTOOptional
options: RawAxiosRequestConfig
Returns AxiosPromise<APIOutput>
discordControllerUpdateGuild:function
DiscordApi - factory interface
Export