Table of Contents
API reference

Method RequestAndWaitForChannelInfoAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

RequestAndWaitForChannelInfoAsync(ulong, bool, bool)

Requests and waits for guild channel information.

public Task<IReadOnlyList<DiscordChannelInfo>> RequestAndWaitForChannelInfoAsync(ulong guildId, bool includeStatus = true, bool includeVoiceStartTime = true)

Parameters

guildId ulong

The guild id to request channel information from.

includeStatus bool

Whether to include the channel's status. Defaults to true.

includeVoiceStartTime bool

Whether to include the channel's voice start time. Defaults to true.

Returns

Task<IReadOnlyList<DiscordChannelInfo>>

The requested DiscordChannelInfo's.