Inherits
Object
Class Channel
Represents a channel
Constructors
Channel()
Initializes a new instance of the Channel class.
Declaration
public Channel();
Properties
Id
Gets the channel's id
Declaration
public int Id {get; }
Property Value
Type | Description |
---|---|
Int32 | The channel's id. |
Type
Gets the channel's type
Declaration
public ChannelTypes Type {get; }
Property Value
Type | Description |
---|---|
ChannelTypes | The type of channel. |
Methods
GetMessage(System.Int32)
Gets the message with the specified id.
Declaration
public Message GetMessage(int messageId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | messageId | Message id. |
Returns
Type | Description |
---|---|
Message | The message. |