Table of Contents

Class EmbedMedia

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public class EmbedMedia : IEmbedMedia
Inheritance
object
EmbedMedia
Implements

Properties

ContentHash

The hash of the media content.

public string? ContentHash { get; set; }

Property Value

string

ContentType

The MIME type of the media.

public string? ContentType { get; set; }

Property Value

string

Description

The description of the media.

public string? Description { get; set; }

Property Value

string

Duration

The duration of the media in seconds.

public int? Duration { get; set; }

Property Value

int?

Flags

The bitwise flags for this media.

public ulong Flags { get; set; }

Property Value

ulong

Height

The height of the media in pixels.

public int? Height { get; set; }

Property Value

int?

Placeholder

The base64 encoded placeholder image for lazy loading.

public string? Placeholder { get; set; }

Property Value

string

ProxyUrl

The proxied URL of the media.

public string? ProxyUrl { get; set; }

Property Value

string

Url

The URL of the media.

public string Url { get; set; }

Property Value

string

Width

The width of the media in pixels.

public int? Width { get; set; }

Property Value

int?

Methods

Create(FluxerBaseClient, EmbedMediaJson?)

Create a EmbedMedia object from json.

public static EmbedMedia? Create(FluxerBaseClient client, EmbedMediaJson? json)

Parameters

client FluxerBaseClient
json EmbedMediaJson

Returns

EmbedMedia