Table of Contents

Class FavoriteMedia

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class FavoriteMedia : Entity, IFavoriteMedia
Inheritance
object
FavoriteMedia
Implements

Properties

AltText

Alternative text description for accessibility.

public string? AltText { get; }

Property Value

string

AttachmentId

ID of the attachment storing the gif.

public ulong AttachmentId { get; }

Property Value

ulong

ContentHash

Hash of the file content for deduplication.

public string? ContentHash { get; }

Property Value

string

ContentType

MIME type of the gif file.

public string ContentType { get; }

Property Value

string

Duration

Duration of the video in seconds

public int? Duration { get; }

Property Value

int?

Filename

Original filename of the gif.

public string Filename { get; }

Property Value

string

Height

Height of the image or video in pixels.

public int? Height { get; }

Property Value

int?

Id

Source specific ID of the favorite media.

public string Id { get; }

Property Value

string

IsMediaVideo

Whether the gif is a video converted from GIF

public bool IsMediaVideo { get; }

Property Value

bool

KlipySlug

Klipy clip slug if the media was sourced from Klipy.

public string? KlipySlug { get; }

Property Value

string

Name

Display name of the gif.

public string Name { get; }

Property Value

string

Size

File size in bytes.

public int Size { get; }

Property Value

int

Tags

Tags for categorizing and searching the gif.

public string[] Tags { get; }

Property Value

string[]

TenorSlugId

Tenor view/- identifier if the media was sourced from Tenor.

public string? TenorSlugId { get; }

Property Value

string

Url

CDN URL to access the media.

public string Url { get; }

Property Value

string

UserId

ID of the user who owns this favorite media.

public ulong UserId { get; }

Property Value

ulong

Width

Width of the image or video in pixels.

public int? Width { get; }

Property Value

int?

Methods

Create(FluxerBaseClient, FavoriteMediaJson)

Create a FavoriteMedia object from json.

public static FavoriteMedia Create(FluxerBaseClient client, FavoriteMediaJson json)

Parameters

client FluxerBaseClient
json FavoriteMediaJson

Returns

FavoriteMedia