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

GroupMemberUnban Class

Clears group bans for the listed accounts.

public sealed record GroupMemberUnban : Meshline.Models.Protocol.GroupManagementOperation, System.IEquatable<Meshline.Models.Protocol.GroupMemberUnban>

Inheritance System.Object → ProtocolModel → TypedProtocolModel → GroupManagementOperation → GroupMemberUnban

Implements System.IEquatable<GroupMemberUnban>

Constructors

GroupMemberUnban() Constructor

Clears group bans for the listed accounts.

public GroupMemberUnban();

Properties

GroupMemberUnban.Accounts Property

The account identifiers affected by the operation.

public System.Collections.Immutable.ImmutableArray<string> Accounts { get; init; }

Property Value

System.Collections.Immutable.ImmutableArray<System.String>

Methods

GroupMemberUnban.Validate(NetworkContext) Method

Validates management-chain fields and the accounts whose bans are cleared.

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.