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

GroupInviteQuery Class

Selects an invitation within a group.

public sealed record GroupInviteQuery : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupInviteQuery>

Inheritance System.Object → ProtocolModel → GroupInviteQuery

Implements System.IEquatable<GroupInviteQuery>

Properties

GroupInviteQuery.GroupId Property

The group's canonical grp_ identifier.

public string GroupId { get; init; }

Property Value

System.String

GroupInviteQuery.InviteId Property

The invitation's canonical inv_ identifier.

public string InviteId { get; init; }

Property Value

System.String

Methods

GroupInviteQuery.Validate(NetworkContext) Method

Validates the group and invitation identifiers.

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.