Browse Source

Replace note block

pull/1161/head
Still Hsu 7 years ago
parent
commit
8f64c04599
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
1 changed files with 10 additions and 8 deletions
  1. +10
    -8
      src/Discord.Net.Core/Entities/Channels/ITextChannel.cs

+ 10
- 8
src/Discord.Net.Core/Entities/Channels/ITextChannel.cs View File

@@ -29,22 +29,24 @@ namespace Discord
/// <summary>
/// Bulk-deletes multiple messages.
/// </summary>
/// <param name="messages">The messages to be bulk-deleted.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <remarks>
/// &gt; [!IMPORTANT]
/// &gt; This method can only remove messages that are posted within 14 days!
/// <note type="important">
/// This method can only remove messages that are posted within 14 days!
/// </note>
/// </remarks>
/// <param name="messages">The messages to be bulk-deleted.</param>
/// <param name="options">The options to be used when sending the request.</param>
Task DeleteMessagesAsync(IEnumerable<IMessage> messages, RequestOptions options = null);
/// <summary>
/// Bulk-deletes multiple messages.
/// </summary>
/// <param name="messageIds">The IDs of the messages to be bulk-deleted.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <remarks>
/// &gt; [!IMPORTANT]
/// &gt; This method can only remove messages that are posted within 14 days!
/// <note type="important">
/// This method can only remove messages that are posted within 14 days!
/// </note>
/// </remarks>
/// <param name="messageIds">The IDs of the messages to be bulk-deleted.</param>
/// <param name="options">The options to be used when sending the request.</param>
Task DeleteMessagesAsync(IEnumerable<ulong> messageIds, RequestOptions options = null);

/// <summary>


Loading…
Cancel
Save