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 SourceFileName
name of file attached.
Declaration
string FileName { get; set; }
Property Value
Type | Description |
---|---|
String |
Height
Height of file (if image).
Declaration
int? Height { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
Id
Attachment id.
Declaration
ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
ProxyUrl
A proxied url of file.
Declaration
string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
String |
Size
Size of file in bytes.
Declaration
int Size { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Url
Source url of file.
Declaration
string Url { get; set; }
Property Value
Type | Description |
---|---|
String |
Width
Width of file (if image).
Declaration
int? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |