2019-12-03 17:57:21 -04:00
|
|
|
/**
|
|
|
|
* Copyright (C) 2014-2016 Open Whisper Systems
|
|
|
|
*
|
|
|
|
* Licensed according to the LICENSE file in this repository.
|
|
|
|
*/
|
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package signal;
|
|
|
|
|
2020-04-06 15:53:01 -03:00
|
|
|
option java_package = "org.thoughtcrime.securesms.database.model.databaseprotos";
|
|
|
|
option java_multiple_files = true;
|
2019-12-03 17:57:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
message ReactionList {
|
|
|
|
message Reaction {
|
|
|
|
string emoji = 1;
|
|
|
|
uint64 author = 2;
|
|
|
|
uint64 sentTime = 3;
|
|
|
|
uint64 receivedTime = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
repeated Reaction reactions = 1;
|
|
|
|
}
|
2020-04-09 18:02:13 -03:00
|
|
|
|
|
|
|
|
|
|
|
import "SignalService.proto";
|
|
|
|
import "DecryptedGroups.proto";
|
|
|
|
|
|
|
|
message DecryptedGroupV2Context {
|
|
|
|
signalservice.GroupContextV2 context = 1;
|
|
|
|
DecryptedGroupChange change = 2;
|
|
|
|
DecryptedGroup groupState = 3;
|
|
|
|
}
|
2020-05-05 12:13:53 -03:00
|
|
|
|
|
|
|
message TemporalAuthCredentialResponse {
|
|
|
|
int32 date = 1;
|
|
|
|
bytes authCredentialResponse = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TemporalAuthCredentialResponses {
|
|
|
|
repeated TemporalAuthCredentialResponse credentialResponse = 1;
|
|
|
|
}
|
2020-06-01 18:10:10 -03:00
|
|
|
|
|
|
|
message AudioWaveFormData {
|
|
|
|
int64 durationUs = 1;
|
|
|
|
bytes waveForm = 2;
|
|
|
|
}
|
2020-07-15 16:15:15 -04:00
|
|
|
|
|
|
|
message ProfileChangeDetails {
|
|
|
|
message StringChange {
|
|
|
|
string previous = 1;
|
|
|
|
string new = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
StringChange profileNameChange = 1;
|
|
|
|
}
|
2020-08-05 16:45:52 -04:00
|
|
|
|
|
|
|
message BodyRangeList {
|
|
|
|
message BodyRange {
|
|
|
|
int32 start = 1;
|
|
|
|
int32 length = 2;
|
|
|
|
|
|
|
|
oneof associatedValue {
|
|
|
|
string mentionUuid = 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repeated BodyRange ranges = 1;
|
|
|
|
}
|