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.

ITextChannel.cs 637 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using System.IO;
  3. using System.Threading.Tasks;
  4. namespace Discord
  5. {
  6. public interface ITextChannel : IChannel
  7. {
  8. Message GetMessage(ulong id);
  9. Task<IEnumerable<Message>> DownloadMessages(int limit = 100, ulong? relativeMessageId = null, Relative relativeDir = Relative.Before);
  10. Task<Message> SendMessage(string text, bool isTTS = false);
  11. Task<Message> SendFile(string filePath, string text = null, bool isTTS = false);
  12. Task<Message> SendFile(Stream stream, string filename, string text = null, bool isTTS = false);
  13. Task SendIsTyping();
  14. }
  15. }