Search Results for

    Show / Hide Table of Contents

    Interface IDiscordAttachment

    Represents a discord Attachment Structure API model. Docs: https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure

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

    Properties

    | Improve this Doc View Source

    FileName

    name of file attached.

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

    Height

    Height of file (if image).

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

    Id

    Attachment id.

    Declaration
    ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    ProxyUrl

    A proxied url of file.

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

    Size

    Size of file in bytes.

    Declaration
    int Size { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Url

    Source url of file.

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

    Width

    Width of file (if image).

    Declaration
    int? Width { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX