Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

AccountGroupPrivateStateRequest Class

Requests private group membership state from another device of the same account.

public sealed record AccountGroupPrivateStateRequest : Meshline.Models.Protocol.TypedProtocolModel, System.IEquatable<Meshline.Models.Protocol.AccountGroupPrivateStateRequest>

Inheritance System.Object → ProtocolModel → TypedProtocolModel → AccountGroupPrivateStateRequest

Implements System.IEquatable<AccountGroupPrivateStateRequest>

Constructors

AccountGroupPrivateStateRequest() Constructor

Requests private group membership state from another device of the same account.

public AccountGroupPrivateStateRequest();

Properties

AccountGroupPrivateStateRequest.GroupId Property

The group's canonical grp_ identifier, or null to request all available private group states.

public string? GroupId { get; init; }

Property Value

System.String

Methods

AccountGroupPrivateStateRequest.Validate(NetworkContext) Method

Validates the optional group identifier in a private-state request.

public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context=null);

Parameters

context NetworkContext

The optional network context passed to nested validation when needed; field-only validation may ignore it.

Returns

ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.