Table of Contents

Interface INewsChannel

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a generic news channel in a guild that can send and receive messages.

public interface INewsChannel : ITextChannel, IMessageChannel, IMentionable, INestedChannel, IIntegrationChannel, IGuildChannel, IChannel, ISnowflakeEntity, IEntity<ulong>, IDeletable
Inherited Members
Extension Methods

Methods

FollowAnnouncementChannelAsync(ulong, RequestOptions)

Follow this channel to send messages to a target channel.

Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options = null)

Parameters

channelId ulong
options RequestOptions

Returns

Task<ulong>

The Id of the created webhook.