-
-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix optional param being non-optional (#2869)
- Loading branch information
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
using System.Threading.Tasks; | ||
|
||
namespace Discord | ||
namespace Discord; | ||
|
||
/// <summary> | ||
/// Represents a generic news channel in a guild that can send and receive messages. | ||
/// </summary> | ||
public interface INewsChannel : ITextChannel | ||
{ | ||
/// <summary> | ||
/// Represents a generic news channel in a guild that can send and receive messages. | ||
/// Follow this channel to send messages to a target channel. | ||
/// </summary> | ||
public interface INewsChannel : ITextChannel | ||
{ | ||
/// <summary> | ||
/// Follow this channel to send messages to a target channel. | ||
/// </summary> | ||
/// <returns> | ||
/// The Id of the created webhook. | ||
/// </returns> | ||
Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options); | ||
} | ||
/// <returns> | ||
/// The Id of the created webhook. | ||
/// </returns> | ||
Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options = null); | ||
} |