Interface IDiscordEmbedField
Represents a discord Embed Field Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Embed
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordEmbedField
Properties
| Improve this Doc View SourceInline
Whether or not this field should display inline.
Declaration
bool? Inline { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
Name
Name of the field.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Value
Value of the field.
Declaration
string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToDataModel()
Converts the model back to a discord data model so that it can be send to discord.
Declaration
DiscordEmbedFieldData ToDataModel()
Returns
Type | Description |
---|---|
DiscordEmbedFieldData | The converted DiscordEmbedFieldData. |