-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGroupSession.proto
More file actions
28 lines (23 loc) · 996 Bytes
/
GroupSession.proto
File metadata and controls
28 lines (23 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
syntax = "proto3";
package e2ees;
option java_package = "org.e2eelab.proto.e2ees";
option java_outer_classname = "GroupSessionProto";
option objc_class_prefix = "Objc";
option swift_prefix="Swift";
import "e2ees/E2eeAddress.proto";
import "e2ees/GroupInfo.proto";
/**
* The group session.
*/
message GroupSession {
string version = 1; // The version.
uint32 e2ees_pack_id = 2; // The E2EE Security pack ID.
string session_id = 3; // The group session ID.
E2eeAddress sender = 4; // The sender's address.
E2eeAddress session_owner = 5; // The group session owner's address.
GroupInfo group_info = 11; // The group information.
uint32 sequence = 12; // The sequence of the chain key.
bytes chain_key = 13; // The chain key.
bytes group_seed = 14; // The random seed generated by the group creator.
bytes associated_data = 15; // The associated data.
}