Class RestChannel
Represents a generic REST-based channel.
public class RestChannel : RestEntity<ulong>, IChannel, ISnowflakeEntity, IEntity<ulong>, IUpdateable
- Inheritance
-
RestChannel
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
ChannelType
Get the type of this channel.
public ChannelType ChannelType { get; }
Property Value
CreatedAt
Gets when the snowflake was created.
public virtual DateTimeOffset CreatedAt { get; }
Property Value
- DateTimeOffset
A DateTimeOffset representing when the entity was first created.
Methods
UpdateAsync(RequestOptions)
Updates this object's properties with its current state.
public virtual Task UpdateAsync(RequestOptions options = null)
Parameters
options
RequestOptionsThe options to be used when sending the request.