steamutils 1.3.69 → 1.3.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/SteamClient.js +1 -2
  2. package/index.js +192 -5
  3. package/package.json +1 -1
  4. package/protos/webui/common.proto +4024 -0
  5. package/protos/webui/common_base.proto +27 -0
  6. package/protos/webui/service_accountcart.proto +153 -0
  7. package/protos/webui/service_accountlinking.proto +27 -0
  8. package/protos/webui/service_accountprivacy.proto +42 -0
  9. package/protos/webui/service_accountprivateapps.proto +34 -0
  10. package/protos/webui/service_auction.proto +97 -0
  11. package/protos/webui/service_authentication.proto +222 -0
  12. package/protos/webui/service_authenticationsupport.proto +74 -0
  13. package/protos/webui/service_broadcast.proto +562 -0
  14. package/protos/webui/service_chat.proto +11 -0
  15. package/protos/webui/service_chatroom.proto +810 -0
  16. package/protos/webui/service_chatusability.proto +107 -0
  17. package/protos/webui/service_checkout.proto +84 -0
  18. package/protos/webui/service_clan.proto +41 -0
  19. package/protos/webui/service_clanchatrooms.proto +25 -0
  20. package/protos/webui/service_clanfaqs.proto +202 -0
  21. package/protos/webui/service_clientcomm.proto +151 -0
  22. package/protos/webui/service_clientmetrics.proto +22 -0
  23. package/protos/webui/service_cloud.proto +222 -0
  24. package/protos/webui/service_cloudconfigstore.proto +51 -0
  25. package/protos/webui/service_cloudgaming.proto +30 -0
  26. package/protos/webui/service_community.proto +365 -0
  27. package/protos/webui/service_dailydeal.proto +89 -0
  28. package/protos/webui/service_econ.proto +134 -0
  29. package/protos/webui/service_embedded.proto +24 -0
  30. package/protos/webui/service_experimentservice.proto +6 -0
  31. package/protos/webui/service_familygroups.proto +355 -0
  32. package/protos/webui/service_fovasvideo.proto +15 -0
  33. package/protos/webui/service_friendmessages.proto +133 -0
  34. package/protos/webui/service_friendslist.proto +70 -0
  35. package/protos/webui/service_gamenotes.proto +15 -0
  36. package/protos/webui/service_gamerecording.proto +265 -0
  37. package/protos/webui/service_gamerecordingclip.proto +85 -0
  38. package/protos/webui/service_gamerecordingdebug.proto +52 -0
  39. package/protos/webui/service_helprequestlogs.proto +16 -0
  40. package/protos/webui/service_loyaltyrewards.proto +252 -0
  41. package/protos/webui/service_marketingmessages.proto +215 -0
  42. package/protos/webui/service_mobileapp.proto +18 -0
  43. package/protos/webui/service_mobileauth.proto +24 -0
  44. package/protos/webui/service_mobiledevice.proto +26 -0
  45. package/protos/webui/service_mobileperaccount.proto +31 -0
  46. package/protos/webui/service_news.proto +110 -0
  47. package/protos/webui/service_parental.proto +258 -0
  48. package/protos/webui/service_partnermembershipinvite.proto +34 -0
  49. package/protos/webui/service_partnerstorebrowse.proto +28 -0
  50. package/protos/webui/service_phone.proto +51 -0
  51. package/protos/webui/service_physicalgoods.proto +15 -0
  52. package/protos/webui/service_player.proto +918 -0
  53. package/protos/webui/service_promotioneventinvites.proto +109 -0
  54. package/protos/webui/service_promotionplanning.proto +186 -0
  55. package/protos/webui/service_promotionstats.proto +23 -0
  56. package/protos/webui/service_publishedfile.proto +714 -0
  57. package/protos/webui/service_publishing.proto +200 -0
  58. package/protos/webui/service_quest.proto +127 -0
  59. package/protos/webui/service_salefeature.proto +373 -0
  60. package/protos/webui/service_saleitemrewards.proto +54 -0
  61. package/protos/webui/service_shoppingcart.proto +152 -0
  62. package/protos/webui/service_steamawards.proto +76 -0
  63. package/protos/webui/service_steamcharts.proto +75 -0
  64. package/protos/webui/service_steamengine.proto +36 -0
  65. package/protos/webui/service_steamlearn.proto +876 -0
  66. package/protos/webui/service_steamnotification.proto +73 -0
  67. package/protos/webui/service_steamtv.proto +495 -0
  68. package/protos/webui/service_steamvrvoicechat.proto +67 -0
  69. package/protos/webui/service_steamvrwebrtc.proto +48 -0
  70. package/protos/webui/service_storagedevicemanager.proto +104 -0
  71. package/protos/webui/service_store.proto +359 -0
  72. package/protos/webui/service_storeappsimilarity.proto +76 -0
  73. package/protos/webui/service_storebrowse.proto +103 -0
  74. package/protos/webui/service_storemarketing.proto +44 -0
  75. package/protos/webui/service_storequery.proto +103 -0
  76. package/protos/webui/service_storesales.proto +87 -0
  77. package/protos/webui/service_storetopsellers.proto +44 -0
  78. package/protos/webui/service_systemmanager.proto +11 -0
  79. package/protos/webui/service_test_transporterror.proto +6 -0
  80. package/protos/webui/service_transportauth.proto +17 -0
  81. package/protos/webui/service_transportvalidation.proto +69 -0
  82. package/protos/webui/service_twofactor.proto +170 -0
  83. package/protos/webui/service_useraccount.proto +142 -0
  84. package/protos/webui/service_usergameactivity.proto +34 -0
  85. package/protos/webui/service_usergamenotes.proto +70 -0
  86. package/protos/webui/service_usernews.proto +68 -0
  87. package/protos/webui/service_userreviews.proto +97 -0
  88. package/protos/webui/service_video.proto +50 -0
  89. package/protos/webui/service_videoclip.proto +62 -0
  90. package/protos/webui/service_voicechat.proto +139 -0
  91. package/protos/webui/service_webrtc.proto +52 -0
@@ -0,0 +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 [(.description) = "enum"];
719
+ optional int32 mobile_notification_level = 5 [(.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 [(.description) = "enum"];
729
+ optional int32 mobile_notification_level = 5 [(.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
+