Added reference project
This commit is contained in:
18
ref/Entities/Channels/ITextChannel.cs
Normal file
18
ref/Entities/Channels/ITextChannel.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Discord
|
||||
{
|
||||
public interface ITextChannel : IChannel
|
||||
{
|
||||
Message GetMessage(ulong id);
|
||||
Task<IEnumerable<Message>> DownloadMessages(int limit = 100, ulong? relativeMessageId = null, Relative relativeDir = Relative.Before);
|
||||
|
||||
Task<Message> SendMessage(string text, bool isTTS = false);
|
||||
Task<Message> SendFile(string filePath, string text = null, bool isTTS = false);
|
||||
Task<Message> SendFile(Stream stream, string filename, string text = null, bool isTTS = false);
|
||||
|
||||
Task SendIsTyping();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user