Receive support for View Once photos

This commit is contained in:
Scott Nonnenberg 2019-06-26 12:33:13 -07:00
parent fccf1eec30
commit e62a1a7812
38 changed files with 1937 additions and 102 deletions

View file

@ -173,7 +173,8 @@ message DataMessage {
option allow_alias = true;
INITIAL = 0;
CURRENT = 0;
MESSAGE_TIMERS = 1;
CURRENT = 1;
}
optional string body = 1;
@ -188,6 +189,7 @@ message DataMessage {
repeated Preview preview = 10;
optional Sticker sticker = 11;
optional uint32 requiredProtocolVersion = 12;
optional uint32 messageTimer = 13;
}
message NullMessage {
@ -291,6 +293,11 @@ message SyncMessage {
optional Type type = 3;
}
message MessageTimerRead {
optional string sender = 1;
optional uint64 timestamp = 2;
}
optional Sent sent = 1;
optional Contacts contacts = 2;
optional Groups groups = 3;
@ -301,6 +308,7 @@ message SyncMessage {
optional Configuration configuration = 9;
optional bytes padding = 8;
repeated StickerPackOperation stickerPackOperation = 10;
optional MessageTimerRead messageTimerRead = 11;
}
message AttachmentPointer {