Class JsonAttachment
- Namespace
- NetCord.JsonModels
- Assembly
- NetCord.dll
public class JsonAttachment : JsonEntity
- Inheritance
-
JsonAttachment
- Inherited Members
-
Constructors
JsonAttachment()
Properties
ContentType
[JsonConverter(typeof(ContentTypeConverter))]
[JsonPropertyName("content_type")]
public ContentType? ContentType { get; set; }
Property Value
- ContentType
Description
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
- string
DurationSeconds
[JsonPropertyName("duration_secs")]
public double? DurationSeconds { get; set; }
Property Value
- double?
Ephemeral
[JsonPropertyName("ephemeral")]
public bool Ephemeral { get; set; }
Property Value
- bool
FileName
[JsonPropertyName("filename")]
public string FileName { get; set; }
Property Value
- string
Flags
[JsonPropertyName("flags")]
public AttachmentFlags Flags { get; set; }
Property Value
- AttachmentFlags
Height
[JsonPropertyName("height")]
public int? Height { get; set; }
Property Value
- int?
ProxyUrl
[JsonPropertyName("proxy_url")]
public string ProxyUrl { get; set; }
Property Value
- string
Size
[JsonPropertyName("size")]
public int Size { get; set; }
Property Value
- int
Title
[JsonPropertyName("title")]
public string? Title { get; set; }
Property Value
- string
Url
[JsonPropertyName("url")]
public string Url { get; set; }
Property Value
- string
[JsonPropertyName("waveform")]
public byte[]? Waveform { get; set; }
Property Value
- byte[]
Width
[JsonPropertyName("width")]
public int? Width { get; set; }
Property Value
- int?