Fix optional param being non-optional (#2869)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user