Table of Contents

Class LinkPreview

Namespace
Signal.Domain.Messaging
Assembly
Signal.Domain.dll

A link preview card shown above the message text. Signal clients only render it if Url appears in the text, which Build() enforces.

public sealed record LinkPreview : IEquatable<LinkPreview>
Inheritance
LinkPreview
Implements
Inherited Members

Constructors

LinkPreview(string, string?, string?, string?)

A link preview card shown above the message text. Signal clients only render it if Url appears in the text, which Build() enforces.

public LinkPreview(string Url, string? Title = null, string? Description = null, string? Base64Thumbnail = null)

Parameters

Url string

The previewed http or https URL.

Title string

The card title.

Description string

The card description.

Base64Thumbnail string

The thumbnail image as base64 or data URI.

Properties

Base64Thumbnail

The thumbnail image as base64 or data URI.

public string? Base64Thumbnail { get; init; }

Property Value

string

Description

The card description.

public string? Description { get; init; }

Property Value

string

Title

The card title.

public string? Title { get; init; }

Property Value

string

Url

The previewed http or https URL.

public string Url { get; init; }

Property Value

string