Class DiscordGuildWelcomeScreenChannel
Represents a channel in a welcome screen
Inheritance
System.Object
DiscordGuildWelcomeScreenChannel
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordGuildWelcomeScreenChannel
Constructors
| Improve this Doc View SourceDiscordGuildWelcomeScreenChannel(UInt64, String, DiscordEmoji)
Initializes a new instance of the DiscordGuildWelcomeScreenChannel class.
Declaration
public DiscordGuildWelcomeScreenChannel(ulong channelId, string description, DiscordEmoji emoji = null)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | channelId | The channel id. |
System.String | description | The description. |
DiscordEmoji | emoji | The emoji. |
Properties
| Improve this Doc View SourceChannelId
Gets the id of the channel.
Declaration
public ulong ChannelId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Description
Gets the description shown for the channel.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
EmojiId
Gets the emoji id if the emoji is custom, when applicable.
Declaration
public ulong? EmojiId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
EmojiName
Gets the name of the emoji if custom or the unicode character if standard, when applicable.
Declaration
public string EmojiName { get; }
Property Value
Type | Description |
---|---|
System.String |