Members on this page
Meshline.Sdk
Meshline.Models.Protocol
ChannelReportRequest Class
Reports a channel post to its hosting relay with a reason.
public sealed record ChannelReportRequest : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.ChannelReportRequest>
Inheritance System.Object → ProtocolModel → ChannelReportRequest
Implements System.IEquatable<ChannelReportRequest>
Properties
ChannelReportRequest.ChannelId Property
The channel's canonical chan_ identifier.
public string ChannelId { get; init; }
Property Value
ChannelReportRequest.Reason Property
The human-readable reason associated with the operation.
public string Reason { get; init; }
Property Value
ChannelReportRequest.TargetSequence Property
The original timeline sequence of the channel post being modified or reported.
public long TargetSequence { get; init; }
Property Value
Methods
ChannelReportRequest.Validate(NetworkContext) Method
Validates the reported post reference and report reason.
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.