Show / Hide Table of Contents

# Class SocketNewsChannel

Represents a WebSocket-based news channel in a guild that has the same properties as a SocketTextChannel.

##### Inheritance

System.Object
SocketEntity<System.UInt64>
SocketChannel
SocketGuildChannel
SocketTextChannel
SocketNewsChannel

##### Implements

ITextChannel
IMentionable
INestedChannel
IGuildChannel
IDeletable
ISocketMessageChannel
IMessageChannel
IChannel
ISnowflakeEntity
IEntity<System.UInt64>

##### Inherited Members

SocketTextChannel.Topic
SocketTextChannel.CategoryId
SocketTextChannel.Category
SocketTextChannel.SyncPermissionsAsync(RequestOptions)
SocketTextChannel.IsNsfw
SocketTextChannel.Mention
SocketTextChannel.CachedMessages
SocketTextChannel.Users
SocketTextChannel.ModifyAsync(Action<TextChannelProperties>, RequestOptions)
SocketTextChannel.GetCachedMessage(UInt64)
SocketTextChannel.GetMessageAsync(UInt64, RequestOptions)
SocketTextChannel.GetMessagesAsync(Int32, RequestOptions)
SocketTextChannel.GetMessagesAsync(UInt64, Direction, Int32, RequestOptions)
SocketTextChannel.GetMessagesAsync(IMessage, Direction, Int32, RequestOptions)
SocketTextChannel.GetCachedMessages(Int32)
SocketTextChannel.GetCachedMessages(UInt64, Direction, Int32)
SocketTextChannel.GetCachedMessages(IMessage, Direction, Int32)
SocketTextChannel.GetPinnedMessagesAsync(RequestOptions)
SocketTextChannel.SendMessageAsync(String, Boolean, Embed, RequestOptions)
SocketTextChannel.SendFileAsync(String, String, Boolean, Embed, RequestOptions, Boolean)
SocketTextChannel.SendFileAsync(Stream, String, String, Boolean, Embed, RequestOptions, Boolean)
SocketTextChannel.DeleteMessagesAsync(IEnumerable<IMessage>, RequestOptions)
SocketTextChannel.DeleteMessagesAsync(IEnumerable<UInt64>, RequestOptions)
SocketTextChannel.DeleteMessageAsync(UInt64, RequestOptions)
SocketTextChannel.DeleteMessageAsync(IMessage, RequestOptions)
SocketTextChannel.TriggerTypingAsync(RequestOptions)
SocketTextChannel.EnterTypingState(RequestOptions)
SocketTextChannel.GetUser(UInt64)
SocketTextChannel.CreateWebhookAsync(String, Stream, RequestOptions)
SocketTextChannel.GetWebhookAsync(UInt64, RequestOptions)
SocketTextChannel.GetWebhooksAsync(RequestOptions)
SocketTextChannel.CreateInviteAsync(Nullable<Int32>, Nullable<Int32>, Boolean, Boolean, RequestOptions)
SocketTextChannel.GetInvitesAsync(RequestOptions)
SocketTextChannel.ITextChannel.CreateWebhookAsync(String, Stream, RequestOptions)
SocketTextChannel.ITextChannel.GetWebhookAsync(UInt64, RequestOptions)
SocketTextChannel.ITextChannel.GetWebhooksAsync(RequestOptions)
SocketTextChannel.IGuildChannel.GetUserAsync(UInt64, CacheMode, RequestOptions)
SocketTextChannel.IMessageChannel.GetMessageAsync(UInt64, CacheMode, RequestOptions)
SocketTextChannel.IMessageChannel.GetPinnedMessagesAsync(RequestOptions)
SocketTextChannel.IMessageChannel.SendFileAsync(String, String, Boolean, Embed, RequestOptions, Boolean)
SocketTextChannel.IMessageChannel.SendFileAsync(Stream, String, String, Boolean, Embed, RequestOptions, Boolean)
SocketTextChannel.IMessageChannel.SendMessageAsync(String, Boolean, Embed, RequestOptions)
SocketTextChannel.INestedChannel.GetCategoryAsync(CacheMode, RequestOptions)
SocketGuildChannel.Guild
SocketGuildChannel.Name
SocketGuildChannel.Position
SocketGuildChannel.PermissionOverwrites
SocketGuildChannel.ModifyAsync(Action<GuildChannelProperties>, RequestOptions)
SocketGuildChannel.DeleteAsync(RequestOptions)
SocketGuildChannel.GetPermissionOverwrite(IUser)
SocketGuildChannel.GetPermissionOverwrite(IRole)
SocketGuildChannel.AddPermissionOverwriteAsync(IUser, OverwritePermissions, RequestOptions)
SocketGuildChannel.AddPermissionOverwriteAsync(IRole, OverwritePermissions, RequestOptions)
SocketGuildChannel.RemovePermissionOverwriteAsync(IUser, RequestOptions)
SocketGuildChannel.RemovePermissionOverwriteAsync(IRole, RequestOptions)
SocketGuildChannel.ToString()
SocketGuildChannel.IGuildChannel.Guild
SocketGuildChannel.IGuildChannel.GuildId
SocketGuildChannel.IGuildChannel.GetPermissionOverwrite(IRole)
SocketGuildChannel.IGuildChannel.GetPermissionOverwrite(IUser)
SocketGuildChannel.IGuildChannel.AddPermissionOverwriteAsync(IRole, OverwritePermissions, RequestOptions)
SocketGuildChannel.IGuildChannel.AddPermissionOverwriteAsync(IUser, OverwritePermissions, RequestOptions)
SocketGuildChannel.IGuildChannel.RemovePermissionOverwriteAsync(IRole, RequestOptions)
SocketGuildChannel.IGuildChannel.RemovePermissionOverwriteAsync(IUser, RequestOptions)
SocketGuildChannel.IChannel.GetUserAsync(UInt64, CacheMode, RequestOptions)
SocketChannel.CreatedAt
SocketChannel.IChannel.Name
SocketEntity<UInt64>.Id
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Discord.WebSocket

###### Assembly: Discord.Net.WebSocket.dll

##### Syntax

    public class SocketNewsChannel : SocketTextChannel, ITextChannel, IMentionable, INestedChannel, IGuildChannel, IDeletable, ISocketMessageChannel, IMessageChannel, IChannel, ISnowflakeEntity, IEntity<ulong>

##### Remarks

##### warning

The SlowModeInterval property is not supported for news channels.

### Properties

| Improve this Doc View Source

#### SlowModeInterval

Gets the current slow-mode delay for this channel.

##### Declaration

    public override int SlowModeInterval { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 | An System.Int32 representing the time in seconds required before the user can send another message; `0` if disabled.

##### Overrides

SocketTextChannel.SlowModeInterval

##### Remarks

##### important

This property is not supported by this type. Attempting to use this property will result in a System.NotSupportedException.

### Implements

ITextChannel
IMentionable
INestedChannel
IGuildChannel
IDeletable
ISocketMessageChannel
IMessageChannel
IChannel
ISnowflakeEntity
IEntity<TId>