Search Results for

    Show / Hide Table of Contents

    Class DiscordEmbedFooter

    Represents a discord Embed Footer Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure

    Inheritance
    System.Object
    DiscordEmbedFooter
    Implements
    IDiscordEmbedFooter
    System.IEquatable<DiscordEmbedFooter>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Rest.Models.Embed
    Assembly: Color-Chan.Discord.Rest.dll
    Syntax
    public class DiscordEmbedFooter : IDiscordEmbedFooter, IEquatable<DiscordEmbedFooter>

    Constructors

    | Improve this Doc View Source

    DiscordEmbedFooter()

    Initializes a new DiscordEmbedFooter

    Declaration
    public DiscordEmbedFooter()
    | Improve this Doc View Source

    DiscordEmbedFooter(DiscordEmbedFooterData)

    Initializes a new DiscordEmbedFooter

    Declaration
    public DiscordEmbedFooter(DiscordEmbedFooterData data)
    Parameters
    Type Name Description
    DiscordEmbedFooterData data

    The data needed to create the DiscordEmbedFooter.

    Properties

    | Improve this Doc View Source

    IconUrl

    Url of footer icon (only supports http(s) and attachments).

    Declaration
    public string IconUrl { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ProxyIconUrl

    A proxied url of footer icon.

    Declaration
    public string ProxyIconUrl { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Text

    Footer text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.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
    public DiscordEmbedFooterData ToDataModel()
    Returns
    Type Description
    DiscordEmbedFooterData

    The converted DiscordEmbedFooterData.

    Implements

    IDiscordEmbedFooter
    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX