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
guildIdulongThe guild id to request channel information from.
includeStatusboolWhether to include the channel's status. Defaults to true.
includeVoiceStartTimeboolWhether to include the channel's voice start time. Defaults to true.
Returns
- Task<IReadOnlyList<DiscordChannelInfo>>
The requested DiscordChannelInfo's.