Class SocketNewsChannel
Represents a WebSocket-based news channel in a guild that has the same properties as a SocketTextChannel.
Implements
IEntity<System.UInt64>
Inherited Members
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 SourceSlowModeInterval
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; |
Overrides
Remarks
important
This property is not supported by this type. Attempting to use this property will result in a System.NotSupportedException.