message ack receice and reactions protobuf
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2026-03-06 11:59:47 +01:00
parent f6531e344e
commit d23ab73cf9
4 changed files with 204 additions and 72 deletions

View File

@@ -153,18 +153,23 @@ message PackedUserMessage {
}
message ConversationStatus {
string uuid = 1; // uuid of message, or uuid of related message if uuid_action is not empty
int32 uuid_action = 2; // empty => normal message, 1: receivedack, 2: processedack, 3:reaction
string reply_to_uuid = 3; // this message replies to the specified uuid
uint64 local_sequence = 4 ; // seq number in local conversation for custom reordering
uint64 sent = 5 ; // timestamp of the message sent
uint64 received = 6; // timestamp of the message received
uint64 processed = 7; // timestamp of the message processed
ContactCard my_next_identity = 8;
int32 peer_next_identity_ack = 9; // version of the new peer accepted id
string uuid = 1; // uuid of message, or uuid of related message if uuid_action is not empty
repeated Reaction reactions = 2; // reaction to the message per peer
string reply_to_uuid = 3; // this message replies to the specified uuid
uint64 local_sequence = 4 ; // seq number in local conversation for custom reordering
uint64 sent = 5 ; // timestamp of the message sent
uint64 received = 6; // timestamp of the message received
uint64 processed = 7; // timestamp of the message processed
ContactCard my_next_identity = 8;
int32 peer_next_identity_ack = 9; // version of the new peer accepted id
}
message Reaction {
string reaction = 1;
string contact_uuid = 2;
}
message Group{
string name = 1;
repeated ContactCard members = 2;