You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Channel.cs 589 B

12345678910111213141516171819202122
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. namespace Discord
  4. {
  5. public abstract class Channel : IChannel
  6. {
  7. public ulong Id { get; }
  8. public abstract DiscordClient Client { get; }
  9. public abstract ChannelType Type { get; }
  10. public bool IsText { get; }
  11. public bool IsVoice { get; }
  12. public bool IsPrivate { get; }
  13. public bool IsPublic { get; }
  14. public abstract User CurrentUser { get; }
  15. public abstract IEnumerable<User> Users { get; }
  16. public abstract Task Save();
  17. }
  18. }