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

GroupMemberNicknameUpdate Class

Updates or clears the sender's nickname inside encrypted group content.

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

Inheritance System.Object → ProtocolModel → TypedProtocolModel → GroupMemberNicknameUpdate

Implements System.IEquatable<GroupMemberNicknameUpdate>

Constructors

GroupMemberNicknameUpdate() Constructor

Updates or clears the sender's nickname inside encrypted group content.

public GroupMemberNicknameUpdate();

Properties

GroupMemberNicknameUpdate.Nickname Property

The member nickname to assign, or an explicit null to clear it.

public string? Nickname { get; init; }

Property Value

System.String

Methods

GroupMemberNicknameUpdate.Validate(NetworkContext) Method

Validates an assigned nickname's text and UTF-8 size, allowing null to clear it.

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.