Class StfuPayload
- Namespace
- NLightning.Domain.Protocol.Payloads
- Assembly
- NLightning.Domain.dll
Represents the payload for the stfu message.
public class StfuPayload : IMessagePayload
- Inheritance
-
StfuPayload
- Implements
- Inherited Members
Remarks
Initializes a new instance of the StfuPayload class.
Constructors
StfuPayload(ChannelId, bool)
Represents the payload for the stfu message.
public StfuPayload(ChannelId channelId, bool initiator)
Parameters
Remarks
Initializes a new instance of the StfuPayload class.
Properties
ChannelId
The channel_id this message refers to
public ChannelId ChannelId { get; }
Property Value
Initiator
1 if we're sending this message, 0 if we're responding
public bool Initiator { get; }