Constructors
Methods
connectPlatform
- connectPlatform(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
code: string;
platform: "kick" | "twitch" | "rumble";
}auth: string
code: string
platform: "kick" | "twitch" | "rumble"
Returns Promise<WebResponse<string>>
getConnectPlatformUrl
- getConnectPlatformUrl(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
platform: "twitch";
}auth: string
platform: "twitch"
Returns Promise<WebResponse<string>>
getCurrentUser
- getCurrentUser(__namedParameters): Promise<WebResponse<CurrentUser>>
Parameters
- __namedParameters: {
auth: string;
}
getGuildDiscordData
- getGuildDiscordData(__namedParameters): Promise<WebResponse<DiscordGuildData>>
Parameters
- __namedParameters: {
auth: string;
force?: boolean;
guildId: string;
type: "roles" | "channels" | "both";
}auth: string
Optional
force?: boolean
guildId: string
type: "roles" | "channels" | "both"
unlinkPlatform
- unlinkPlatform(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
platform: "kick" | "twitch" | "rumble";
}auth: string
platform: "kick" | "twitch" | "rumble"
Returns Promise<WebResponse<string>>