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

ContactInfo Class

Contains a contact's relationship, local alias, and authorization state in both directions.

public sealed class ContactInfo

Inheritance System.Object → ContactInfo

Properties

ContactInfo.AccountId Property

The account's CAIP-10 identifier.

public string AccountId { get; init; }

Property Value

System.String

ContactInfo.Alias Property

The optional private alias assigned to the contact.

public string? Alias { get; init; }

Property Value

System.String

ContactInfo.GrantFromContact Property

Whether the contact's grant currently permits sending messages to the contact.

public Meshline.Models.Client.ContactGrantState GrantFromContact { get; init; }

Property Value

ContactGrantState

ContactInfo.GrantToContact Property

Whether this account's grant currently permits the contact to send messages to it.

public Meshline.Models.Client.ContactGrantState GrantToContact { get; init; }

Property Value

ContactGrantState

ContactInfo.State Property

The current contact relationship state.

public Meshline.Models.Protocol.ContactRelationshipState State { get; init; }

Property Value

ContactRelationshipState

ContactInfo.UpdatedAt Property

The last update time.

public System.DateTimeOffset UpdatedAt { get; init; }

Property Value

System.DateTimeOffset