Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Client

MessageInfo Class

Contains a verified and decrypted direct message retained in local storage.

public sealed class MessageInfo

Inheritance System.Object → MessageInfo

Properties

MessageInfo.Attachments Property

The content references attached to the message.

public System.Collections.Generic.IReadOnlyList<Meshline.Models.Protocol.ContentReference>? Attachments { get; init; }

Property Value

System.Collections.Generic.IReadOnlyList<ContentReference>

MessageInfo.Body Property

The optional plaintext message body.

public Meshline.Models.Protocol.MessageBody? Body { get; init; }

Property Value

MessageBody

MessageInfo.CreatedAt Property

The creation time.

public System.DateTimeOffset CreatedAt { get; init; }

Property Value

System.DateTimeOffset

MessageInfo.Key Property

The message reference consisting of the sender account and message identifier.

public Meshline.Models.Client.MessageRef Key { get; init; }

Property Value

MessageRef

MessageInfo.Recipient Property

The CAIP-10 account identifier of the message recipient.

public string Recipient { get; init; }

Property Value

System.String

MessageInfo.ReplyTo Property

The referenced direct message being replied to, or null for a new message.

public Meshline.Models.Client.MessageRef? ReplyTo { get; init; }

Property Value

MessageRef

MessageInfo.SenderDeviceId Property

The identifier of the device that signed the message.

public string SenderDeviceId { get; init; }

Property Value

System.String