Search Results for

    Show / Hide Table of Contents

    Class DiscordAttachmentData

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

    Inheritance
    Object
    DiscordAttachmentData
    Implements
    IEquatable<DiscordAttachmentData>
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Core.Common.API.DataModels
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordAttachmentData : IEquatable<DiscordAttachmentData>

    Properties

    | Improve this Doc View Source

    FileName

    name of file attached.

    Declaration
    [JsonPropertyName("filename")]
    public string FileName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Height

    Height of file (if image).

    Declaration
    [JsonPropertyName("height")]
    public int? Height { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    Id

    Attachment id.

    Declaration
    [JsonPropertyName("id")]
    public ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    ProxyUrl

    A proxied url of file.

    Declaration
    [JsonPropertyName("proxy_url")]
    public string ProxyUrl { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Size

    Size of file in bytes.

    Declaration
    [JsonPropertyName("size")]
    public int Size { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Url

    Source url of file.

    Declaration
    [JsonPropertyName("url")]
    public string Url { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Width

    Width of file (if image).

    Declaration
    [JsonPropertyName("width")]
    public int? Width { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>

    Implements

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