Search Results for

    Show / Hide Table of Contents

    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 Source

    Inline

    Whether or not this field should display inline.

    Declaration
    bool? Inline { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    Name

    Name of the field.

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Value

    Value of the field.

    Declaration
    string Value { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    ToDataModel()

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX