steamutils 1.2.71 → 1.2.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/.idea/deployment.xml +21 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +4 -2
  5. package/free_packages.json +10048 -10048
  6. package/package.json +2 -1
  7. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  8. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  9. package/protos/csgo/clientmessages.proto +48 -48
  10. package/protos/csgo/connectionless_netmessages.proto +19 -19
  11. package/protos/csgo/cs_gameevents.proto +34 -34
  12. package/protos/csgo/cs_usercmd.proto +34 -34
  13. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  14. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  15. package/protos/csgo/demo.proto +160 -160
  16. package/protos/csgo/econ_gcmessages.proto +228 -228
  17. package/protos/csgo/engine_gcmessages.proto +14 -14
  18. package/protos/csgo/enums_clientserver.proto +1529 -1529
  19. package/protos/csgo/fatdemo.proto +125 -125
  20. package/protos/csgo/gameevents.proto +120 -120
  21. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  22. package/protos/csgo/gcsystemmsgs.proto +242 -242
  23. package/protos/csgo/netmessages.proto +604 -604
  24. package/protos/csgo/network_connection.proto +126 -126
  25. package/protos/csgo/networkbasetypes.proto +244 -244
  26. package/protos/csgo/networksystem_protomessages.proto +17 -17
  27. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  28. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  29. package/protos/csgo/steammessages.proto +597 -597
  30. package/protos/csgo/steammessages_base.proto +301 -301
  31. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  32. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  33. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  34. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  35. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  36. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  37. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  38. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  39. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  40. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  41. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  42. package/protos/csgo/te.proto +259 -259
  43. package/protos/csgo/uifontfile_format.proto +13 -13
  44. package/protos/csgo/usercmd.proto +38 -38
  45. package/protos/csgo/usermessages.proto +721 -721
  46. package/protos/csgo/valveextensions.proto +17 -17
  47. package/protos/google/protobuf/descriptor.proto +281 -281
  48. package/protos/steam/clientmetrics.proto +45 -45
  49. package/protos/steam/content_manifest.proto +62 -62
  50. package/protos/steam/contenthubs.proto +41 -41
  51. package/protos/steam/encrypted_app_ticket.proto +10 -10
  52. package/protos/steam/enums.proto +444 -444
  53. package/protos/steam/enums_clientserver.proto +1539 -1539
  54. package/protos/steam/enums_productinfo.proto +13 -13
  55. package/protos/steam/htmlmessages.proto +1027 -1027
  56. package/protos/steam/offline_ticket.proto +8 -8
  57. package/protos/steam/renderer/rendermessages.proto +893 -893
  58. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  59. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  60. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  61. package/protos/steam/steammessages_appoverview.proto +187 -187
  62. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  63. package/protos/steam/steammessages_base.proto +332 -332
  64. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  65. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  66. package/protos/steam/steammessages_client_objects.proto +645 -645
  67. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  68. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  69. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  70. package/protos/steam/steammessages_clientserver.proto +392 -392
  71. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  72. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  73. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  74. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  75. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  76. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  77. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  78. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  79. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  80. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  81. package/protos/steam/steammessages_clientsettings.proto +168 -168
  82. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  83. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  84. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  86. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  87. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  88. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  89. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  90. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  91. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  92. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  93. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  94. package/protos/steam/steammessages_hiddevices.proto +157 -157
  95. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  96. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  97. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  98. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  99. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  100. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  101. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  102. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  103. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  104. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  105. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  106. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  107. package/protos/steam/steammessages_remoteclient.proto +99 -99
  108. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  109. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  110. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  111. package/protos/steam/steammessages_remoteplay.proto +976 -976
  112. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  113. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  114. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  115. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  116. package/protos/steam/steammessages_siteserverui.proto +130 -130
  117. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  118. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  119. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  120. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  121. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  122. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  123. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  126. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  127. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_base.proto +24 -24
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_steamengine.proto +32 -32
  136. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  137. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  138. package/protos/steam/webuimessages_transport.proto +18 -18
  139. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  140. package/protos/webui/common.proto +5508 -5508
  141. package/protos/webui/common_base.proto +27 -27
  142. package/protos/webui/service_accountlinking.proto +27 -27
  143. package/protos/webui/service_accountprivacy.proto +42 -42
  144. package/protos/webui/service_auction.proto +97 -97
  145. package/protos/webui/service_authentication.proto +222 -222
  146. package/protos/webui/service_authenticationsupport.proto +74 -74
  147. package/protos/webui/service_broadcast.proto +562 -562
  148. package/protos/webui/service_chat.proto +11 -11
  149. package/protos/webui/service_chatroom.proto +810 -810
  150. package/protos/webui/service_chatusability.proto +107 -107
  151. package/protos/webui/service_clan.proto +41 -41
  152. package/protos/webui/service_clanchatrooms.proto +25 -25
  153. package/protos/webui/service_clanfaqs.proto +202 -202
  154. package/protos/webui/service_clientcomm.proto +150 -150
  155. package/protos/webui/service_clientmetrics.proto +63 -63
  156. package/protos/webui/service_cloud.proto +222 -222
  157. package/protos/webui/service_cloudconfigstore.proto +51 -51
  158. package/protos/webui/service_cloudgaming.proto +30 -30
  159. package/protos/webui/service_community.proto +365 -365
  160. package/protos/webui/service_econ.proto +134 -134
  161. package/protos/webui/service_embedded.proto +24 -24
  162. package/protos/webui/service_experimentservice.proto +6 -6
  163. package/protos/webui/service_fovasvideo.proto +15 -15
  164. package/protos/webui/service_friendmessages.proto +133 -133
  165. package/protos/webui/service_friendslist.proto +70 -70
  166. package/protos/webui/service_gamenotes.proto +15 -15
  167. package/protos/webui/service_helprequestlogs.proto +26 -26
  168. package/protos/webui/service_loyaltyrewards.proto +252 -252
  169. package/protos/webui/service_marketingmessages.proto +184 -184
  170. package/protos/webui/service_mobileapp.proto +18 -18
  171. package/protos/webui/service_mobileauth.proto +24 -24
  172. package/protos/webui/service_mobiledevice.proto +26 -26
  173. package/protos/webui/service_mobileperaccount.proto +31 -31
  174. package/protos/webui/service_news.proto +101 -101
  175. package/protos/webui/service_parental.proto +178 -178
  176. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  177. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  178. package/protos/webui/service_phone.proto +51 -51
  179. package/protos/webui/service_physicalgoods.proto +15 -15
  180. package/protos/webui/service_player.proto +885 -885
  181. package/protos/webui/service_promotioneventinvites.proto +50 -50
  182. package/protos/webui/service_promotionplanning.proto +72 -72
  183. package/protos/webui/service_publishedfile.proto +687 -687
  184. package/protos/webui/service_publishing.proto +119 -119
  185. package/protos/webui/service_quest.proto +127 -127
  186. package/protos/webui/service_salefeature.proto +315 -315
  187. package/protos/webui/service_saleitemrewards.proto +54 -54
  188. package/protos/webui/service_shoppingcart.proto +108 -108
  189. package/protos/webui/service_steamawards.proto +19 -19
  190. package/protos/webui/service_steamcharts.proto +75 -75
  191. package/protos/webui/service_steamengine.proto +36 -36
  192. package/protos/webui/service_steamlearn.proto +727 -727
  193. package/protos/webui/service_steamnotification.proto +84 -84
  194. package/protos/webui/service_steamtv.proto +495 -495
  195. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  196. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  197. package/protos/webui/service_storagedevicemanager.proto +104 -104
  198. package/protos/webui/service_store.proto +289 -289
  199. package/protos/webui/service_storeappsimilarity.proto +76 -76
  200. package/protos/webui/service_storebrowse.proto +73 -73
  201. package/protos/webui/service_storequery.proto +97 -97
  202. package/protos/webui/service_storesales.proto +15 -15
  203. package/protos/webui/service_storetopsellers.proto +44 -44
  204. package/protos/webui/service_systemmanager.proto +11 -11
  205. package/protos/webui/service_test_transporterror.proto +6 -6
  206. package/protos/webui/service_transportauth.proto +12 -12
  207. package/protos/webui/service_transportvalidation.proto +69 -69
  208. package/protos/webui/service_twofactor.proto +181 -181
  209. package/protos/webui/service_useraccount.proto +138 -138
  210. package/protos/webui/service_usergameactivity.proto +34 -34
  211. package/protos/webui/service_usergamenotes.proto +53 -53
  212. package/protos/webui/service_usernews.proto +68 -68
  213. package/protos/webui/service_userreviews.proto +96 -96
  214. package/protos/webui/service_video.proto +128 -128
  215. package/protos/webui/service_voicechat.proto +139 -139
  216. package/protos/webui/service_webrtc.proto +52 -52
  217. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
