Add SyncMessageContext
The sync field on a push message content indicates that this is a sync message from a master or sibling device and what conversation it belongs to.
This commit is contained in:
parent
148410a826
commit
104b49c371
1 changed files with 10 additions and 4 deletions
|
@ -44,12 +44,18 @@ message PushMessageContent {
|
|||
optional AttachmentPointer avatar = 5;
|
||||
}
|
||||
|
||||
message SyncMessageContext {
|
||||
optional string destination = 1;
|
||||
optional uint64 timestamp = 2;
|
||||
}
|
||||
|
||||
enum Flags {
|
||||
END_SESSION = 1;
|
||||
}
|
||||
|
||||
optional string body = 1;
|
||||
repeated AttachmentPointer attachments = 2;
|
||||
optional GroupContext group = 3;
|
||||
optional uint32 flags = 4;
|
||||
optional string body = 1;
|
||||
repeated AttachmentPointer attachments = 2;
|
||||
optional GroupContext group = 3;
|
||||
optional uint32 flags = 4;
|
||||
optional SyncMessageContext sync = 5;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue