Switched to a composed request object model for anonymous keys gRPC operations

This commit is contained in:
Jon Chambers
2023-07-27 14:49:55 -04:00
committed by Chris Eager
parent 6e5ffbe7b5
commit 2d132128e1
3 changed files with 37 additions and 33 deletions

View File

@@ -146,21 +146,14 @@ message GetPreKeysRequest {
message GetPreKeysAnonymousRequest {
/**
* The service identifier of the account for which to retrieve pre-keys.
* The request to retrieve pre-keys for a specific account/device(s).
*/
common.ServiceIdentifier target_identifier = 1;
/**
* The ID of the device associated with the targeted account for which to
* retrieve pre-keys. If not set, pre-keys are returned for all devices
* associated with the targeted account.
*/
uint64 device_id = 2;
GetPreKeysRequest request = 1;
/**
* The unidentified access key (UAK) for the targeted account.
*/
bytes unidentified_access_key = 3;
bytes unidentified_access_key = 2;
}
message GetPreKeysResponse {