Skip to main content

overwolf.social.discord.getChannels

Overwolf APIs / overwolf / overwolf / social / discord / getChannels

function getChannels(
guildId: string,
callback: CallbackFunction<GetChannelsResult>,
): void;

If the user is currently logged into Discord, this will return the channels of the given guildId, for which the user has privileges to share images/videos to. Otherwise, an error is returned

Parameters

ParameterTypeDescription
guildIdstringThe id of the guild
callbackCallbackFunction<GetChannelsResult>Will contain guild (server) channels or error if the request has failed.

Returns

void