@@ -1,810 +1,810 @@
1
- import "common.proto";
2
- import "common_base.proto";
3
-
4
- message CChatMentions {
5
- optional bool mention_all = 1;
6
- optional bool mention_here = 2;
7
- repeated uint32 mention_accountids = 3;
8
- }
9
-
10
- message CChatRole {
11
- optional uint64 role_id = 1;
12
- optional string name = 2;
13
- optional uint32 ordinal = 3;
14
- }
15
-
16
- message CChatRoom_AckChatMessage_Notification {
17
- optional uint64 chat_group_id = 1;
18
- optional uint64 chat_id = 2;
19
- optional uint32 timestamp = 3;
20
- }
21
-
22
- message CChatRoom_AddRoleToUser_Request {
23
- optional uint64 chat_group_id = 1;
24
- optional uint64 role_id = 3;
25
- optional fixed64 steamid = 4;
26
- }
27
-
28
- message CChatRoom_AddRoleToUser_Response {
29
- }
30
-
31
- message CChatRoom_ChatMessageModified_Notification {
32
- optional uint64 chat_group_id = 1;
33
- optional uint64 chat_id = 2;
34
- repeated .CChatRoom_ChatMessageModified_Notification_ChatMessage messages = 3;
35
- }
36
-
37
- message CChatRoom_ChatMessageModified_Notification_ChatMessage {
38
- optional uint32 server_timestamp = 1;
39
- optional uint32 ordinal = 2;
40
- optional bool deleted = 3;
41
- }
42
-
43
- message CChatRoom_ChatRoomGroupRoomsChange_Notification {
44
- optional uint64 chat_group_id = 1;
45
- optional uint64 default_chat_id = 2;
46
- repeated .CChatRoomState chat_rooms = 3;
47
- }
48
-
49
- message CChatRoom_ChatRoomHeaderState_Notification {
50
- optional .CChatRoomGroupHeaderState header_state = 1;
51
- }
52
-
53
- message CChatRoom_CreateChatRoom_Request {
54
- optional uint64 chat_group_id = 1;
55
- optional string name = 2;
56
- optional bool allow_voice = 3;
57
- }
58
-
59
- message CChatRoom_CreateChatRoom_Response {
60
- optional .CChatRoomState chat_room = 1;
61
- }
62
-
63
- message CChatRoom_CreateChatRoomGroup_Request {
64
- optional fixed64 steamid_partner = 1;
65
- optional fixed64 steamid_invited = 2;
66
- optional string name = 3;
67
- repeated fixed64 steamid_invitees = 4;
68
- optional uint32 watching_broadcast_accountid = 6;
69
- optional uint64 watching_broadcast_channel_id = 7;
70
- }
71
-
72
- message CChatRoom_CreateChatRoomGroup_Response {
73
- optional uint64 chat_group_id = 1;
74
- optional .CChatRoomGroupState state = 2;
75
- optional .CUserChatRoomGroupState user_chat_state = 3;
76
- }
77
-
78
- message CChatRoom_CreateInviteLink_Request {
79
- optional uint64 chat_group_id = 1;
80
- optional uint32 seconds_valid = 2;
81
- optional uint64 chat_id = 3;
82
- }
83
-
84
- message CChatRoom_CreateInviteLink_Response {
85
- optional string invite_code = 1;
86
- optional uint32 seconds_valid = 2;
87
- }
88
-
89
- message CChatRoom_CreateRole_Request {
90
- optional uint64 chat_group_id = 1;
91
- optional string name = 2;
92
- }
93
-
94
- message CChatRoom_CreateRole_Response {
95
- optional .CChatRoleActions actions = 2;
96
- }
97
-
98
- message CChatRoom_DeleteChatMessages_Request {
99
- optional uint64 chat_group_id = 1;
100
- optional uint64 chat_id = 2;
101
- repeated .CChatRoom_DeleteChatMessages_Request_Message messages = 3;
102
- }
103
-
104
- message CChatRoom_DeleteChatMessages_Request_Message {
105
- optional uint32 server_timestamp = 1;
106
- optional uint32 ordinal = 2;
107
- }
108
-
109
- message CChatRoom_DeleteChatMessages_Response {
110
- }
111
-
112
- message CChatRoom_DeleteChatRoom_Request {
113
- optional uint64 chat_group_id = 1;
114
- optional uint64 chat_id = 2;
115
- }
116
-
117
- message CChatRoom_DeleteChatRoom_Response {
118
- }
119
-
120
- message CChatRoom_DeleteInviteLink_Request {
121
- optional uint64 chat_group_id = 1;
122
- optional string invite_code = 2;
123
- }
124
-
125
- message CChatRoom_DeleteInviteLink_Response {
126
- }
127
-
128
- message CChatRoom_DeleteRole_Request {
129
- optional uint64 chat_group_id = 1;
130
- optional uint64 role_id = 2;
131
- }
132
-
133
- message CChatRoom_DeleteRole_Response {
134
- }
135
-
136
- message CChatRoom_DeleteRoleFromUser_Request {
137
- optional uint64 chat_group_id = 1;
138
- optional uint64 role_id = 3;
139
- optional fixed64 steamid = 4;
140
- }
141
-
142
- message CChatRoom_DeleteRoleFromUser_Response {
143
- }
144
-
145
- message CChatRoom_EndMiniGameForChatRoomGroup_Request {
146
- optional uint64 chat_group_id = 1;
147
- optional uint64 chat_id = 2;
148
- optional uint64 minigame_id = 3;
149
- }
150
-
151
- message CChatRoom_EndMiniGameForChatRoomGroup_Response {
152
- }
153
-
154
- message CChatRoom_GetBanList_Request {
155
- optional uint64 chat_group_id = 1;
156
- }
157
-
158
- message CChatRoom_GetBanList_Response {
159
- repeated .CChatRoom_GetBanList_Response_BanInfo bans = 1;
160
- }
161
-
162
- message CChatRoom_GetBanList_Response_BanInfo {
163
- optional uint32 accountid = 1;
164
- optional uint32 accountid_actor = 2;
165
- optional uint32 time_banned = 3;
166
- optional string ban_reason = 4;
167
- }
168
-
169
- message CChatRoom_GetChatRoomGroupState_Request {
170
- optional uint64 chat_group_id = 1;
171
- }
172
-
173
- message CChatRoom_GetChatRoomGroupState_Response {
174
- optional .CChatRoomGroupState state = 1;
175
- }
176
-
177
- message CChatRoom_GetChatRoomGroupSummary_Request {
178
- optional uint64 chat_group_id = 1;
179
- }
180
-
181
- message CChatRoom_GetInviteInfo_Request {
182
- optional fixed64 steamid_invitee = 1;
183
- optional uint64 chat_group_id = 2;
184
- optional uint64 chat_id = 3;
185
- optional string invite_code = 4;
186
- }
187
-
188
- message CChatRoom_GetInviteInfo_Response {
189
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1;
190
- optional uint32 time_kick_expire = 2;
191
- optional bool banned = 3;
192
- }
193
-
194
- message CChatRoom_GetInviteLinkInfo_Request {
195
- optional string invite_code = 1;
196
- }
197
-
198
- message CChatRoom_GetInviteLinkInfo_Response {
199
- optional fixed64 steamid_sender = 3;
200
- optional uint32 time_expires = 4;
201
- optional uint64 chat_id = 6;
202
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8;
203
- optional .CUserChatRoomGroupState user_chat_group_state = 9;
204
- optional uint32 time_kick_expire = 10;
205
- optional bool banned = 11;
206
- }
207
-
208
- message CChatRoom_GetInviteLinksForGroup_Request {
209
- optional uint64 chat_group_id = 1;
210
- }
211
-
212
- message CChatRoom_GetInviteLinksForGroup_Response {
213
- repeated .CChatRoom_GetInviteLinksForGroup_Response_LinkInfo invite_links = 1;
214
- }
215
-
216
- message CChatRoom_GetInviteLinksForGroup_Response_LinkInfo {
217
- optional string invite_code = 1;
218
- optional fixed64 steamid_creator = 2;
219
- optional uint32 time_expires = 3;
220
- optional uint64 chat_id = 4;
221
- }
222
-
223
- message CChatRoom_GetInviteList_Request {
224
- optional uint64 chat_group_id = 1;
225
- }
226
-
227
- message CChatRoom_GetInviteList_Response {
228
- repeated .CChatRoomGroupInvite invites = 1;
229
- }
230
-
231
- message CChatRoom_GetMessageHistory_Request {
232
- optional uint64 chat_group_id = 1;
233
- optional uint64 chat_id = 2;
234
- optional uint32 last_time = 3;
235
- optional uint32 last_ordinal = 4;
236
- optional uint32 start_time = 5;
237
- optional uint32 start_ordinal = 6;
238
- optional uint32 max_count = 7;
239
- }
240
-
241
- message CChatRoom_GetMessageHistory_Response {
242
- repeated .CChatRoom_GetMessageHistory_Response_ChatMessage messages = 1;
243
- optional bool more_available = 4;
244
- }
245
-
246
- message CChatRoom_GetMessageHistory_Response_ChatMessage {
247
- optional uint32 sender = 1;
248
- optional uint32 server_timestamp = 2;
249
- optional string message = 3;
250
- optional uint32 ordinal = 4;
251
- optional .ServerMessage server_message = 5;
252
- optional bool deleted = 6;
253
- repeated .CChatRoom_GetMessageHistory_Response_ChatMessage_MessageReaction reactions = 7;
254
- }
255
-
256
- message CChatRoom_GetMessageHistory_Response_ChatMessage_MessageReaction {
257
- optional int32 reaction_type = 1 [(.description) = "enum"];
258
- optional string reaction = 2;
259
- optional uint32 num_reactors = 3;
260
- optional bool has_user_reacted = 4;
261
- }
262
-
263
- message CChatRoom_GetMessageReactionReactors_Request {
264
- optional uint64 chat_group_id = 1;
265
- optional uint64 chat_id = 2;
266
- optional uint32 server_timestamp = 3;
267
- optional uint32 ordinal = 4;
268
- optional int32 reaction_type = 5 [(.description) = "enum"];
269
- optional string reaction = 6;
270
- optional uint32 limit = 7;
271
- }
272
-
273
- message CChatRoom_GetMessageReactionReactors_Response {
274
- repeated uint32 reactors = 1;
275
- }
276
-
277
- message CChatRoom_GetMyChatRoomGroups_Request {
278
- }
279
-
280
- message CChatRoom_GetMyChatRoomGroups_Response {
281
- repeated .CChatRoomSummaryPair chat_room_groups = 1;
282
- }
283
-
284
- message CChatRoom_GetRoleActions_Request {
285
- optional uint64 chat_group_id = 1;
286
- optional uint64 role_id = 2;
287
- }
288
-
289
- message CChatRoom_GetRoleActions_Response {
290
- repeated .CChatRoleActions actions = 1;
291
- }
292
-
293
- message CChatRoom_GetRoles_Request {
294
- optional uint64 chat_group_id = 1;
295
- }
296
-
297
- message CChatRoom_GetRoles_Response {
298
- repeated .CChatRole roles = 1;
299
- }
300
-
301
- message CChatRoom_GetRolesForUser_Request {
302
- optional uint64 chat_group_id = 1;
303
- optional fixed64 steamid = 3;
304
- }
305
-
306
- message CChatRoom_GetRolesForUser_Response {
307
- repeated uint64 role_ids = 1;
308
- }
309
-
310
- message CChatRoom_IncomingChatMessage_Notification {
311
- optional uint64 chat_group_id = 1;
312
- optional uint64 chat_id = 2;
313
- optional fixed64 steamid_sender = 3;
314
- optional string message = 4;
315
- optional uint32 timestamp = 5;
316
- optional .CChatMentions mentions = 6;
317
- optional uint32 ordinal = 7;
318
- optional .ServerMessage server_message = 8;
319
- optional string message_no_bbcode = 9;
320
- optional string chat_name = 10;
321
- }
322
-
323
- message CChatRoom_InviteFriendToChatRoomGroup_Request {
324
- optional uint64 chat_group_id = 1;
325
- optional fixed64 steamid = 2;
326
- optional uint64 chat_id = 3;
327
- optional bool skip_friendsui_check = 4;
328
- }
329
-
330
- message CChatRoom_InviteFriendToChatRoomGroup_Response {
331
- }
332
-
333
- message CChatRoom_JoinChatRoomGroup_Request {
334
- optional uint64 chat_group_id = 1;
335
- optional string invite_code = 2;
336
- optional uint64 chat_id = 3;
337
- }
338
-
339
- message CChatRoom_JoinChatRoomGroup_Response {
340
- optional .CChatRoomGroupState state = 1;
341
- optional .CUserChatRoomGroupState user_chat_state = 3;
342
- optional uint64 join_chat_id = 4;
343
- optional uint32 time_expire = 5;
344
- }
345
-
346
- message CChatRoom_JoinMiniGameForChatRoomGroup_Request {
347
- optional uint64 chat_group_id = 1;
348
- optional uint64 chat_id = 2;
349
- }
350
-
351
- message CChatRoom_JoinMiniGameForChatRoomGroup_Response {
352
- optional uint64 minigame_id = 1;
353
- }
354
-
355
- message CChatRoom_JoinVoiceChat_Request {
356
- optional uint64 chat_group_id = 1;
357
- optional uint64 chat_id = 2;
358
- }
359
-
360
- message CChatRoom_JoinVoiceChat_Response {
361
- optional uint64 voice_chatid = 1;
362
- }
363
-
364
- message CChatRoom_KickUser_Request {
365
- optional uint64 chat_group_id = 1;
366
- optional fixed64 steamid = 2;
367
- optional int32 expiration = 3;
368
- }
369
-
370
- message CChatRoom_KickUser_Response {
371
- }
372
-
373
- message CChatRoom_LeaveChatRoomGroup_Request {
374
- optional uint64 chat_group_id = 1;
375
- }
376
-
377
- message CChatRoom_LeaveChatRoomGroup_Response {
378
- }
379
-
380
- message CChatRoom_LeaveVoiceChat_Request {
381
- optional uint64 chat_group_id = 1;
382
- optional uint64 chat_id = 2;
383
- }
384
-
385
- message CChatRoom_LeaveVoiceChat_Response {
386
- }
387
-
388
- message CChatRoom_MemberStateChange_Notification {
389
- optional uint64 chat_group_id = 1;
390
- optional .CChatRoomMember member = 2;
391
- optional int32 change = 3 [(.description) = "enum"];
392
- }
393
-
394
- message CChatRoom_MessageReaction_Notification {
395
- optional uint64 chat_group_id = 1;
396
- optional uint64 chat_id = 2;
397
- optional uint32 server_timestamp = 3;
398
- optional uint32 ordinal = 4;
399
- optional fixed64 reactor = 5;
400
- optional int32 reaction_type = 6 [(.description) = "enum"];
401
- optional string reaction = 7;
402
- optional bool is_add = 8;
403
- }
404
-
405
- message CChatRoom_MuteUser_Request {
406
- optional uint64 chat_group_id = 1;
407
- optional fixed64 steamid = 2;
408
- optional int32 expiration = 3;
409
- }
410
-
411
- message CChatRoom_MuteUser_Response {
412
- }
413
-
414
- message CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification {
415
- optional uint64 chat_id = 1;
416
- optional uint64 chat_group_id = 2;
417
- }
418
-
419
- message CChatRoom_RenameChatRoom_Request {
420
- optional uint64 chat_group_id = 1;
421
- optional uint64 chat_id = 2;
422
- optional string name = 3;
423
- }
424
-
425
- message CChatRoom_RenameChatRoom_Response {
426
- }
427
-
428
- message CChatRoom_RenameChatRoomGroup_Request {
429
- optional uint64 chat_group_id = 1;
430
- optional string name = 2;
431
- }
432
-
433
- message CChatRoom_RenameChatRoomGroup_Response {
434
- optional string name = 1;
435
- }
436
-
437
- message CChatRoom_RenameRole_Request {
438
- optional uint64 chat_group_id = 1;
439
- optional uint64 role_id = 2;
440
- optional string name = 3;
441
- }
442
-
443
- message CChatRoom_RenameRole_Response {
444
- }
445
-
446
- message CChatRoom_ReorderChatRoom_Request {
447
- optional uint64 chat_group_id = 1;
448
- optional uint64 chat_id = 2;
449
- optional uint64 move_after_chat_id = 3;
450
- }
451
-
452
- message CChatRoom_ReorderChatRoom_Response {
453
- }
454
-
455
- message CChatRoom_ReorderRole_Request {
456
- optional uint64 chat_group_id = 1;
457
- optional uint64 role_id = 2;
458
- optional uint32 ordinal = 3;
459
- }
460
-
461
- message CChatRoom_ReorderRole_Response {
462
- }
463
-
464
- message CChatRoom_ReplaceRoleActions_Request {
465
- optional uint64 chat_group_id = 1;
466
- optional uint64 role_id = 2;
467
- optional .CChatRoleActions actions = 4;
468
- }
469
-
470
- message CChatRoom_ReplaceRoleActions_Response {
471
- }
472
-
473
- message CChatRoom_RevokeInvite_Request {
474
- optional uint64 chat_group_id = 1;
475
- optional fixed64 steamid = 2;
476
- }
477
-
478
- message CChatRoom_RevokeInvite_Response {
479
- }
480
-
481
- message CChatRoom_SaveChatRoomGroup_Request {
482
- optional uint64 chat_group_id = 1;
483
- optional string name = 2;
484
- }
485
-
486
- message CChatRoom_SaveChatRoomGroup_Response {
487
- }
488
-
489
- message CChatRoom_SearchMembers_Request {
490
- optional uint64 chat_group_id = 1;
491
- optional uint64 search_id = 2;
492
- optional string search_text = 3;
493
- optional int32 max_results = 4;
494
- }
495
-
496
- message CChatRoom_SearchMembers_Response {
497
- repeated .CChatRoom_SearchMembers_Response_MemberMatch matching_members = 1;
498
- optional uint32 status_flags = 2;
499
- }
500
-
501
- message CChatRoom_SearchMembers_Response_MemberMatch {
502
- optional int32 accountid = 1;
503
- optional .CMsgClientPersonaState_Friend persona = 2;
504
- }
505
-
506
- message CChatRoom_SendChatMessage_Request {
507
- optional uint64 chat_group_id = 1;
508
- optional uint64 chat_id = 2;
509
- optional string message = 3;
510
- optional bool echo_to_sender = 4;
511
- }
512
-
513
- message CChatRoom_SendChatMessage_Response {
514
- optional string modified_message = 1;
515
- optional uint32 server_timestamp = 2;
516
- optional uint32 ordinal = 3;
517
- optional string message_without_bb_code = 4;
518
- }
519
-
520
- message CChatRoom_SetAppChatRoomGroupForceActive_Request {
521
- optional uint64 chat_group_id = 1;
522
- optional uint32 requesting_app_id = 2;
523
- }
524
-
525
- message CChatRoom_SetAppChatRoomGroupForceActive_Response {
526
- optional uint32 result = 1;
527
- repeated uint32 accounts_in_channel = 2;
528
- }
529
-
530
- message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification {
531
- optional uint64 chat_group_id = 1;
532
- optional uint32 requesting_app_id = 2;
533
- }
534
-
535
- message CChatRoom_SetChatRoomGroupAvatar_Request {
536
- optional uint64 chat_group_id = 1;
537
- optional bytes avatar_sha = 2;
538
- }
539
-
540
- message CChatRoom_SetChatRoomGroupAvatar_Response {
541
- }
542
-
543
- message CChatRoom_SetChatRoomGroupTagline_Request {
544
- optional uint64 chat_group_id = 1;
545
- optional string tagline = 2;
546
- }
547
-
548
- message CChatRoom_SetChatRoomGroupTagline_Response {
549
- }
550
-
551
- message CChatRoom_SetChatRoomGroupWatchingBroadcast_Request {
552
- optional uint64 chat_group_id = 1;
553
- optional uint32 watching_broadcast_accountid = 2;
554
- optional uint64 watching_broadcast_channel_id = 3;
555
- }
556
-
557
- message CChatRoom_SetChatRoomGroupWatchingBroadcast_Response {
558
- }
559
-
560
- message CChatRoom_SetSessionActiveChatRoomGroups_Request {
561
- repeated uint64 chat_group_ids = 1;
562
- repeated uint64 chat_groups_data_requested = 2;
563
- optional int32 virtualize_members_threshold = 3;
564
- }
565
-
566
- message CChatRoom_SetSessionActiveChatRoomGroups_Response {
567
- repeated .CChatRoomGroupState chat_states = 1;
568
- repeated uint64 virtualize_members_chat_group_ids = 2;
569
- }
570
-
571
- message CChatRoom_SetUserBanState_Request {
572
- optional uint64 chat_group_id = 1;
573
- optional fixed64 steamid = 2;
574
- optional bool ban_state = 3;
575
- }
576
-
577
- message CChatRoom_SetUserBanState_Response {
578
- }
579
-
580
- message CChatRoom_SetUserChatGroupPreferences_Request {
581
- optional uint64 chat_group_id = 1;
582
- optional .CChatRoom_SetUserChatGroupPreferences_Request_ChatGroupPreferences chat_group_preferences = 2;
583
- repeated .CChatRoom_SetUserChatGroupPreferences_Request_ChatRoomPreferences chat_room_preferences = 3;
584
- }
585
-
586
- message CChatRoom_SetUserChatGroupPreferences_Request_ChatGroupPreferences {
587
- optional int32 desktop_notification_level = 1 [(.description) = "enum"];
588
- optional int32 mobile_notification_level = 2 [(.description) = "enum"];
589
- optional bool unread_indicator_muted = 3;
590
- }
591
-
592
- message CChatRoom_SetUserChatGroupPreferences_Request_ChatRoomPreferences {
593
- optional uint64 chat_id = 1;
594
- optional int32 desktop_notification_level = 2 [(.description) = "enum"];
595
- optional int32 mobile_notification_level = 3 [(.description) = "enum"];
596
- optional bool unread_indicator_muted = 4;
597
- }
598
-
599
- message CChatRoom_SetUserChatGroupPreferences_Response {
600
- }
601
-
602
- message CChatRoom_UpdateMemberListView_Notification {
603
- optional uint64 chat_group_id = 1;
604
- optional uint64 view_id = 2;
605
- optional int32 start = 3;
606
- optional int32 end = 4;
607
- optional int32 client_changenumber = 5;
608
- optional bool delete_view = 6;
609
- repeated int32 persona_subscribe_accountids = 7;
610
- repeated int32 persona_unsubscribe_accountids = 8;
611
- }
612
-
613
- message CChatRoom_UpdateMessageReaction_Request {
614
- optional uint64 chat_group_id = 1;
615
- optional uint64 chat_id = 2;
616
- optional uint32 server_timestamp = 3;
617
- optional uint32 ordinal = 4;
618
- optional int32 reaction_type = 5 [(.description) = "enum"];
619
- optional string reaction = 6;
620
- optional bool is_add = 7;
621
- }
622
-
623
- message CChatRoom_UpdateMessageReaction_Response {
624
- optional uint32 num_reactors = 1;
625
- }
626
-
627
- message CChatRoomClient_MemberListViewUpdated_Notification {
628
- optional uint64 chat_group_id = 1;
629
- optional uint64 view_id = 2;
630
- optional .CChatRoomMemberListView view = 3;
631
- repeated .CChatRoomClient_MemberListViewUpdated_Notification_MemberListViewEntry members = 4;
632
- optional uint32 status_flags = 5;
633
- optional .CChatRoomMemberSummaryCounts member_summary = 6;
634
- repeated .CMsgClientPersonaState_Friend subscribed_personas = 7;
635
- }
636
-
637
- message CChatRoomClient_MemberListViewUpdated_Notification_MemberListViewEntry {
638
- optional int32 rank = 1;
639
- optional uint32 accountid = 2;
640
- optional .CMsgClientPersonaState_Friend persona = 3;
641
- }
642
-
643
- message CChatRoomGroupHeaderState {
644
- optional uint64 chat_group_id = 1;
645
- optional string chat_name = 2;
646
- optional uint32 clanid = 13;
647
- optional uint32 accountid_owner = 14;
648
- optional string tagline = 15;
649
- optional bytes avatar_sha = 16;
650
- optional uint64 default_role_id = 17;
651
- repeated .CChatRole roles = 18;
652
- repeated .CChatRoleActions role_actions = 19;
653
- optional uint32 watching_broadcast_accountid = 20;
654
- optional uint32 appid = 21;
655
- repeated .CChatPartyBeacon party_beacons = 22;
656
- optional uint64 watching_broadcast_channel_id = 23;
657
- optional uint64 active_minigame_id = 24;
658
- optional string avatar_ugc_url = 25;
659
- optional bool disabled = 26;
660
- }
661
-
662
- message CChatRoomGroupInvite {
663
- optional uint32 accountid = 1;
664
- optional uint32 accountid_actor = 2;
665
- optional uint32 time_invited = 3;
666
- }
667
-
668
- message CChatRoomGroupState {
669
- optional .CChatRoomGroupHeaderState header_state = 1;
670
- repeated .CChatRoomMember members = 2;
671
- optional uint64 default_chat_id = 4;
672
- repeated .CChatRoomState chat_rooms = 5;
673
- repeated .CChatRoomMember kicked = 7;
674
- }
675
-
676
- message CChatRoomMember {
677
- optional uint32 accountid = 1;
678
- optional int32 state = 3 [(.description) = "enum"];
679
- optional int32 rank = 4 [(.description) = "enum"];
680
- optional uint32 time_kick_expire = 6;
681
- repeated uint64 role_ids = 7;
682
- }
683
-
684
- message CChatRoomMemberListView {
685
- optional int32 start = 3;
686
- optional int32 end = 4;
687
- optional int32 total_count = 5;
688
- optional int32 client_changenumber = 6;
689
- optional int32 server_changenumber = 7;
690
- }
691
-
692
- message CChatRoomMemberSummaryCounts {
693
- optional int32 ingame = 1;
694
- optional int32 online = 2;
695
- optional int32 offline = 3;
696
- }
697
-
698
- message CChatRoomSummaryPair {
699
- optional .CUserChatRoomGroupState user_chat_group_state = 1;
700
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2;
701
- }
702
-
703
- message ChatRoomClient_NotifyChatGroupUserStateChanged_Notification {
704
- optional uint64 chat_group_id = 1;
705
- optional .CUserChatRoomGroupState user_chat_group_state = 2;
706
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3;
707
- optional int32 user_action = 4 [(.description) = "enum"];
708
- }
709
-
710
- message ChatRoomClient_NotifyChatRoomDisconnect_Notification {
711
- repeated uint64 chat_group_ids = 1;
712
- }
713
-
714
- message CUserChatRoomGroupState {
715
- optional uint64 chat_group_id = 1;
716
- optional uint32 time_joined = 2;
717
- repeated .CUserChatRoomState user_chat_room_state = 3;
718
- optional int32 desktop_notification_level = 4 [default = 0, (.description) = "enum"];
719
- optional int32 mobile_notification_level = 5 [default = 0, (.description) = "enum"];
720
- optional uint32 time_last_group_ack = 6;
721
- optional bool unread_indicator_muted = 7 [default = false];
722
- }
723
-
724
- message CUserChatRoomState {
725
- optional uint64 chat_id = 1;
726
- optional uint32 time_joined = 2;
727
- optional uint32 time_last_ack = 3;
728
- optional int32 desktop_notification_level = 4 [default = 0, (.description) = "enum"];
729
- optional int32 mobile_notification_level = 5 [default = 0, (.description) = "enum"];
730
- optional uint32 time_last_mention = 6;
731
- optional bool unread_indicator_muted = 7 [default = false];
732
- optional uint32 time_first_unread = 8;
733
- }
734
-
735
- message ServerMessage {
736
- optional int32 message = 1 [(.description) = "enum"];
737
- optional string string_param = 2;
738
- optional uint32 accountid_param = 3;
739
- }
740
-
741
- service ChatRoom {
742
- rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
743
- rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response);
744
- rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response);
745
- rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response);
746
- rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response);
747
- rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response);
748
- rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response);
749
- rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response);
750
- rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response);
751
- rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response);
752
- rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response);
753
- rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response);
754
- rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response);
755
- rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response);
756
- rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response);
757
- rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response);
758
- rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response);
759
- rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response);
760
- rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response);
761
- rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response);
762
- rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response);
763
- rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response);
764
- rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response);
765
- rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response);
766
- rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response);
767
- rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response);
768
- rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response);
769
- rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response);
770
- rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response);
771
- rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response);
772
- rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response);
773
- rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response);
774
- rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response);
775
- rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response);
776
- rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response);
777
- rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response);
778
- rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response);
779
- rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response);
780
- rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response);
781
- rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response);
782
- rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response);
783
- rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response);
784
- rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response);
785
- rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response);
786
- rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse);
787
- rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response);
788
- rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response);
789
- rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response);
790
- rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response);
791
- rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response);
792
- rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response);
793
- rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse);
794
- rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response);
795
- }
796
-
797
- service ChatRoomClient {
798
- rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
799
- rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse);
800
- rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse);
801
- rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse);
802
- rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse);
803
- rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse);
804
- rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse);
805
- rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse);
806
- rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse);
807
- rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse);
808
- rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse);
809
- }
810
-
1
+ import "common.proto";
2
+ import "common_base.proto";
3
+
4
+ message CChatMentions {
5
+ optional bool mention_all = 1;
6
+ optional bool mention_here = 2;
7
+ repeated uint32 mention_accountids = 3;
8
+ }
9
+
10
+ message CChatRole {
11
+ optional uint64 role_id = 1;
12
+ optional string name = 2;
13
+ optional uint32 ordinal = 3;
14
+ }
15
+
16
+ message CChatRoom_AckChatMessage_Notification {
17
+ optional uint64 chat_group_id = 1;
18
+ optional uint64 chat_id = 2;
19
+ optional uint32 timestamp = 3;
20
+ }
21
+
22
+ message CChatRoom_AddRoleToUser_Request {
23
+ optional uint64 chat_group_id = 1;
24
+ optional uint64 role_id = 3;
25
+ optional fixed64 steamid = 4;
26
+ }
27
+
28
+ message CChatRoom_AddRoleToUser_Response {
29
+ }
30
+
31
+ message CChatRoom_ChatMessageModified_Notification {
32
+ optional uint64 chat_group_id = 1;
33
+ optional uint64 chat_id = 2;
34
+ repeated .CChatRoom_ChatMessageModified_Notification_ChatMessage messages = 3;
35
+ }
36
+
37
+ message CChatRoom_ChatMessageModified_Notification_ChatMessage {
38
+ optional uint32 server_timestamp = 1;
39
+ optional uint32 ordinal = 2;
40
+ optional bool deleted = 3;
41
+ }
42
+
43
+ message CChatRoom_ChatRoomGroupRoomsChange_Notification {
44
+ optional uint64 chat_group_id = 1;
45
+ optional uint64 default_chat_id = 2;
46
+ repeated .CChatRoomState chat_rooms = 3;
47
+ }
48
+
49
+ message CChatRoom_ChatRoomHeaderState_Notification {
50
+ optional .CChatRoomGroupHeaderState header_state = 1;
51
+ }
52
+
53
+ message CChatRoom_CreateChatRoom_Request {
54
+ optional uint64 chat_group_id = 1;
55
+ optional string name = 2;
56
+ optional bool allow_voice = 3;
57
+ }
58
+
59
+ message CChatRoom_CreateChatRoom_Response {
60
+ optional .CChatRoomState chat_room = 1;
61
+ }
62
+
63
+ message CChatRoom_CreateChatRoomGroup_Request {
64
+ optional fixed64 steamid_partner = 1;
65
+ optional fixed64 steamid_invited = 2;
66
+ optional string name = 3;
67
+ repeated fixed64 steamid_invitees = 4;
68
+ optional uint32 watching_broadcast_accountid = 6;
69
+ optional uint64 watching_broadcast_channel_id = 7;
70
+ }
71
+
72
+ message CChatRoom_CreateChatRoomGroup_Response {
73
+ optional uint64 chat_group_id = 1;
74
+ optional .CChatRoomGroupState state = 2;
75
+ optional .CUserChatRoomGroupState user_chat_state = 3;
76
+ }
77
+
78
+ message CChatRoom_CreateInviteLink_Request {
79
+ optional uint64 chat_group_id = 1;
80
+ optional uint32 seconds_valid = 2;
81
+ optional uint64 chat_id = 3;
82
+ }
83
+
84
+ message CChatRoom_CreateInviteLink_Response {
85
+ optional string invite_code = 1;
86
+ optional uint32 seconds_valid = 2;
87
+ }
88
+
89
+ message CChatRoom_CreateRole_Request {
90
+ optional uint64 chat_group_id = 1;
91
+ optional string name = 2;
92
+ }
93
+
94
+ message CChatRoom_CreateRole_Response {
95
+ optional .CChatRoleActions actions = 2;
96
+ }
97
+
98
+ message CChatRoom_DeleteChatMessages_Request {
99
+ optional uint64 chat_group_id = 1;
100
+ optional uint64 chat_id = 2;
101
+ repeated .CChatRoom_DeleteChatMessages_Request_Message messages = 3;
102
+ }
103
+
104
+ message CChatRoom_DeleteChatMessages_Request_Message {
105
+ optional uint32 server_timestamp = 1;
106
+ optional uint32 ordinal = 2;
107
+ }
108
+
109
+ message CChatRoom_DeleteChatMessages_Response {
110
+ }
111
+
112
+ message CChatRoom_DeleteChatRoom_Request {
113
+ optional uint64 chat_group_id = 1;
114
+ optional uint64 chat_id = 2;
115
+ }
116
+
117
+ message CChatRoom_DeleteChatRoom_Response {
118
+ }
119
+
120
+ message CChatRoom_DeleteInviteLink_Request {
121
+ optional uint64 chat_group_id = 1;
122
+ optional string invite_code = 2;
123
+ }
124
+
125
+ message CChatRoom_DeleteInviteLink_Response {
126
+ }
127
+
128
+ message CChatRoom_DeleteRole_Request {
129
+ optional uint64 chat_group_id = 1;
130
+ optional uint64 role_id = 2;
131
+ }
132
+
133
+ message CChatRoom_DeleteRole_Response {
134
+ }
135
+
136
+ message CChatRoom_DeleteRoleFromUser_Request {
137
+ optional uint64 chat_group_id = 1;
138
+ optional uint64 role_id = 3;
139
+ optional fixed64 steamid = 4;
140
+ }
141
+
142
+ message CChatRoom_DeleteRoleFromUser_Response {
143
+ }
144
+
145
+ message CChatRoom_EndMiniGameForChatRoomGroup_Request {
146
+ optional uint64 chat_group_id = 1;
147
+ optional uint64 chat_id = 2;
148
+ optional uint64 minigame_id = 3;
149
+ }
150
+
151
+ message CChatRoom_EndMiniGameForChatRoomGroup_Response {
152
+ }
153
+
154
+ message CChatRoom_GetBanList_Request {
155
+ optional uint64 chat_group_id = 1;
156
+ }
157
+
158
+ message CChatRoom_GetBanList_Response {
159
+ repeated .CChatRoom_GetBanList_Response_BanInfo bans = 1;
160
+ }
161
+
162
+ message CChatRoom_GetBanList_Response_BanInfo {
163
+ optional uint32 accountid = 1;
164
+ optional uint32 accountid_actor = 2;
165
+ optional uint32 time_banned = 3;
166
+ optional string ban_reason = 4;
167
+ }
168
+
169
+ message CChatRoom_GetChatRoomGroupState_Request {
170
+ optional uint64 chat_group_id = 1;
171
+ }
172
+
173
+ message CChatRoom_GetChatRoomGroupState_Response {
174
+ optional .CChatRoomGroupState state = 1;
175
+ }
176
+
177
+ message CChatRoom_GetChatRoomGroupSummary_Request {
178
+ optional uint64 chat_group_id = 1;
179
+ }
180
+
181
+ message CChatRoom_GetInviteInfo_Request {
182
+ optional fixed64 steamid_invitee = 1;
183
+ optional uint64 chat_group_id = 2;
184
+ optional uint64 chat_id = 3;
185
+ optional string invite_code = 4;
186
+ }
187
+
188
+ message CChatRoom_GetInviteInfo_Response {
189
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1;
190
+ optional uint32 time_kick_expire = 2;
191
+ optional bool banned = 3;
192
+ }
193
+
194
+ message CChatRoom_GetInviteLinkInfo_Request {
195
+ optional string invite_code = 1;
196
+ }
197
+
198
+ message CChatRoom_GetInviteLinkInfo_Response {
199
+ optional fixed64 steamid_sender = 3;
200
+ optional uint32 time_expires = 4;
201
+ optional uint64 chat_id = 6;
202
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8;
203
+ optional .CUserChatRoomGroupState user_chat_group_state = 9;
204
+ optional uint32 time_kick_expire = 10;
205
+ optional bool banned = 11;
206
+ }
207
+
208
+ message CChatRoom_GetInviteLinksForGroup_Request {
209
+ optional uint64 chat_group_id = 1;
210
+ }
211
+
212
+ message CChatRoom_GetInviteLinksForGroup_Response {
213
+ repeated .CChatRoom_GetInviteLinksForGroup_Response_LinkInfo invite_links = 1;
214
+ }
215
+
216
+ message CChatRoom_GetInviteLinksForGroup_Response_LinkInfo {
217
+ optional string invite_code = 1;
218
+ optional fixed64 steamid_creator = 2;
219
+ optional uint32 time_expires = 3;
220
+ optional uint64 chat_id = 4;
221
+ }
222
+
223
+ message CChatRoom_GetInviteList_Request {
224
+ optional uint64 chat_group_id = 1;
225
+ }
226
+
227
+ message CChatRoom_GetInviteList_Response {
228
+ repeated .CChatRoomGroupInvite invites = 1;
229
+ }
230
+
231
+ message CChatRoom_GetMessageHistory_Request {
232
+ optional uint64 chat_group_id = 1;
233
+ optional uint64 chat_id = 2;
234
+ optional uint32 last_time = 3;
235
+ optional uint32 last_ordinal = 4;
236
+ optional uint32 start_time = 5;
237
+ optional uint32 start_ordinal = 6;
238
+ optional uint32 max_count = 7;
239
+ }
240
+
241
+ message CChatRoom_GetMessageHistory_Response {
242
+ repeated .CChatRoom_GetMessageHistory_Response_ChatMessage messages = 1;
243
+ optional bool more_available = 4;
244
+ }
245
+
246
+ message CChatRoom_GetMessageHistory_Response_ChatMessage {
247
+ optional uint32 sender = 1;
248
+ optional uint32 server_timestamp = 2;
249
+ optional string message = 3;
250
+ optional uint32 ordinal = 4;
251
+ optional .ServerMessage server_message = 5;
252
+ optional bool deleted = 6;
253
+ repeated .CChatRoom_GetMessageHistory_Response_ChatMessage_MessageReaction reactions = 7;
254
+ }
255
+
256
+ message CChatRoom_GetMessageHistory_Response_ChatMessage_MessageReaction {
257
+ optional int32 reaction_type = 1 [(.description) = "enum"];
258
+ optional string reaction = 2;
259
+ optional uint32 num_reactors = 3;
260
+ optional bool has_user_reacted = 4;
261
+ }
262
+
263
+ message CChatRoom_GetMessageReactionReactors_Request {
264
+ optional uint64 chat_group_id = 1;
265
+ optional uint64 chat_id = 2;
266
+ optional uint32 server_timestamp = 3;
267
+ optional uint32 ordinal = 4;
268
+ optional int32 reaction_type = 5 [(.description) = "enum"];
269
+ optional string reaction = 6;
270
+ optional uint32 limit = 7;
271
+ }
272
+
273
+ message CChatRoom_GetMessageReactionReactors_Response {
274
+ repeated uint32 reactors = 1;
275
+ }
276
+
277
+ message CChatRoom_GetMyChatRoomGroups_Request {
278
+ }
279
+
280
+ message CChatRoom_GetMyChatRoomGroups_Response {
281
+ repeated .CChatRoomSummaryPair chat_room_groups = 1;
282
+ }
283
+
284
+ message CChatRoom_GetRoleActions_Request {
285
+ optional uint64 chat_group_id = 1;
286
+ optional uint64 role_id = 2;
287
+ }
288
+
289
+ message CChatRoom_GetRoleActions_Response {
290
+ repeated .CChatRoleActions actions = 1;
291
+ }
292
+
293
+ message CChatRoom_GetRoles_Request {
294
+ optional uint64 chat_group_id = 1;
295
+ }
296
+
297
+ message CChatRoom_GetRoles_Response {
298
+ repeated .CChatRole roles = 1;
299
+ }
300
+
301
+ message CChatRoom_GetRolesForUser_Request {
302
+ optional uint64 chat_group_id = 1;
303
+ optional fixed64 steamid = 3;
304
+ }
305
+
306
+ message CChatRoom_GetRolesForUser_Response {
307
+ repeated uint64 role_ids = 1;
308
+ }
309
+
310
+ message CChatRoom_IncomingChatMessage_Notification {
311
+ optional uint64 chat_group_id = 1;
312
+ optional uint64 chat_id = 2;
313
+ optional fixed64 steamid_sender = 3;
314
+ optional string message = 4;
315
+ optional uint32 timestamp = 5;
316
+ optional .CChatMentions mentions = 6;
317
+ optional uint32 ordinal = 7;
318
+ optional .ServerMessage server_message = 8;
319
+ optional string message_no_bbcode = 9;
320
+ optional string chat_name = 10;
321
+ }
322
+
323
+ message CChatRoom_InviteFriendToChatRoomGroup_Request {
324
+ optional uint64 chat_group_id = 1;
325
+ optional fixed64 steamid = 2;
326
+ optional uint64 chat_id = 3;
327
+ optional bool skip_friendsui_check = 4;
328
+ }
329
+
330
+ message CChatRoom_InviteFriendToChatRoomGroup_Response {
331
+ }
332
+
333
+ message CChatRoom_JoinChatRoomGroup_Request {
334
+ optional uint64 chat_group_id = 1;
335
+ optional string invite_code = 2;
336
+ optional uint64 chat_id = 3;
337
+ }
338
+
339
+ message CChatRoom_JoinChatRoomGroup_Response {
340
+ optional .CChatRoomGroupState state = 1;
341
+ optional .CUserChatRoomGroupState user_chat_state = 3;
342
+ optional uint64 join_chat_id = 4;
343
+ optional uint32 time_expire = 5;
344
+ }
345
+
346
+ message CChatRoom_JoinMiniGameForChatRoomGroup_Request {
347
+ optional uint64 chat_group_id = 1;
348
+ optional uint64 chat_id = 2;
349
+ }
350
+
351
+ message CChatRoom_JoinMiniGameForChatRoomGroup_Response {
352
+ optional uint64 minigame_id = 1;
353
+ }
354
+
355
+ message CChatRoom_JoinVoiceChat_Request {
356
+ optional uint64 chat_group_id = 1;
357
+ optional uint64 chat_id = 2;
358
+ }
359
+
360
+ message CChatRoom_JoinVoiceChat_Response {
361
+ optional uint64 voice_chatid = 1;
362
+ }
363
+
364
+ message CChatRoom_KickUser_Request {
365
+ optional uint64 chat_group_id = 1;
366
+ optional fixed64 steamid = 2;
367
+ optional int32 expiration = 3;
368
+ }
369
+
370
+ message CChatRoom_KickUser_Response {
371
+ }
372
+
373
+ message CChatRoom_LeaveChatRoomGroup_Request {
374
+ optional uint64 chat_group_id = 1;
375
+ }
376
+
377
+ message CChatRoom_LeaveChatRoomGroup_Response {
378
+ }
379
+
380
+ message CChatRoom_LeaveVoiceChat_Request {
381
+ optional uint64 chat_group_id = 1;
382
+ optional uint64 chat_id = 2;
383
+ }
384
+
385
+ message CChatRoom_LeaveVoiceChat_Response {
386
+ }
387
+
388
+ message CChatRoom_MemberStateChange_Notification {
389
+ optional uint64 chat_group_id = 1;
390
+ optional .CChatRoomMember member = 2;
391
+ optional int32 change = 3 [(.description) = "enum"];
392
+ }
393
+
394
+ message CChatRoom_MessageReaction_Notification {
395
+ optional uint64 chat_group_id = 1;
396
+ optional uint64 chat_id = 2;
397
+ optional uint32 server_timestamp = 3;
398
+ optional uint32 ordinal = 4;
399
+ optional fixed64 reactor = 5;
400
+ optional int32 reaction_type = 6 [(.description) = "enum"];
401
+ optional string reaction = 7;
402
+ optional bool is_add = 8;
403
+ }
404
+
405
+ message CChatRoom_MuteUser_Request {
406
+ optional uint64 chat_group_id = 1;
407
+ optional fixed64 steamid = 2;
408
+ optional int32 expiration = 3;
409
+ }
410
+
411
+ message CChatRoom_MuteUser_Response {
412
+ }
413
+
414
+ message CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification {
415
+ optional uint64 chat_id = 1;
416
+ optional uint64 chat_group_id = 2;
417
+ }
418
+
419
+ message CChatRoom_RenameChatRoom_Request {
420
+ optional uint64 chat_group_id = 1;
421
+ optional uint64 chat_id = 2;
422
+ optional string name = 3;
423
+ }
424
+
425
+ message CChatRoom_RenameChatRoom_Response {
426
+ }
427
+
428
+ message CChatRoom_RenameChatRoomGroup_Request {
429
+ optional uint64 chat_group_id = 1;
430
+ optional string name = 2;
431
+ }
432
+
433
+ message CChatRoom_RenameChatRoomGroup_Response {
434
+ optional string name = 1;
435
+ }
436
+
437
+ message CChatRoom_RenameRole_Request {
438
+ optional uint64 chat_group_id = 1;
439
+ optional uint64 role_id = 2;
440
+ optional string name = 3;
441
+ }
442
+
443
+ message CChatRoom_RenameRole_Response {
444
+ }
445
+
446
+ message CChatRoom_ReorderChatRoom_Request {
447
+ optional uint64 chat_group_id = 1;
448
+ optional uint64 chat_id = 2;
449
+ optional uint64 move_after_chat_id = 3;
450
+ }
451
+
452
+ message CChatRoom_ReorderChatRoom_Response {
453
+ }
454
+
455
+ message CChatRoom_ReorderRole_Request {
456
+ optional uint64 chat_group_id = 1;
457
+ optional uint64 role_id = 2;
458
+ optional uint32 ordinal = 3;
459
+ }
460
+
461
+ message CChatRoom_ReorderRole_Response {
462
+ }
463
+
464
+ message CChatRoom_ReplaceRoleActions_Request {
465
+ optional uint64 chat_group_id = 1;
466
+ optional uint64 role_id = 2;
467
+ optional .CChatRoleActions actions = 4;
468
+ }
469
+
470
+ message CChatRoom_ReplaceRoleActions_Response {
471
+ }
472
+
473
+ message CChatRoom_RevokeInvite_Request {
474
+ optional uint64 chat_group_id = 1;
475
+ optional fixed64 steamid = 2;
476
+ }
477
+
478
+ message CChatRoom_RevokeInvite_Response {
479
+ }
480
+
481
+ message CChatRoom_SaveChatRoomGroup_Request {
482
+ optional uint64 chat_group_id = 1;
483
+ optional string name = 2;
484
+ }
485
+
486
+ message CChatRoom_SaveChatRoomGroup_Response {
487
+ }
488
+
489
+ message CChatRoom_SearchMembers_Request {
490
+ optional uint64 chat_group_id = 1;
491
+ optional uint64 search_id = 2;
492
+ optional string search_text = 3;
493
+ optional int32 max_results = 4;
494
+ }
495
+
496
+ message CChatRoom_SearchMembers_Response {
497
+ repeated .CChatRoom_SearchMembers_Response_MemberMatch matching_members = 1;
498
+ optional uint32 status_flags = 2;
499
+ }
500
+
501
+ message CChatRoom_SearchMembers_Response_MemberMatch {
502
+ optional int32 accountid = 1;
503
+ optional .CMsgClientPersonaState_Friend persona = 2;
504
+ }
505
+
506
+ message CChatRoom_SendChatMessage_Request {
507
+ optional uint64 chat_group_id = 1;
508
+ optional uint64 chat_id = 2;
509
+ optional string message = 3;
510
+ optional bool echo_to_sender = 4;
511
+ }
512
+
513
+ message CChatRoom_SendChatMessage_Response {
514
+ optional string modified_message = 1;
515
+ optional uint32 server_timestamp = 2;
516
+ optional uint32 ordinal = 3;
517
+ optional string message_without_bb_code = 4;
518
+ }
519
+
520
+ message CChatRoom_SetAppChatRoomGroupForceActive_Request {
521
+ optional uint64 chat_group_id = 1;
522
+ optional uint32 requesting_app_id = 2;
523
+ }
524
+
525
+ message CChatRoom_SetAppChatRoomGroupForceActive_Response {
526
+ optional uint32 result = 1;
527
+ repeated uint32 accounts_in_channel = 2;
528
+ }
529
+
530
+ message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification {
531
+ optional uint64 chat_group_id = 1;
532
+ optional uint32 requesting_app_id = 2;
533
+ }
534
+
535
+ message CChatRoom_SetChatRoomGroupAvatar_Request {
536
+ optional uint64 chat_group_id = 1;
537
+ optional bytes avatar_sha = 2;
538
+ }
539
+
540
+ message CChatRoom_SetChatRoomGroupAvatar_Response {
541
+ }
542
+
543
+ message CChatRoom_SetChatRoomGroupTagline_Request {
544
+ optional uint64 chat_group_id = 1;
545
+ optional string tagline = 2;
546
+ }
547
+
548
+ message CChatRoom_SetChatRoomGroupTagline_Response {
549
+ }
550
+
551
+ message CChatRoom_SetChatRoomGroupWatchingBroadcast_Request {
552
+ optional uint64 chat_group_id = 1;
553
+ optional uint32 watching_broadcast_accountid = 2;
554
+ optional uint64 watching_broadcast_channel_id = 3;
555
+ }
556
+
557
+ message CChatRoom_SetChatRoomGroupWatchingBroadcast_Response {
558
+ }
559
+
560
+ message CChatRoom_SetSessionActiveChatRoomGroups_Request {
561
+ repeated uint64 chat_group_ids = 1;
562
+ repeated uint64 chat_groups_data_requested = 2;
563
+ optional int32 virtualize_members_threshold = 3;
564
+ }
565
+
566
+ message CChatRoom_SetSessionActiveChatRoomGroups_Response {
567
+ repeated .CChatRoomGroupState chat_states = 1;
568
+ repeated uint64 virtualize_members_chat_group_ids = 2;
569
+ }
570
+
571
+ message CChatRoom_SetUserBanState_Request {
572
+ optional uint64 chat_group_id = 1;
573
+ optional fixed64 steamid = 2;
574
+ optional bool ban_state = 3;
575
+ }
576
+
577
+ message CChatRoom_SetUserBanState_Response {
578
+ }
579
+
580
+ message CChatRoom_SetUserChatGroupPreferences_Request {
581
+ optional uint64 chat_group_id = 1;
582
+ optional .CChatRoom_SetUserChatGroupPreferences_Request_ChatGroupPreferences chat_group_preferences = 2;
583
+ repeated .CChatRoom_SetUserChatGroupPreferences_Request_ChatRoomPreferences chat_room_preferences = 3;
584
+ }
585
+
586
+ message CChatRoom_SetUserChatGroupPreferences_Request_ChatGroupPreferences {
587
+ optional int32 desktop_notification_level = 1 [(.description) = "enum"];
588
+ optional int32 mobile_notification_level = 2 [(.description) = "enum"];
589
+ optional bool unread_indicator_muted = 3;
590
+ }
591
+
592
+ message CChatRoom_SetUserChatGroupPreferences_Request_ChatRoomPreferences {
593
+ optional uint64 chat_id = 1;
594
+ optional int32 desktop_notification_level = 2 [(.description) = "enum"];
595
+ optional int32 mobile_notification_level = 3 [(.description) = "enum"];
596
+ optional bool unread_indicator_muted = 4;
597
+ }
598
+
599
+ message CChatRoom_SetUserChatGroupPreferences_Response {
600
+ }
601
+
602
+ message CChatRoom_UpdateMemberListView_Notification {
603
+ optional uint64 chat_group_id = 1;
604
+ optional uint64 view_id = 2;
605
+ optional int32 start = 3;
606
+ optional int32 end = 4;
607
+ optional int32 client_changenumber = 5;
608
+ optional bool delete_view = 6;
609
+ repeated int32 persona_subscribe_accountids = 7;
610
+ repeated int32 persona_unsubscribe_accountids = 8;
611
+ }
612
+
613
+ message CChatRoom_UpdateMessageReaction_Request {
614
+ optional uint64 chat_group_id = 1;
615
+ optional uint64 chat_id = 2;
616
+ optional uint32 server_timestamp = 3;
617
+ optional uint32 ordinal = 4;
618
+ optional int32 reaction_type = 5 [(.description) = "enum"];
619
+ optional string reaction = 6;
620
+ optional bool is_add = 7;
621
+ }
622
+
623
+ message CChatRoom_UpdateMessageReaction_Response {
624
+ optional uint32 num_reactors = 1;
625
+ }
626
+
627
+ message CChatRoomClient_MemberListViewUpdated_Notification {
628
+ optional uint64 chat_group_id = 1;
629
+ optional uint64 view_id = 2;
630
+ optional .CChatRoomMemberListView view = 3;
631
+ repeated .CChatRoomClient_MemberListViewUpdated_Notification_MemberListViewEntry members = 4;
632
+ optional uint32 status_flags = 5;
633
+ optional .CChatRoomMemberSummaryCounts member_summary = 6;
634
+ repeated .CMsgClientPersonaState_Friend subscribed_personas = 7;
635
+ }
636
+
637
+ message CChatRoomClient_MemberListViewUpdated_Notification_MemberListViewEntry {
638
+ optional int32 rank = 1;
639
+ optional uint32 accountid = 2;
640
+ optional .CMsgClientPersonaState_Friend persona = 3;
641
+ }
642
+
643
+ message CChatRoomGroupHeaderState {
644
+ optional uint64 chat_group_id = 1;
645
+ optional string chat_name = 2;
646
+ optional uint32 clanid = 13;
647
+ optional uint32 accountid_owner = 14;
648
+ optional string tagline = 15;
649
+ optional bytes avatar_sha = 16;
650
+ optional uint64 default_role_id = 17;
651
+ repeated .CChatRole roles = 18;
652
+ repeated .CChatRoleActions role_actions = 19;
653
+ optional uint32 watching_broadcast_accountid = 20;
654
+ optional uint32 appid = 21;
655
+ repeated .CChatPartyBeacon party_beacons = 22;
656
+ optional uint64 watching_broadcast_channel_id = 23;
657
+ optional uint64 active_minigame_id = 24;
658
+ optional string avatar_ugc_url = 25;
659
+ optional bool disabled = 26;
660
+ }
661
+
662
+ message CChatRoomGroupInvite {
663
+ optional uint32 accountid = 1;
664
+ optional uint32 accountid_actor = 2;
665
+ optional uint32 time_invited = 3;
666
+ }
667
+
668
+ message CChatRoomGroupState {
669
+ optional .CChatRoomGroupHeaderState header_state = 1;
670
+ repeated .CChatRoomMember members = 2;
671
+ optional uint64 default_chat_id = 4;
672
+ repeated .CChatRoomState chat_rooms = 5;
673
+ repeated .CChatRoomMember kicked = 7;
674
+ }
675
+
676
+ message CChatRoomMember {
677
+ optional uint32 accountid = 1;
678
+ optional int32 state = 3 [(.description) = "enum"];
679
+ optional int32 rank = 4 [(.description) = "enum"];
680
+ optional uint32 time_kick_expire = 6;
681
+ repeated uint64 role_ids = 7;
682
+ }
683
+
684
+ message CChatRoomMemberListView {
685
+ optional int32 start = 3;
686
+ optional int32 end = 4;
687
+ optional int32 total_count = 5;
688
+ optional int32 client_changenumber = 6;
689
+ optional int32 server_changenumber = 7;
690
+ }
691
+
692
+ message CChatRoomMemberSummaryCounts {
693
+ optional int32 ingame = 1;
694
+ optional int32 online = 2;
695
+ optional int32 offline = 3;
696
+ }
697
+
698
+ message CChatRoomSummaryPair {
699
+ optional .CUserChatRoomGroupState user_chat_group_state = 1;
700
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2;
701
+ }
702
+
703
+ message ChatRoomClient_NotifyChatGroupUserStateChanged_Notification {
704
+ optional uint64 chat_group_id = 1;
705
+ optional .CUserChatRoomGroupState user_chat_group_state = 2;
706
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3;
707
+ optional int32 user_action = 4 [(.description) = "enum"];
708
+ }
709
+
710
+ message ChatRoomClient_NotifyChatRoomDisconnect_Notification {
711
+ repeated uint64 chat_group_ids = 1;
712
+ }
713
+
714
+ message CUserChatRoomGroupState {
715
+ optional uint64 chat_group_id = 1;
716
+ optional uint32 time_joined = 2;
717
+ repeated .CUserChatRoomState user_chat_room_state = 3;
718
+ optional int32 desktop_notification_level = 4 [default = 0, (.description) = "enum"];
719
+ optional int32 mobile_notification_level = 5 [default = 0, (.description) = "enum"];
720
+ optional uint32 time_last_group_ack = 6;
721
+ optional bool unread_indicator_muted = 7 [default = false];
722
+ }
723
+
724
+ message CUserChatRoomState {
725
+ optional uint64 chat_id = 1;
726
+ optional uint32 time_joined = 2;
727
+ optional uint32 time_last_ack = 3;
728
+ optional int32 desktop_notification_level = 4 [default = 0, (.description) = "enum"];
729
+ optional int32 mobile_notification_level = 5 [default = 0, (.description) = "enum"];
730
+ optional uint32 time_last_mention = 6;
731
+ optional bool unread_indicator_muted = 7 [default = false];
732
+ optional uint32 time_first_unread = 8;
733
+ }
734
+
735
+ message ServerMessage {
736
+ optional int32 message = 1 [(.description) = "enum"];
737
+ optional string string_param = 2;
738
+ optional uint32 accountid_param = 3;
739
+ }
740
+
741
+ service ChatRoom {
742
+ rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
743
+ rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response);
744
+ rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response);
745
+ rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response);
746
+ rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response);
747
+ rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response);
748
+ rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response);
749
+ rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response);
750
+ rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response);
751
+ rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response);
752
+ rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response);
753
+ rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response);
754
+ rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response);
755
+ rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response);
756
+ rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response);
757
+ rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response);
758
+ rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response);
759
+ rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response);
760
+ rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response);
761
+ rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response);
762
+ rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response);
763
+ rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response);
764
+ rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response);
765
+ rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response);
766
+ rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response);
767
+ rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response);
768
+ rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response);
769
+ rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response);
770
+ rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response);
771
+ rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response);
772
+ rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response);
773
+ rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response);
774
+ rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response);
775
+ rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response);
776
+ rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response);
777
+ rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response);
778
+ rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response);
779
+ rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response);
780
+ rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response);
781
+ rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response);
782
+ rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response);
783
+ rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response);
784
+ rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response);
785
+ rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response);
786
+ rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse);
787
+ rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response);
788
+ rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response);
789
+ rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response);
790
+ rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response);
791
+ rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response);
792
+ rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response);
793
+ rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse);
794
+ rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response);
795
+ }
796
+
797
+ service ChatRoomClient {
798
+ rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
799
+ rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse);
800
+ rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse);
801
+ rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse);
802
+ rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse);
803
+ rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse);
804
+ rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse);
805
+ rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse);
806
+ rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse);
807
+ rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse);
808
+ rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse);
809
+ }
810
+