mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Re-organize gradle modules.
This commit is contained in:
committed by
jeffrey-signal
parent
f4863efb2e
commit
e162eb27c7
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* Copyright (C) 2019 Open Whisper Systems
|
||||
*
|
||||
* Licensed according to the LICENSE file in this repository.
|
||||
*/
|
||||
syntax = "proto2";
|
||||
|
||||
package textsecure;
|
||||
|
||||
import "SignalService.proto";
|
||||
|
||||
option java_package = "org.whispersystems.signalservice.internal.serialize.protos";
|
||||
option java_multiple_files = true;
|
||||
|
||||
message SignalServiceContentProto {
|
||||
optional AddressProto localAddress = 1;
|
||||
optional MetadataProto metadata = 2;
|
||||
oneof data {
|
||||
signalservice.DataMessage legacyDataMessage = 3;
|
||||
signalservice.Content content = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message MetadataProto {
|
||||
optional AddressProto address = 1;
|
||||
optional int32 senderDevice = 2;
|
||||
optional int64 timestamp = 3;
|
||||
optional int64 serverReceivedTimestamp = 5;
|
||||
optional int64 serverDeliveredTimestamp = 6;
|
||||
optional bool needsReceipt = 4;
|
||||
optional string serverGuid = 7;
|
||||
optional bytes groupId = 8;
|
||||
optional string destinationUuid = 9;
|
||||
}
|
||||
|
||||
message AddressProto {
|
||||
optional bytes uuid = 1;
|
||||
optional string e164 = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user