Table of Contents

Class EditMessage

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

An edit of an earlier message. Signal only lets authors edit their own messages, so the edited message is identified by TargetTimestamp together with the envelope's sender.

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

Constructors

EditMessage(long, DataMessage)

An edit of an earlier message. Signal only lets authors edit their own messages, so the edited message is identified by TargetTimestamp together with the envelope's sender.

public EditMessage(long TargetTimestamp, DataMessage Message)

Parameters

TargetTimestamp long

Timestamp of the edited message, as sent by the editing client.

Message DataMessage

The new version of the message; its Timestamp identifies this edit.

Properties

Message

The new version of the message; its Timestamp identifies this edit.

public DataMessage Message { get; init; }

Property Value

DataMessage

TargetTimestamp

Timestamp of the edited message, as sent by the editing client.

public long TargetTimestamp { get; init; }

Property Value

long