Table of Contents

Method GetOrderedChannelsAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetOrderedChannelsAsync()

Gets an ordered DiscordChannel list. Returns a Dictionary where the key is an ulong and can be mapped to CategoryDiscordChannels. Ignore the 0 key here, because that indicates that this is the "has no category" list. Each value contains a ordered list of text/news and voice/stage channels as DiscordChannel.

public Task<Dictionary<ulong, List<DiscordChannel>>> GetOrderedChannelsAsync()

Returns

Task<Dictionary<ulong, List<DiscordChannel>>>

A ordered list of categories with its channels