Esempio n. 1
0
 /// <summary> Sets this message as read. </summary>
 public void Acknowledge(DiscordMessageCallback callback)
 {
     client.AcknowledgeMessage(channelID, ID, callback);
 }
Esempio n. 2
0
 /// <summary> Edits this message. </summary>
 /// <param name="content">The content of this message.</param>
 public void Edit(string content, DiscordMessageCallback callback)
 {
     client.EditMessage(channelID, ID, content, callback);
 }
Esempio n. 3
0
 /// <summary> Deletes this message. </summary>
 public void Delete(DiscordMessageCallback callback)
 {
     client.DeleteMessage(channelID, ID, callback);
 }
 /// <summary> Sends a message to this channel. </summary>
 /// <param name="content">The content of this message.</param>
 /// <param name="textToSpeech">Whether this message should be used by text to speech.</param>
 public void SendMessage(string content, bool textToSpeech, DiscordMessageCallback callback)
 {
     client.SendMessage(ID, content, 0, textToSpeech, callback);
 }