This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
4,298 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
import "Global.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoClientMuteRoom"; | ||
|
||
message ClientMuteRoom { | ||
Request request = 1; | ||
uint64 room_id = 2; | ||
RoomMute room_mute = 3; | ||
} | ||
|
||
message ClientMuteRoomResponse { | ||
Response response = 1; | ||
uint64 room_id = 2; | ||
RoomMute room_mute = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoClientPinRoom"; | ||
|
||
message ClientPinRoom { | ||
Request request = 1; | ||
uint64 room_id = 2; | ||
bool pin = 3; | ||
} | ||
|
||
message ClientPinRoomResponse { | ||
Response response = 1; | ||
uint64 room_id = 2; | ||
uint64 pin_id = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoClientRoomReport"; | ||
|
||
message ClientRoomReport { | ||
Request request = 1; | ||
uint64 room_id = 2; | ||
uint64 message_id = 3; | ||
|
||
enum Reason { | ||
OTHER = 0; | ||
SPAM = 1; | ||
PORNOGRAPHY = 2; | ||
VIOLENCE = 3; | ||
ABUSE = 4; | ||
} | ||
Reason reason = 4; | ||
|
||
string description = 5; | ||
} | ||
|
||
message ClientRoomReportResponse { | ||
Response response = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoUserProfileGetBio"; | ||
|
||
message UserProfileGetBio { | ||
Request request = 1; | ||
} | ||
|
||
message UserProfileGetBioResponse { | ||
Response response = 1; | ||
string bio = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoUserProfileBio"; | ||
|
||
message UserProfileSetBio { | ||
Request request = 1; | ||
string bio = 2; | ||
} | ||
|
||
message UserProfileSetBioResponse { | ||
Response response = 1; | ||
string bio = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoUserReport"; | ||
|
||
message UserReport { | ||
Request request = 1; | ||
uint64 user_id = 2; | ||
|
||
enum Reason { | ||
OTHER = 0; | ||
SPAM = 1; | ||
ABUSE = 2; | ||
FAKE_ACCOUNT = 3; | ||
} | ||
Reason reason = 3; | ||
|
||
string description = 4; | ||
} | ||
|
||
message UserReportResponse { | ||
Response response = 1; | ||
} |
Oops, something went wrong.