Table of Contents

Class RestChannel

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

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

ChannelType

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 RequestOptions

The options to be used when sending the request.

Returns

Task