Table of Contents

Interface IAttachment

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public interface IAttachment : ISnowflake
Inherited Members

Properties

ContentHash

The hash of the attachment content.

string? ContentHash { get; }

Property Value

string

ContentType

The MIME type of the attachment.

string ContentType { get; }

Property Value

string

Description

The description of the attachment.

string? Description { get; }

Property Value

string

Duration

The duration of the media in seconds.

ulong? Duration { get; }

Property Value

ulong?

ExpiresAt

The ISO 8601 timestamp when the attachment URL expires.

DateTimeOffset? ExpiresAt { get; }

Property Value

DateTimeOffset?

Filename

The name of the attached file.

string Filename { get; }

Property Value

string

Flags

Attachment flags.

AttachmentFlag Flags { get; }

Property Value

AttachmentFlag

Height

The height of the attachment in pixels (for images/videos).

int? Height { get; }

Property Value

int?

IsExpired

Whether the attachment URL has expired.

bool? IsExpired { get; }

Property Value

bool?

IsNsfw

Whether the attachment is flagged as NSFW.

bool? IsNsfw { get; }

Property Value

bool?

Placeholder

The base64 encoded placeholder image for lazy loading.

string? Placeholder { get; }

Property Value

string

ProxyUrl

The proxied URL of the attachment.

string? ProxyUrl { get; }

Property Value

string

Size

The size of the attachment in bytes.

ulong Size { get; }

Property Value

ulong

Title

The title of the attachment.

string? Title { get; }

Property Value

string

Url

The URL of the attachment.

string? Url { get; }

Property Value

string

Waveform

The base64 encoded audio waveform data.

string? Waveform { get; }

Property Value

string

Width

The width of the attachment in pixels (for images/videos).

int? Width { get; }

Property Value

int?