using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Discord { public class TextChannel : ITextChannel, IPublicChannel, IMentionable, IModifiable { public sealed class Properties { public string Name { get; } public string Topic { get; } public int Position { get; } } /// public ulong Id { get; } /// public DiscordClient Discord { get; } /// public EntityState State { get; } /// public ChannelType Type => ChannelType.Public | ChannelType.Text; /// public bool IsPrivate => false; /// public bool IsPublic => true; /// public bool IsText => true; /// public bool IsVoice => false; /// public string Name { get; } /// public string Topic { get; } /// public int Position { get; } /// public string Mention { get; } /// public Server Server { get; } /// public IEnumerable PermissionOverwrites { get; } /// public IEnumerable Users { get; } /// public OverwritePermissions? GetPermissionOverwrite(User user) => null; /// public OverwritePermissions? GetPermissionOverwrite(Role role) => null; /// public Task> GetUsers() => null; /// public Task GetMessage(ulong id) => null; /// public Task> GetMessages(int limit = 100) => null; /// public Task> GetMessages(int limit = 100, ulong? relativeMessageId = null, Relative relativeDir = Relative.Before) => null; /// public Task> GetInvites() => null; /// public Task UpdatePermissionOverwrite(User user, OverwritePermissions permissions) => null; /// public Task UpdatePermissionOverwrite(Role role, OverwritePermissions permissions) => null; /// public Task RemovePermissionOverwrite(User user) => null; /// public Task RemovePermissionOverwrite(Role role) => null; /// public Task SendMessage(string text, bool isTTS = false) => null; /// public Task SendFile(string filePath, string text = null, bool isTTS = false) => null; /// public Task SendFile(Stream stream, string filename, string text = null, bool isTTS = false) => null; /// public Task SendIsTyping() => null; /// public Task CreateInvite(int? maxAge = 1800, int? maxUses = null, bool tempMembership = false, bool withXkcd = false) => null; /// public Task Update() => null; /// public Task Modify(Action func) => null; /// public Task Delete() => null; } }