Interface INewsChannel
Represents a generic news channel in a guild that can send and receive messages.
Inherited Members
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface INewsChannel : ITextChannel, IMessageChannel, IMentionable, INestedChannel, IIntegrationChannel, IGuildChannel, IChannel, ISnowflakeEntity, IEntity<ulong>, IDeletable
Methods
| Improve this Doc View SourceFollowAnnouncementChannelAsync(UInt64, RequestOptions)
Follow this channel to send messages to a target channel.
Declaration
Task<ulong> FollowAnnouncementChannelAsync(ulong channelId, RequestOptions options)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | channelId | |
RequestOptions | options |
Returns
Type | Description |
---|---|
Task<UInt64> | The Id of the created webhook. |