global update and global fix
This commit is contained in:
@@ -34,6 +34,8 @@ service FamilyService {
|
||||
rpc RespondFamilyInvite (RespondFamilyInviteRequest) returns (FamilyInviteResponse);
|
||||
rpc ListFamilyInvites (ListFamilyInvitesRequest) returns (ListFamilyInvitesResponse);
|
||||
rpc GetFamilyPresence (GetFamilyGroupRequest) returns (FamilyPresenceResponse);
|
||||
rpc AddBotFatherToFamily (GetFamilyGroupRequest) returns (FamilyMemberResponse);
|
||||
rpc AddBotToFamily (AddBotToFamilyRequest) returns (FamilyMemberResponse);
|
||||
}
|
||||
|
||||
message AuthorizeRequest {
|
||||
@@ -195,6 +197,16 @@ message FamilyInviteUserCandidate {
|
||||
optional string phone = 4;
|
||||
optional string username = 5;
|
||||
bool hasAvatar = 6;
|
||||
bool isBot = 7;
|
||||
optional string botUsername = 8;
|
||||
optional string botId = 9;
|
||||
optional string ownerDisplayName = 10;
|
||||
}
|
||||
|
||||
message AddBotToFamilyRequest {
|
||||
string requesterId = 1;
|
||||
string groupId = 2;
|
||||
string botId = 3;
|
||||
}
|
||||
|
||||
message SearchFamilyInviteUsersResponse {
|
||||
@@ -254,6 +266,8 @@ message FamilyMemberResponse {
|
||||
string createdAt = 7;
|
||||
bool isVerified = 8;
|
||||
optional string verificationIcon = 9;
|
||||
bool isBot = 10;
|
||||
optional string botUsername = 11;
|
||||
}
|
||||
|
||||
message FamilyGroupResponse {
|
||||
@@ -264,6 +278,7 @@ message FamilyGroupResponse {
|
||||
string createdAt = 5;
|
||||
string updatedAt = 6;
|
||||
repeated FamilyMemberResponse members = 7;
|
||||
bool botFatherAvailable = 8;
|
||||
}
|
||||
|
||||
message ListFamilyGroupsResponse {
|
||||
|
||||
Reference in New Issue
Block a user