Class FavoriteMedia
Fluxer entity with client attached.
public class FavoriteMedia : Entity, IFavoriteMedia
- Inheritance
-
objectFavoriteMedia
- Implements
Properties
AltText
Alternative text description for accessibility.
public string? AltText { get; }
Property Value
AttachmentId
ID of the attachment storing the gif.
public ulong AttachmentId { get; }
Property Value
ContentHash
Hash of the file content for deduplication.
public string? ContentHash { get; }
Property Value
ContentType
MIME type of the gif file.
public string ContentType { get; }
Property Value
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
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
IsMediaVideo
Whether the gif is a video converted from GIF
public bool IsMediaVideo { get; }
Property Value
KlipySlug
Klipy clip slug if the media was sourced from Klipy.
public string? KlipySlug { get; }
Property Value
Name
Display name of the gif.
public string Name { get; }
Property Value
Size
File size in bytes.
public int Size { get; }
Property Value
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
Url
CDN URL to access the media.
public string Url { get; }
Property Value
UserId
ID of the user who owns this favorite media.
public ulong UserId { get; }
Property Value
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
clientFluxerBaseClientjsonFavoriteMediaJson