Fix optional param being non-optional (#2869)
This commit is contained in:
@@ -1,18 +1,17 @@
|
|||||||
using System.Threading.Tasks;
|
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>
|
/// <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>
|
/// </summary>
|
||||||
public interface INewsChannel : ITextChannel
|
/// <returns>
|
||||||
{
|
/// The Id of the created webhook.
|
||||||
/// <summary>
|
/// </returns>
|
||||||
/// Follow this channel to send messages to a target channel.
|
Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options = null);
|
||||||
/// </summary>
|
|
||||||
/// <returns>
|
|
||||||
/// The Id of the created webhook.
|
|
||||||
/// </returns>
|
|
||||||
Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user