Method GetChannel
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetChannel(ulong)
Gets a channel from this guild by its ID.
public DiscordChannel? GetChannel(ulong id)
Parameters
id
ulongID of the channel to get.
Returns
- DiscordChannel
Requested channel.
Exceptions
- ServerErrorException
Thrown when Discord is unable to process the request.