Class ChannelExtensions
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
public static class ChannelExtensions
- Inheritance
-
ChannelExtensions
- Inherited Members
Methods
GetChannelType(IChannel)
Attempts to get the ChannelType based off of the channel's interfaces.
public static ChannelType? GetChannelType(this IChannel channel)
Parameters
channel
IChannelThe channel to get the type of.
Returns
- ChannelType?
The ChannelType of the channel if found, otherwise null.