This repository was archived by the owner on Oct 2, 2021. It is now read-only.
File tree 7 files changed +57
-0
lines changed
7 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ syntax = "proto3" ;
2
+ package proto ;
3
+ import "Request.proto" ;
4
+ import "Response.proto" ;
5
+
6
+ option java_package = "net.iGap.proto" ;
7
+ option java_outer_classname = "ProtoClientGetPromote" ;
8
+
9
+ message ClientGetPromote {
10
+ Request request = 1 ;
11
+ }
12
+
13
+ message ClientGetPromoteResponse {
14
+ Response response = 1 ;
15
+
16
+ message Promote {
17
+ enum Type {
18
+ USER = 0 ;
19
+ PUBLIC_ROOM = 1 ;
20
+ }
21
+ Type type = 1 ;
22
+
23
+ uint64 id = 2 ;
24
+ }
25
+
26
+ repeated Promote promote = 2 ;
27
+ }
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ message Room {
273
273
RoomMute room_mute = 15 ;
274
274
uint64 pin_id = 16 ;
275
275
RoomMessage pinned_message = 17 ;
276
+ uint32 priority = 18 ;
276
277
277
278
ChatRoom chat_room_extra = 11 ;
278
279
GroupRoom group_room_extra = 12 ;
Original file line number Diff line number Diff line change @@ -3695,6 +3695,19 @@ Internal server error for request [#617](../proto/README.md#action_617)
3695
3695
| ------------ | -------- | ---------- |
3696
3696
| * | * | * |
3697
3697
3698
+ ### Error 663 - CLIENT_GET_PROMOTE_BAD_PAYLOAD
3699
+ Bad payload for request [ #618 ] ( ../proto/README.md#action_618 )
3700
+
3701
+ | Minor Code | Detail | Reaction |
3702
+ | ------------ | -------- | ---------- |
3703
+ | * | * | * |
3704
+
3705
+ ### Error 664 - CLIENT_GET_PROMOTE_INTERNAL_SERVER_ERROR
3706
+ You are forbidden to do the action for request [ #618 ] ( ../proto/README.md#action_618 )
3707
+
3708
+ | Minor Code | Detail | Reaction |
3709
+ | ------------ | -------- | ---------- |
3710
+ | * | * | * |
3698
3711
3699
3712
# File Errors(7xx)
3700
3713
Original file line number Diff line number Diff line change 880
880
* 661 - [ CLIENT_REGISTER_DEVICE_INTERNAL_SERVER_ERROR] ( README.md#error-661-client_register_device_internal_server_error )
881
881
* 662 - [ CLIENT_REGISTER_DEVICE_FORBIDDEN] ( README.md#error-662-client_register_device_forbidden )
882
882
883
+ ---
884
+
885
+ * 663 - [ CLIENT_GET_PROMOTE_BAD_PAYLOAD] ( README.md#error-663-client_get_promote_bad_payload )
886
+ * 664 - [ CLIENT_GET_PROMOTE_INTERNAL_SERVER_ERROR] ( README.md#error-664-client_get_promote_internal_server_error )
887
+
883
888
# File errors 7xx
884
889
885
890
* 700 - [ FILE_UPLOAD_OPTION_BAD_PAYLOAD] ( README.md#error-700-file_upload_option_bad_payload )
Original file line number Diff line number Diff line change 321
321
| <a name =" action_30616 " >30616</a > | [ Details] ( ClientRoomReportResponse.md ) | [ ClientRoomReportResponse] ( ../../../../app/assets/proto/ClientRoomReport.proto ) |
322
322
| <a name =" action_617 " >617</a > | [ Details] ( ClientRegisterDevice.md ) | [ ClientRegisterDevice] ( ../../../../app/assets/proto/ClientRegisterDevice.proto ) |
323
323
| <a name =" action_30617 " >30617</a > | [ Details] ( ClientRegisterDeviceResponse.md ) | [ ClientRegisterDeviceResponse] ( ../../../../app/assets/proto/ClientRegisterDevice.proto ) |
324
+ | <a name =" action_618 " >618</a > | [ Details] ( ClientGetPromote.md ) | [ ClientGetPromote] ( ../../../../app/assets/proto/ClientGetPromote.proto ) |
325
+ | <a name =" action_30618 " >30618</a > | [ Details] ( ClientGetPromoteResponse.md ) | [ ClientGetPromoteResponse] ( ../../../../app/assets/proto/ClientGetPromote.proto ) |
324
326
325
327
# File 7xx , 307xx
326
328
Original file line number Diff line number Diff line change 161
161
* :o : [ PinRoom] ( client/PinRoom.md )
162
162
* [ RoomReport] ( client/RoomReport.md )
163
163
* [ RegisterDevice] ( client/RegisterDevice.md )
164
+ * [ GetPromote] ( client/GetPromote.md )
164
165
165
166
# File
166
167
* [ Upload] ( file/Upload.md )
Original file line number Diff line number Diff line change
1
+ Get promotes
2
+
3
+ # Request
4
+ message [ #618 ] ( ../../proto/README.md#action_618 )
5
+
6
+ # Response
7
+ message [ #30618 ] ( ../../proto/README.md#action_30618 )
8
+
You can’t perform that action at this time.
0 commit comments