Class SubmitMessageParams
Advanced Submit Message Parameters, includes Segment Information.
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class SubmitMessageParams
Remarks
The hedera network does not validate the segment information submitted to a consensus topic. This metadata must be validated upon consumption and there can be gaps and inconsistencies in the resulting mirror HCS stream for the related topic.
Properties
| Improve this Doc View SourceIndex
The index of this segment (one based).
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ParentTxId
The transaction the created the first segment of the message. This acts as a correlation identifier to coalesce the segments of the message int one.
Declaration
public TxId ParentTxId { get; set; }
Property Value
Type | Description |
---|---|
TxId |
Remarks
This must be left to be null when sending the first segment of a message. The value of the transaction ID returned from the receipt or record will contain the value assocated with this parameter for the first segment. This value must be included in subsequent segments for this message.
Segment
The value of this segment of the message, limited to the 4K total Network Transaction Size.
Declaration
public ReadOnlyMemory<byte> Segment { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyMemory<Byte> |
Signatory
The signatory containing any additional private keys or callbacks to meet the key signing requirements for participants.
Declaration
public Signatory Signatory { get; set; }
Property Value
Type | Description |
---|---|
Signatory |
Topic
The address of the topic for the message.
Declaration
public Address Topic { get; set; }
Property Value
Type | Description |
---|---|
Address |
TotalSegmentCount
The total number of segments making up the whole of the message when assembled.
Declaration
public int TotalSegmentCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |