Table of Contents

Class DiscordAttachment

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents an attachment for a message.

public class DiscordAttachment : SnowflakeObject
Inheritance
DiscordAttachment
Inherited Members

Properties

Ephemeral

Gets whether this attachment is ephemeral.

FileName

Gets the name of the file.

FileSize

Gets the file size in bytes.

Height

Gets the height. Applicable only if the attachment is an image.

MediaType

Gets the media, or MIME, type of the file.

ProxyUrl

Gets the proxied URL of the file.

Url

Gets the URL of the file.

Width

Gets the width. Applicable only if the attachment is an image.