Class Attachment
Inheritance
System.Object
Attachment
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord
Assembly: Discord.Net.Rest.dll
Syntax
public class Attachment : IAttachment
Properties
| Improve this Doc View SourceFilename
Declaration
public string Filename { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Height
Declaration
public int? Height { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Id
Declaration
public ulong Id { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
ProxyUrl
Declaration
public string ProxyUrl { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Size
Declaration
public int Size { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Url
Declaration
public string Url { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Width
Declaration
public int? Width { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Methods
| Improve this Doc View SourceToString()
Returns the filename of this attachment.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A string containing the filename of this attachment. |
Overrides
System.Object.ToString()