Signal-Android/app/src/main/proto/Database.proto

80 lines
1.8 KiB
Protocol Buffer
Raw Normal View History

/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
syntax = "proto3";
package signal;
option java_package = "org.thoughtcrime.securesms.database.model.databaseprotos";
option java_multiple_files = true;
message ReactionList {
message Reaction {
string emoji = 1;
uint64 author = 2;
uint64 sentTime = 3;
uint64 receivedTime = 4;
}
repeated Reaction reactions = 1;
}
import "SignalService.proto";
import "DecryptedGroups.proto";
message DecryptedGroupV2Context {
signalservice.GroupContextV2 context = 1;
DecryptedGroupChange change = 2;
DecryptedGroup groupState = 3;
DecryptedGroup previousGroupState = 4;
}
2020-05-05 12:13:53 -03:00
message TemporalAuthCredentialResponse {
int32 date = 1;
bytes authCredentialResponse = 2;
}
message TemporalAuthCredentialResponses {
repeated TemporalAuthCredentialResponse credentialResponse = 1;
}
message AudioWaveFormData {
int64 durationUs = 1;
bytes waveForm = 2;
}
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;
}
2020-11-20 15:42:46 -05:00
message GroupCallUpdateDetails {
string eraId = 1;
string startedCallUuid = 2;
int64 startedCallTimestamp = 3;
repeated string inCallUuids = 4;
bool isCallFull = 5;
2020-11-20 15:42:46 -05:00
}