Changes to View Once
This commit is contained in:
@@ -174,7 +174,8 @@ message DataMessage {
|
||||
|
||||
INITIAL = 0;
|
||||
MESSAGE_TIMERS = 1;
|
||||
CURRENT = 1;
|
||||
VIEW_ONCE = 2;
|
||||
CURRENT = 2;
|
||||
}
|
||||
|
||||
optional string body = 1;
|
||||
@@ -189,7 +190,7 @@ message DataMessage {
|
||||
repeated Preview preview = 10;
|
||||
optional Sticker sticker = 11;
|
||||
optional uint32 requiredProtocolVersion = 12;
|
||||
optional uint32 messageTimer = 13;
|
||||
optional bool isViewOnce = 14;
|
||||
}
|
||||
|
||||
message NullMessage {
|
||||
@@ -293,7 +294,7 @@ message SyncMessage {
|
||||
optional Type type = 3;
|
||||
}
|
||||
|
||||
message MessageTimerRead {
|
||||
message ViewOnceOpen {
|
||||
optional string sender = 1;
|
||||
optional uint64 timestamp = 2;
|
||||
}
|
||||
@@ -308,7 +309,7 @@ message SyncMessage {
|
||||
optional Configuration configuration = 9;
|
||||
optional bytes padding = 8;
|
||||
repeated StickerPackOperation stickerPackOperation = 10;
|
||||
optional MessageTimerRead messageTimerRead = 11;
|
||||
optional ViewOnceOpen viewOnceOpen = 11;
|
||||
}
|
||||
|
||||
message AttachmentPointer {
|
||||
|
Reference in New Issue
Block a user