This commit is contained in:
@@ -17,6 +17,8 @@ service UsersService {
|
||||
rpc GetBlockedUsers (GetBlockedUsersRequest) returns (GetBlockedUsersResponse);
|
||||
rpc AddContact (AddContactRequest) returns (AddContactResponse);
|
||||
rpc GetContacts (GetContactsRequest) returns (GetContactsResponse);
|
||||
|
||||
rpc SystemGetProfileBatch(SystemGetProfileBatchRequest) returns (SystemGetProfileBatchResponse);
|
||||
}
|
||||
|
||||
message UserSettingsMessage {
|
||||
@@ -129,4 +131,20 @@ message GetBlockedUsersRequest {
|
||||
}
|
||||
message GetBlockedUsersResponse {
|
||||
repeated BlockedUserItem blocked_users = 1;
|
||||
}
|
||||
|
||||
message SystemGetProfileBatchRequest {
|
||||
repeated string user_ids = 1;
|
||||
}
|
||||
|
||||
message ProfileBasicItem {
|
||||
string id = 1;
|
||||
optional string email = 2;
|
||||
optional string phone = 3;
|
||||
optional string full_name = 4;
|
||||
bool is_public = 5;
|
||||
}
|
||||
|
||||
message SystemGetProfileBatchResponse {
|
||||
repeated ProfileBasicItem profiles = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user