nim-chat-sdk/chat_sdk/segment_message.proto

17 lines
524 B
Protocol Buffer
Raw Permalink Normal View History

2025-07-23 15:25:04 +08:00
syntax = "proto3";
message SegmentMessageProto {
// hash of the entire original message
bytes entire_message_hash = 1;
// Index of this segment within the entire original message
uint32 index = 2;
// Total number of segments the entire original message is divided into
uint32 segments_count = 3;
// The payload data for this particular segment
bytes payload = 4;
// Index of this parity segment
uint32 parity_segment_index = 5;
// Total number of parity segments
uint32 parity_segments_count = 6;
}