Search Results for

    Show / Hide Table of Contents

    Interface IDiscordEmbedVideo

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

    Namespace: Color_Chan.Discord.Core.Common.Models.Embed
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordEmbedVideo

    Properties

    | Improve this Doc View Source

    Height

    Height of video.

    Declaration
    int? Height { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    ProxyUrl

    A proxied url of the video.

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

    Url

    Source url of video.

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

    Width

    Width of video.

    Declaration
    int? Width { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>

    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
    DiscordEmbedVideoData ToDataModel()
    Returns
    Type Description
    DiscordEmbedVideoData

    The converted DiscordEmbedVideoData.

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