Class Attachment
Assembly: Discord.Net.Rest.dll
Syntax
public class Attachment : object, IAttachment
Properties
|
Improve this Doc
View Source
ContentType
Declaration
public string ContentType { get; }
Property Value
|
Improve this Doc
View Source
Description
Declaration
public string Description { get; }
Property Value
|
Improve this Doc
View Source
Duration
Declaration
public double? Duration { get; }
Property Value
|
Improve this Doc
View Source
Ephemeral
Declaration
public bool Ephemeral { get; }
Property Value
|
Improve this Doc
View Source
Filename
Declaration
public string Filename { get; }
Property Value
|
Improve this Doc
View Source
Flags
Gets flags related to this to this attachment.
Declaration
public AttachmentFlags Flags { get; }
Property Value
|
Improve this Doc
View Source
Height
Declaration
public int? Height { get; }
Property Value
|
Improve this Doc
View Source
Id
Declaration
Property Value
|
Improve this Doc
View Source
ProxyUrl
Declaration
public string ProxyUrl { get; }
Property Value
|
Improve this Doc
View Source
Size
Declaration
Property Value
|
Improve this Doc
View Source
Url
Declaration
public string Url { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string Waveform { get; }
Property Value
|
Improve this Doc
View Source
Width
Declaration
public int? Width { get; }
Property Value
Methods
|
Improve this Doc
View Source
ToString()
Returns the filename of this attachment.
Declaration
public override string ToString()
Returns
Type |
Description |
String |
A string containing the filename of this attachment.
|
Implements