using System.Collections.Generic; using System.Threading.Tasks; namespace Discord { public interface IChannel : IEntity { /// Gets the type flags for this channel. ChannelType Type { get; } /// Gets whether this is a text channel. bool IsText { get; } /// Gets whether this is a voice channel. bool IsVoice { get; } /// Gets whether this is a private channel. bool IsPrivate { get; } /// Gets whether this is a public channel. bool IsPublic { get; } /// Gets a collection of all users in this channel. Task> GetUsers(); } }