steamutils 1.5.3 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. package/.idea/codeStyles/Project.xml +0 -1
  2. package/.idea/gbrowser_project.xml +11 -0
  3. package/.idea/git_toolbox_blame.xml +6 -0
  4. package/.idea/git_toolbox_prj.xml +15 -0
  5. package/.prettierrc.json +3 -3
  6. package/SteamClient.js +3184 -3184
  7. package/_steamproto.js +39 -39
  8. package/axios.js +84 -84
  9. package/bufferHelpers.js +115 -115
  10. package/cheerio.js +103 -103
  11. package/const.js +518 -518
  12. package/create_proto.js +96 -96
  13. package/create_remote_file.js +153 -153
  14. package/full_steamproto.js +39 -39
  15. package/helpers/protos.js +48 -48
  16. package/index.js +7930 -7896
  17. package/package.json +1 -1
  18. package/protos/csgo/base_gcmessages.proto +553 -553
  19. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  20. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  21. package/protos/csgo/clientmessages.proto +48 -48
  22. package/protos/csgo/connectionless_netmessages.proto +17 -17
  23. package/protos/csgo/cs_gameevents.proto +35 -35
  24. package/protos/csgo/cs_usercmd.proto +34 -34
  25. package/protos/csgo/cstrike15_usermessages.proto +592 -592
  26. package/protos/csgo/demo.proto +165 -165
  27. package/protos/csgo/econ_gcmessages.proto +219 -219
  28. package/protos/csgo/enums_clientserver.proto +1529 -1529
  29. package/protos/csgo/fatdemo.proto +125 -125
  30. package/protos/csgo/gameevents.proto +120 -120
  31. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  32. package/protos/csgo/gcsystemmsgs.proto +243 -243
  33. package/protos/csgo/netmessages.proto +618 -618
  34. package/protos/csgo/networkbasetypes.proto +246 -246
  35. package/protos/csgo/networksystem_protomessages.proto +17 -17
  36. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  37. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  38. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  39. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  40. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  41. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  42. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  43. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  44. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  45. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  46. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  47. package/protos/csgo/te.proto +259 -259
  48. package/protos/csgo/uifontfile_format.proto +13 -13
  49. package/protos/csgo/usercmd.proto +39 -39
  50. package/protos/csgo/usermessages.proto +752 -752
  51. package/protos/google/protobuf/descriptor.proto +281 -281
  52. package/protos/steam/clientmetrics.proto +45 -45
  53. package/protos/steam/content_manifest.proto +62 -62
  54. package/protos/steam/contenthubs.proto +41 -41
  55. package/protos/steam/encrypted_app_ticket.proto +10 -10
  56. package/protos/steam/enums.proto +501 -501
  57. package/protos/steam/enums_clientserver.proto +1508 -1508
  58. package/protos/steam/enums_productinfo.proto +14 -14
  59. package/protos/steam/htmlmessages.proto +1039 -1039
  60. package/protos/steam/offline_ticket.proto +8 -8
  61. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  62. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  63. package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
  64. package/protos/steam/steammessages_appoverview.proto +204 -204
  65. package/protos/steam/steammessages_auth.steamclient.proto +375 -375
  66. package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
  67. package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
  68. package/protos/steam/steammessages_client_objects.proto +649 -649
  69. package/protos/steam/steammessages_clientlanp2p.proto +43 -43
  70. package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
  71. package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
  72. package/protos/steam/steammessages_clientserver.proto +392 -392
  73. package/protos/steam/steammessages_clientserver_2.proto +771 -771
  74. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  75. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  76. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  77. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  78. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  79. package/protos/steam/steammessages_clientserver_mms.proto +233 -233
  80. package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
  81. package/protos/steam/steammessages_clientserver_uds.proto +125 -125
  82. package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
  83. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  84. package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
  85. package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
  86. package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
  87. package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
  88. package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
  89. package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
  90. package/protos/steam/steammessages_econ.steamclient.proto +137 -137
  91. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
  92. package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
  93. package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
  94. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  95. package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
  96. package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
  97. package/protos/steam/steammessages_hiddevices.proto +157 -157
  98. package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
  99. package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
  100. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
  101. package/protos/steam/steammessages_market.steamclient.proto +22 -22
  102. package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
  103. package/protos/steam/steammessages_offline.steamclient.proto +33 -33
  104. package/protos/steam/steammessages_parental.steamclient.proto +262 -262
  105. package/protos/steam/steammessages_parties.steamclient.proto +75 -75
  106. package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
  107. package/protos/steam/steammessages_player.steamclient.proto +915 -915
  108. package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
  109. package/protos/steam/steammessages_qms.steamclient.proto +111 -111
  110. package/protos/steam/steammessages_remoteclient.proto +100 -100
  111. package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
  112. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
  113. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  114. package/protos/steam/steammessages_remoteplay.proto +975 -975
  115. package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
  116. package/protos/steam/steammessages_shader.steamclient.proto +89 -89
  117. package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
  118. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  119. package/protos/steam/steammessages_siteserverui.proto +130 -130
  120. package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
  121. package/protos/steam/steammessages_store.steamclient.proto +404 -404
  122. package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
  123. package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
  124. package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
  125. package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
  126. package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
  127. package/protos/steam/steammessages_vac.steamclient.proto +37 -37
  128. package/protos/steam/steammessages_video.steamclient.proto +68 -68
  129. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  130. package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
  131. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  132. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  133. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  134. package/protos/steam/webuimessages_achievements.proto +29 -29
  135. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  136. package/protos/steam/webuimessages_gamescope.proto +57 -57
  137. package/protos/steam/webuimessages_steamengine.proto +41 -41
  138. package/protos/steam/webuimessages_steamos.proto +114 -114
  139. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  140. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  141. package/protos/steam/webuimessages_transport.proto +22 -22
  142. package/protos/steam/webuimessages_transportvalidation.proto +111 -111
  143. package/protos/webui/common.proto +4024 -4024
  144. package/protos/webui/service_accountcart.proto +153 -153
  145. package/protos/webui/service_accountlinking.proto +27 -27
  146. package/protos/webui/service_accountprivacy.proto +42 -42
  147. package/protos/webui/service_accountprivateapps.proto +34 -34
  148. package/protos/webui/service_auction.proto +97 -97
  149. package/protos/webui/service_authentication.proto +222 -222
  150. package/protos/webui/service_authenticationsupport.proto +74 -74
  151. package/protos/webui/service_broadcast.proto +562 -562
  152. package/protos/webui/service_chat.proto +11 -11
  153. package/protos/webui/service_chatroom.proto +810 -810
  154. package/protos/webui/service_chatusability.proto +107 -107
  155. package/protos/webui/service_checkout.proto +84 -84
  156. package/protos/webui/service_clan.proto +41 -41
  157. package/protos/webui/service_clanchatrooms.proto +25 -25
  158. package/protos/webui/service_clanfaqs.proto +202 -202
  159. package/protos/webui/service_clientcomm.proto +151 -151
  160. package/protos/webui/service_clientmetrics.proto +22 -22
  161. package/protos/webui/service_cloud.proto +222 -222
  162. package/protos/webui/service_cloudconfigstore.proto +51 -51
  163. package/protos/webui/service_cloudgaming.proto +30 -30
  164. package/protos/webui/service_community.proto +365 -365
  165. package/protos/webui/service_dailydeal.proto +89 -89
  166. package/protos/webui/service_econ.proto +134 -134
  167. package/protos/webui/service_embedded.proto +24 -24
  168. package/protos/webui/service_experimentservice.proto +6 -6
  169. package/protos/webui/service_familygroups.proto +355 -355
  170. package/protos/webui/service_fovasvideo.proto +15 -15
  171. package/protos/webui/service_friendmessages.proto +133 -133
  172. package/protos/webui/service_friendslist.proto +70 -70
  173. package/protos/webui/service_gamenotes.proto +15 -15
  174. package/protos/webui/service_gamerecording.proto +265 -265
  175. package/protos/webui/service_gamerecordingclip.proto +85 -85
  176. package/protos/webui/service_gamerecordingdebug.proto +52 -52
  177. package/protos/webui/service_helprequestlogs.proto +16 -16
  178. package/protos/webui/service_loyaltyrewards.proto +252 -252
  179. package/protos/webui/service_marketingmessages.proto +215 -215
  180. package/protos/webui/service_mobileapp.proto +18 -18
  181. package/protos/webui/service_mobileauth.proto +24 -24
  182. package/protos/webui/service_mobiledevice.proto +26 -26
  183. package/protos/webui/service_mobileperaccount.proto +31 -31
  184. package/protos/webui/service_news.proto +110 -110
  185. package/protos/webui/service_parental.proto +258 -258
  186. package/protos/webui/service_partnermembershipinvite.proto +34 -34
  187. package/protos/webui/service_partnerstorebrowse.proto +28 -28
  188. package/protos/webui/service_phone.proto +51 -51
  189. package/protos/webui/service_physicalgoods.proto +15 -15
  190. package/protos/webui/service_player.proto +918 -918
  191. package/protos/webui/service_promotioneventinvites.proto +109 -109
  192. package/protos/webui/service_promotionplanning.proto +186 -186
  193. package/protos/webui/service_promotionstats.proto +23 -23
  194. package/protos/webui/service_publishedfile.proto +714 -714
  195. package/protos/webui/service_publishing.proto +200 -200
  196. package/protos/webui/service_quest.proto +127 -127
  197. package/protos/webui/service_salefeature.proto +373 -373
  198. package/protos/webui/service_saleitemrewards.proto +54 -54
  199. package/protos/webui/service_shoppingcart.proto +152 -152
  200. package/protos/webui/service_steamawards.proto +76 -76
  201. package/protos/webui/service_steamcharts.proto +75 -75
  202. package/protos/webui/service_steamengine.proto +36 -36
  203. package/protos/webui/service_steamlearn.proto +876 -876
  204. package/protos/webui/service_steamnotification.proto +73 -73
  205. package/protos/webui/service_steamtv.proto +495 -495
  206. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  207. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  208. package/protos/webui/service_storagedevicemanager.proto +104 -104
  209. package/protos/webui/service_store.proto +359 -359
  210. package/protos/webui/service_storeappsimilarity.proto +76 -76
  211. package/protos/webui/service_storebrowse.proto +103 -103
  212. package/protos/webui/service_storemarketing.proto +44 -44
  213. package/protos/webui/service_storequery.proto +103 -103
  214. package/protos/webui/service_storesales.proto +87 -87
  215. package/protos/webui/service_storetopsellers.proto +44 -44
  216. package/protos/webui/service_systemmanager.proto +11 -11
  217. package/protos/webui/service_test_transporterror.proto +6 -6
  218. package/protos/webui/service_transportauth.proto +17 -17
  219. package/protos/webui/service_transportvalidation.proto +69 -69
  220. package/protos/webui/service_twofactor.proto +170 -170
  221. package/protos/webui/service_useraccount.proto +142 -142
  222. package/protos/webui/service_usergameactivity.proto +34 -34
  223. package/protos/webui/service_usergamenotes.proto +70 -70
  224. package/protos/webui/service_usernews.proto +68 -68
  225. package/protos/webui/service_userreviews.proto +97 -97
  226. package/protos/webui/service_video.proto +50 -50
  227. package/protos/webui/service_videoclip.proto +62 -62
  228. package/protos/webui/service_voicechat.proto +139 -139
  229. package/protos/webui/service_webrtc.proto +52 -52
  230. package/remote.js +2240 -2231
  231. package/steamproto.js +146 -146
  232. package/utils.js +1050 -1050
  233. package/.idea/deployment.xml +0 -14
@@ -1,1070 +1,1070 @@
1
- import "steammessages_base.proto";
2
- import "steammessages_unified_base.steamclient.proto";
3
- import "steammessages_clientserver_friends.proto";
4
-
5
- option cc_generic_services = true;
6
-
7
- enum EChatRoomJoinState {
8
- k_EChatRoomJoinState_Default = 0;
9
- k_EChatRoomJoinState_None = 1;
10
- k_EChatRoomJoinState_Joined = 2;
11
- k_EChatRoomJoinState_TestInvalid = 99;
12
- }
13
-
14
- enum EChatRoomGroupRank {
15
- k_EChatRoomGroupRank_Default = 0;
16
- k_EChatRoomGroupRank_Viewer = 10;
17
- k_EChatRoomGroupRank_Guest = 15;
18
- k_EChatRoomGroupRank_Member = 20;
19
- k_EChatRoomGroupRank_Moderator = 30;
20
- k_EChatRoomGroupRank_Officer = 40;
21
- k_EChatRoomGroupRank_Owner = 50;
22
- k_EChatRoomGroupRank_TestInvalid = 99;
23
- }
24
-
25
- enum EChatRoomNotificationLevel {
26
- k_EChatroomNotificationLevel_Invalid = 0;
27
- k_EChatroomNotificationLevel_None = 1;
28
- k_EChatroomNotificationLevel_MentionMe = 2;
29
- k_EChatroomNotificationLevel_MentionAll = 3;
30
- k_EChatroomNotificationLevel_AllMessages = 4;
31
- }
32
-
33
- enum EChatRoomServerMessage {
34
- k_EChatRoomServerMsg_Invalid = 0;
35
- k_EChatRoomServerMsg_RenameChatRoom = 1;
36
- k_EChatRoomServerMsg_Joined = 2;
37
- k_EChatRoomServerMsg_Parted = 3;
38
- k_EChatRoomServerMsg_Kicked = 4;
39
- k_EChatRoomServerMsg_Invited = 5;
40
- k_EChatRoomServerMsg_InviteDismissed = 8;
41
- k_EChatRoomServerMsg_ChatRoomTaglineChanged = 9;
42
- k_EChatRoomServerMsg_ChatRoomAvatarChanged = 10;
43
- k_EChatRoomServerMsg_AppCustom = 11;
44
- }
45
-
46
- enum EChatRoomMessageReactionType {
47
- k_EChatRoomMessageReactionType_Invalid = 0;
48
- k_EChatRoomMessageReactionType_Emoticon = 1;
49
- k_EChatRoomMessageReactionType_Sticker = 2;
50
- }
51
-
52
- enum EChatRoomMemberStateChange {
53
- k_EChatRoomMemberStateChange_Invalid = 0;
54
- k_EChatRoomMemberStateChange_Joined = 1;
55
- k_EChatRoomMemberStateChange_Parted = 2;
56
- k_EChatRoomMemberStateChange_Kicked = 3;
57
- k_EChatRoomMemberStateChange_Invited = 4;
58
- k_EChatRoomMemberStateChange_RankChanged = 7;
59
- k_EChatRoomMemberStateChange_InviteDismissed = 8;
60
- k_EChatRoomMemberStateChange_Muted = 9;
61
- k_EChatRoomMemberStateChange_Banned = 10;
62
- k_EChatRoomMemberStateChange_RolesChanged = 12;
63
- }
64
-
65
- message CChat_RequestFriendPersonaStates_Request {
66
- }
67
-
68
- message CChat_RequestFriendPersonaStates_Response {
69
- }
70
-
71
- message CChatRoom_CreateChatRoomGroup_Request {
72
- optional fixed64 steamid_partner = 1;
73
- optional fixed64 steamid_invited = 2;
74
- optional string name = 3;
75
- repeated fixed64 steamid_invitees = 4;
76
- optional uint32 watching_broadcast_accountid = 6;
77
- optional uint64 watching_broadcast_channel_id = 7;
78
- }
79
-
80
- message CChatRole {
81
- optional uint64 role_id = 1;
82
- optional string name = 2;
83
- optional uint32 ordinal = 3;
84
- }
85
-
86
- message CChatRoleActions {
87
- optional uint64 role_id = 1;
88
- optional bool can_create_rename_delete_channel = 2;
89
- optional bool can_kick = 3;
90
- optional bool can_ban = 4;
91
- optional bool can_invite = 5;
92
- optional bool can_change_tagline_avatar_name = 6;
93
- optional bool can_chat = 7;
94
- optional bool can_view_history = 8;
95
- optional bool can_change_group_roles = 9;
96
- optional bool can_change_user_roles = 10;
97
- optional bool can_mention_all = 11;
98
- optional bool can_set_watching_broadcast = 12;
99
- }
100
-
101
- message CChatPartyBeacon {
102
- optional uint32 app_id = 1;
103
- optional fixed64 steamid_owner = 2;
104
- optional fixed64 beacon_id = 3;
105
- optional string game_metadata = 4;
106
- }
107
-
108
- message CChatRoomGroupHeaderState {
109
- optional uint64 chat_group_id = 1;
110
- optional string chat_name = 2;
111
- optional uint32 clanid = 13;
112
- optional uint32 accountid_owner = 14;
113
- optional uint32 appid = 21;
114
- optional string tagline = 15;
115
- optional bytes avatar_sha = 16;
116
- optional uint64 default_role_id = 17;
117
- repeated .CChatRole roles = 18;
118
- repeated .CChatRoleActions role_actions = 19;
119
- optional uint32 watching_broadcast_accountid = 20;
120
- repeated .CChatPartyBeacon party_beacons = 22;
121
- optional uint64 watching_broadcast_channel_id = 23;
122
- optional uint64 active_minigame_id = 24;
123
- optional string avatar_ugc_url = 25;
124
- optional bool disabled = 26;
125
- }
126
-
127
- message CChatRoomMember {
128
- optional uint32 accountid = 1;
129
- optional .EChatRoomJoinState state = 3 [default = k_EChatRoomJoinState_Default];
130
- optional .EChatRoomGroupRank rank = 4 [default = k_EChatRoomGroupRank_Default];
131
- optional uint32 time_kick_expire = 6;
132
- repeated uint64 role_ids = 7;
133
- }
134
-
135
- message CChatRoomState {
136
- optional uint64 chat_id = 1;
137
- optional string chat_name = 2;
138
- optional bool voice_allowed = 3;
139
- repeated uint32 members_in_voice = 4;
140
- optional uint32 time_last_message = 5;
141
- optional uint32 sort_order = 6;
142
- optional string last_message = 7;
143
- optional uint32 accountid_last_message = 8;
144
- }
145
-
146
- message CChatRoomGroupState {
147
- optional .CChatRoomGroupHeaderState header_state = 1;
148
- repeated .CChatRoomMember members = 2;
149
- optional uint64 default_chat_id = 4;
150
- repeated .CChatRoomState chat_rooms = 5;
151
- repeated .CChatRoomMember kicked = 7;
152
- }
153
-
154
- message CUserChatRoomState {
155
- optional uint64 chat_id = 1;
156
- optional uint32 time_joined = 2;
157
- optional uint32 time_last_ack = 3;
158
- optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid];
159
- optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid];
160
- optional uint32 time_last_mention = 6;
161
- optional bool unread_indicator_muted = 7 [default = false];
162
- optional uint32 time_first_unread = 8;
163
- }
164
-
165
- message CUserChatRoomGroupState {
166
- optional uint64 chat_group_id = 1;
167
- optional uint32 time_joined = 2;
168
- repeated .CUserChatRoomState user_chat_room_state = 3;
169
- optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid];
170
- optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid];
171
- optional uint32 time_last_group_ack = 6;
172
- optional bool unread_indicator_muted = 7 [default = false];
173
- }
174
-
175
- message CChatRoom_CreateChatRoomGroup_Response {
176
- optional uint64 chat_group_id = 1;
177
- optional .CChatRoomGroupState state = 2;
178
- optional .CUserChatRoomGroupState user_chat_state = 3;
179
- }
180
-
181
- message CChatRoom_SaveChatRoomGroup_Request {
182
- optional uint64 chat_group_id = 1;
183
- optional string name = 2;
184
- }
185
-
186
- message CChatRoom_SaveChatRoomGroup_Response {
187
- }
188
-
189
- message CChatRoom_RenameChatRoomGroup_Request {
190
- optional uint64 chat_group_id = 1;
191
- optional string name = 2;
192
- }
193
-
194
- message CChatRoom_RenameChatRoomGroup_Response {
195
- optional string name = 1;
196
- }
197
-
198
- message CChatRoom_SetChatRoomGroupTagline_Request {
199
- optional uint64 chat_group_id = 1;
200
- optional string tagline = 2;
201
- }
202
-
203
- message CChatRoom_SetChatRoomGroupTagline_Response {
204
- }
205
-
206
- message CChatRoom_SetChatRoomGroupAvatar_Request {
207
- optional uint64 chat_group_id = 1;
208
- optional bytes avatar_sha = 2;
209
- }
210
-
211
- message CChatRoom_SetChatRoomGroupAvatar_Response {
212
- }
213
-
214
- message CChatRoom_SetChatRoomGroupWatchingBroadcast_Request {
215
- optional uint64 chat_group_id = 1;
216
- optional uint32 watching_broadcast_accountid = 2;
217
- optional uint64 watching_broadcast_channel_id = 3;
218
- }
219
-
220
- message CChatRoom_SetChatRoomGroupWatchingBroadcast_Response {
221
- }
222
-
223
- message CChatRoom_JoinMiniGameForChatRoomGroup_Request {
224
- optional uint64 chat_group_id = 1;
225
- optional uint64 chat_id = 2;
226
- }
227
-
228
- message CChatRoom_JoinMiniGameForChatRoomGroup_Response {
229
- optional uint64 minigame_id = 1;
230
- }
231
-
232
- message CChatRoom_EndMiniGameForChatRoomGroup_Request {
233
- optional uint64 chat_group_id = 1;
234
- optional uint64 chat_id = 2;
235
- optional uint64 minigame_id = 3;
236
- }
237
-
238
- message CChatRoom_EndMiniGameForChatRoomGroup_Response {
239
- }
240
-
241
- message CChatRoom_MuteUser_Request {
242
- optional uint64 chat_group_id = 1;
243
- optional fixed64 steamid = 2;
244
- optional int32 expiration = 3;
245
- }
246
-
247
- message CChatRoom_MuteUser_Response {
248
- }
249
-
250
- message CChatRoom_KickUser_Request {
251
- optional uint64 chat_group_id = 1;
252
- optional fixed64 steamid = 2;
253
- optional int32 expiration = 3;
254
- }
255
-
256
- message CChatRoom_KickUser_Response {
257
- }
258
-
259
- message CChatRoom_SetUserBanState_Request {
260
- optional uint64 chat_group_id = 1;
261
- optional fixed64 steamid = 2;
262
- optional bool ban_state = 3;
263
- }
264
-
265
- message CChatRoom_SetUserBanState_Response {
266
- }
267
-
268
- message CChatRoom_RevokeInvite_Request {
269
- optional uint64 chat_group_id = 1;
270
- optional fixed64 steamid = 2;
271
- }
272
-
273
- message CChatRoom_RevokeInvite_Response {
274
- }
275
-
276
- message CChatRoom_CreateRole_Request {
277
- optional uint64 chat_group_id = 1;
278
- optional string name = 2;
279
- }
280
-
281
- message CChatRoom_CreateRole_Response {
282
- optional .CChatRoleActions actions = 2;
283
- }
284
-
285
- message CChatRoom_GetRoles_Request {
286
- optional uint64 chat_group_id = 1;
287
- }
288
-
289
- message CChatRoom_GetRoles_Response {
290
- repeated .CChatRole roles = 1;
291
- }
292
-
293
- message CChatRoom_RenameRole_Request {
294
- optional uint64 chat_group_id = 1;
295
- optional uint64 role_id = 2;
296
- optional string name = 3;
297
- }
298
-
299
- message CChatRoom_RenameRole_Response {
300
- }
301
-
302
- message CChatRoom_ReorderRole_Request {
303
- optional uint64 chat_group_id = 1;
304
- optional uint64 role_id = 2;
305
- optional uint32 ordinal = 3;
306
- }
307
-
308
- message CChatRoom_ReorderRole_Response {
309
- }
310
-
311
- message CChatRoom_DeleteRole_Request {
312
- optional uint64 chat_group_id = 1;
313
- optional uint64 role_id = 2;
314
- }
315
-
316
- message CChatRoom_DeleteRole_Response {
317
- }
318
-
319
- message CChatRoom_GetRoleActions_Request {
320
- optional uint64 chat_group_id = 1;
321
- optional uint64 role_id = 2;
322
- }
323
-
324
- message CChatRoom_GetRoleActions_Response {
325
- repeated .CChatRoleActions actions = 1;
326
- }
327
-
328
- message CChatRoom_ReplaceRoleActions_Request {
329
- optional uint64 chat_group_id = 1;
330
- optional uint64 role_id = 2;
331
- optional .CChatRoleActions actions = 4;
332
- }
333
-
334
- message CChatRoom_ReplaceRoleActions_Response {
335
- }
336
-
337
- message CChatRoom_AddRoleToUser_Request {
338
- optional uint64 chat_group_id = 1;
339
- optional uint64 role_id = 3;
340
- optional fixed64 steamid = 4;
341
- }
342
-
343
- message CChatRoom_AddRoleToUser_Response {
344
- }
345
-
346
- message CChatRoom_GetRolesForUser_Request {
347
- optional uint64 chat_group_id = 1;
348
- optional fixed64 steamid = 3;
349
- }
350
-
351
- message CChatRoom_GetRolesForUser_Response {
352
- repeated uint64 role_ids = 1;
353
- }
354
-
355
- message CChatRoom_DeleteRoleFromUser_Request {
356
- optional uint64 chat_group_id = 1;
357
- optional uint64 role_id = 3;
358
- optional fixed64 steamid = 4;
359
- }
360
-
361
- message CChatRoom_DeleteRoleFromUser_Response {
362
- }
363
-
364
- message CChatRoom_JoinChatRoomGroup_Request {
365
- optional uint64 chat_group_id = 1;
366
- optional string invite_code = 2;
367
- optional uint64 chat_id = 3;
368
- }
369
-
370
- message CChatRoom_JoinChatRoomGroup_Response {
371
- optional .CChatRoomGroupState state = 1;
372
- optional .CUserChatRoomGroupState user_chat_state = 3;
373
- optional uint64 join_chat_id = 4;
374
- optional uint32 time_expire = 5;
375
- }
376
-
377
- message CChatRoom_InviteFriendToChatRoomGroup_Request {
378
- optional uint64 chat_group_id = 1;
379
- optional fixed64 steamid = 2;
380
- optional uint64 chat_id = 3;
381
- optional bool skip_friendsui_check = 4;
382
- }
383
-
384
- message CChatRoom_InviteFriendToChatRoomGroup_Response {
385
- }
386
-
387
- message CChatRoom_LeaveChatRoomGroup_Request {
388
- optional uint64 chat_group_id = 1;
389
- }
390
-
391
- message CChatRoom_LeaveChatRoomGroup_Response {
392
- }
393
-
394
- message CChatRoom_CreateChatRoom_Request {
395
- optional uint64 chat_group_id = 1;
396
- optional string name = 2;
397
- optional bool allow_voice = 3;
398
- }
399
-
400
- message CChatRoom_CreateChatRoom_Response {
401
- optional .CChatRoomState chat_room = 1;
402
- }
403
-
404
- message CChatRoom_DeleteChatRoom_Request {
405
- optional uint64 chat_group_id = 1;
406
- optional uint64 chat_id = 2;
407
- }
408
-
409
- message CChatRoom_DeleteChatRoom_Response {
410
- }
411
-
412
- message CChatRoom_RenameChatRoom_Request {
413
- optional uint64 chat_group_id = 1;
414
- optional uint64 chat_id = 2;
415
- optional string name = 3;
416
- }
417
-
418
- message CChatRoom_RenameChatRoom_Response {
419
- }
420
-
421
- message CChatRoom_ReorderChatRoom_Request {
422
- optional uint64 chat_group_id = 1;
423
- optional uint64 chat_id = 2;
424
- optional uint64 move_after_chat_id = 3;
425
- }
426
-
427
- message CChatRoom_ReorderChatRoom_Response {
428
- }
429
-
430
- message CChatRoom_SendChatMessage_Request {
431
- optional uint64 chat_group_id = 1;
432
- optional uint64 chat_id = 2;
433
- optional string message = 3;
434
- optional bool echo_to_sender = 4;
435
- }
436
-
437
- message CChatRoom_SendChatMessage_Response {
438
- optional string modified_message = 1;
439
- optional uint32 server_timestamp = 2;
440
- optional uint32 ordinal = 3;
441
- optional string message_without_bb_code = 4;
442
- }
443
-
444
- message CChatRoom_JoinVoiceChat_Request {
445
- optional uint64 chat_group_id = 1;
446
- optional uint64 chat_id = 2;
447
- }
448
-
449
- message CChatRoom_JoinVoiceChat_Response {
450
- optional uint64 voice_chatid = 1;
451
- }
452
-
453
- message CChatRoom_LeaveVoiceChat_Request {
454
- optional uint64 chat_group_id = 1;
455
- optional uint64 chat_id = 2;
456
- }
457
-
458
- message CChatRoom_LeaveVoiceChat_Response {
459
- }
460
-
461
- message CChatRoom_GetMessageHistory_Request {
462
- optional uint64 chat_group_id = 1;
463
- optional uint64 chat_id = 2;
464
- optional uint32 last_time = 3;
465
- optional uint32 last_ordinal = 4;
466
- optional uint32 start_time = 5;
467
- optional uint32 start_ordinal = 6;
468
- optional uint32 max_count = 7;
469
- }
470
-
471
- message ServerMessage {
472
- optional .EChatRoomServerMessage message = 1 [default = k_EChatRoomServerMsg_Invalid];
473
- optional string string_param = 2;
474
- optional uint32 accountid_param = 3;
475
- }
476
-
477
- message CChatRoom_GetMessageHistory_Response {
478
- message ChatMessage {
479
- message MessageReaction {
480
- optional .EChatRoomMessageReactionType reaction_type = 1 [default = k_EChatRoomMessageReactionType_Invalid];
481
- optional string reaction = 2;
482
- optional uint32 num_reactors = 3;
483
- optional bool has_user_reacted = 4;
484
- }
485
-
486
- optional uint32 sender = 1;
487
- optional uint32 server_timestamp = 2;
488
- optional string message = 3;
489
- optional uint32 ordinal = 4;
490
- optional .ServerMessage server_message = 5;
491
- optional bool deleted = 6;
492
- repeated .CChatRoom_GetMessageHistory_Response.ChatMessage.MessageReaction reactions = 7;
493
- }
494
-
495
- repeated .CChatRoom_GetMessageHistory_Response.ChatMessage messages = 1;
496
- optional bool more_available = 4;
497
- }
498
-
499
- message CChatRoom_GetMyChatRoomGroups_Request {
500
- }
501
-
502
- message CChatRoom_GetChatRoomGroupSummary_Response {
503
- optional uint64 chat_group_id = 1;
504
- optional string chat_group_name = 2;
505
- optional uint32 active_member_count = 3;
506
- optional uint32 active_voice_member_count = 4;
507
- optional uint64 default_chat_id = 5;
508
- repeated .CChatRoomState chat_rooms = 6;
509
- optional uint32 clanid = 7;
510
- optional string chat_group_tagline = 8;
511
- optional uint32 accountid_owner = 9;
512
- repeated uint32 top_members = 10;
513
- optional bytes chat_group_avatar_sha = 11;
514
- optional .EChatRoomGroupRank rank = 12 [default = k_EChatRoomGroupRank_Default];
515
- optional uint64 default_role_id = 13;
516
- repeated uint64 role_ids = 14;
517
- repeated .CChatRoleActions role_actions = 15;
518
- optional uint32 watching_broadcast_accountid = 16;
519
- optional uint32 appid = 17;
520
- repeated .CChatPartyBeacon party_beacons = 18;
521
- optional uint64 watching_broadcast_channel_id = 19;
522
- optional uint64 active_minigame_id = 20;
523
- optional string avatar_ugc_url = 21;
524
- optional bool disabled = 22;
525
- }
526
-
527
- message CChatRoomSummaryPair {
528
- optional .CUserChatRoomGroupState user_chat_group_state = 1;
529
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2;
530
- }
531
-
532
- message CChatRoom_GetMyChatRoomGroups_Response {
533
- repeated .CChatRoomSummaryPair chat_room_groups = 1;
534
- }
535
-
536
- message CChatRoom_GetChatRoomGroupState_Request {
537
- optional uint64 chat_group_id = 1;
538
- }
539
-
540
- message CChatRoom_GetChatRoomGroupState_Response {
541
- optional .CChatRoomGroupState state = 1;
542
- }
543
-
544
- message CChatRoom_GetChatRoomGroupSummary_Request {
545
- optional uint64 chat_group_id = 1;
546
- }
547
-
548
- message CChatRoom_SetAppChatRoomGroupForceActive_Request {
549
- optional uint64 chat_group_id = 1;
550
- optional uint32 requesting_app_id = 2;
551
- }
552
-
553
- message CChatRoom_SetAppChatRoomGroupForceActive_Response {
554
- optional uint32 result = 1;
555
- repeated uint32 accounts_in_channel = 2;
556
- }
557
-
558
- message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification {
559
- optional uint64 chat_group_id = 1;
560
- optional uint32 requesting_app_id = 2;
561
- }
562
-
563
- message CChatRoom_AckChatMessage_Notification {
564
- optional uint64 chat_group_id = 1;
565
- optional uint64 chat_id = 2;
566
- optional uint32 timestamp = 3;
567
- }
568
-
569
- message CChatRoom_CreateInviteLink_Request {
570
- optional uint64 chat_group_id = 1;
571
- optional uint32 seconds_valid = 2;
572
- optional uint64 chat_id = 3;
573
- }
574
-
575
- message CChatRoom_CreateInviteLink_Response {
576
- optional string invite_code = 1;
577
- optional uint32 seconds_valid = 2;
578
- }
579
-
580
- message CChatRoom_GetInviteLinkInfo_Request {
581
- optional string invite_code = 1;
582
- }
583
-
584
- message CChatRoom_GetInviteLinkInfo_Response {
585
- optional fixed64 steamid_sender = 3;
586
- optional uint32 time_expires = 4;
587
- optional uint64 chat_id = 6;
588
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8;
589
- optional .CUserChatRoomGroupState user_chat_group_state = 9;
590
- optional uint32 time_kick_expire = 10;
591
- optional bool banned = 11;
592
- }
593
-
594
- message CChatRoom_GetInviteInfo_Request {
595
- optional fixed64 steamid_invitee = 1;
596
- optional uint64 chat_group_id = 2;
597
- optional uint64 chat_id = 3;
598
- optional string invite_code = 4;
599
- }
600
-
601
- message CChatRoom_GetInviteInfo_Response {
602
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1;
603
- optional uint32 time_kick_expire = 2;
604
- optional bool banned = 3;
605
- }
606
-
607
- message CChatRoom_GetInviteLinksForGroup_Request {
608
- optional uint64 chat_group_id = 1;
609
- }
610
-
611
- message CChatRoom_GetInviteLinksForGroup_Response {
612
- message LinkInfo {
613
- optional string invite_code = 1;
614
- optional fixed64 steamid_creator = 2;
615
- optional uint32 time_expires = 3;
616
- optional uint64 chat_id = 4;
617
- }
618
-
619
- repeated .CChatRoom_GetInviteLinksForGroup_Response.LinkInfo invite_links = 1;
620
- }
621
-
622
- message CChatRoom_GetBanList_Request {
623
- optional uint64 chat_group_id = 1;
624
- }
625
-
626
- message CChatRoom_GetBanList_Response {
627
- message BanInfo {
628
- optional uint32 accountid = 1;
629
- optional uint32 accountid_actor = 2;
630
- optional uint32 time_banned = 3;
631
- optional string ban_reason = 4;
632
- }
633
-
634
- repeated .CChatRoom_GetBanList_Response.BanInfo bans = 1;
635
- }
636
-
637
- message CChatRoom_GetInviteList_Request {
638
- optional uint64 chat_group_id = 1;
639
- }
640
-
641
- message CChatRoomGroupInvite {
642
- optional uint32 accountid = 1;
643
- optional uint32 accountid_actor = 2;
644
- optional uint32 time_invited = 3;
645
- }
646
-
647
- message CChatRoom_GetInviteList_Response {
648
- repeated .CChatRoomGroupInvite invites = 1;
649
- }
650
-
651
- message CChatRoom_DeleteInviteLink_Request {
652
- optional uint64 chat_group_id = 1;
653
- optional string invite_code = 2;
654
- }
655
-
656
- message CChatRoom_DeleteInviteLink_Response {
657
- }
658
-
659
- message CChatRoom_SetSessionActiveChatRoomGroups_Request {
660
- repeated uint64 chat_group_ids = 1;
661
- repeated uint64 chat_groups_data_requested = 2;
662
- optional int32 virtualize_members_threshold = 3;
663
- }
664
-
665
- message CChatRoom_SetSessionActiveChatRoomGroups_Response {
666
- repeated .CChatRoomGroupState chat_states = 1;
667
- repeated uint64 virtualize_members_chat_group_ids = 2;
668
- }
669
-
670
- message CChatRoom_SetUserChatGroupPreferences_Request {
671
- message ChatGroupPreferences {
672
- optional .EChatRoomNotificationLevel desktop_notification_level = 1 [default = k_EChatroomNotificationLevel_Invalid];
673
- optional .EChatRoomNotificationLevel mobile_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid];
674
- optional bool unread_indicator_muted = 3;
675
- }
676
-
677
- message ChatRoomPreferences {
678
- optional uint64 chat_id = 1;
679
- optional .EChatRoomNotificationLevel desktop_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid];
680
- optional .EChatRoomNotificationLevel mobile_notification_level = 3 [default = k_EChatroomNotificationLevel_Invalid];
681
- optional bool unread_indicator_muted = 4;
682
- }
683
-
684
- optional uint64 chat_group_id = 1;
685
- optional .CChatRoom_SetUserChatGroupPreferences_Request.ChatGroupPreferences chat_group_preferences = 2;
686
- repeated .CChatRoom_SetUserChatGroupPreferences_Request.ChatRoomPreferences chat_room_preferences = 3;
687
- }
688
-
689
- message CChatRoom_SetUserChatGroupPreferences_Response {
690
- }
691
-
692
- message CChatRoom_DeleteChatMessages_Request {
693
- message Message {
694
- optional uint32 server_timestamp = 1;
695
- optional uint32 ordinal = 2;
696
- }
697
-
698
- optional uint64 chat_group_id = 1;
699
- optional uint64 chat_id = 2;
700
- repeated .CChatRoom_DeleteChatMessages_Request.Message messages = 3;
701
- }
702
-
703
- message CChatRoom_DeleteChatMessages_Response {
704
- }
705
-
706
- message CChatRoom_UpdateMemberListView_Notification {
707
- optional uint64 chat_group_id = 1;
708
- optional uint64 view_id = 2;
709
- optional int32 start = 3;
710
- optional int32 end = 4;
711
- optional int32 client_changenumber = 5;
712
- optional bool delete_view = 6;
713
- repeated int32 persona_subscribe_accountids = 7;
714
- repeated int32 persona_unsubscribe_accountids = 8;
715
- }
716
-
717
- message CChatRoom_SearchMembers_Request {
718
- optional uint64 chat_group_id = 1;
719
- optional uint64 search_id = 2;
720
- optional string search_text = 3;
721
- optional int32 max_results = 4;
722
- }
723
-
724
- message CChatRoom_SearchMembers_Response {
725
- message MemberMatch {
726
- optional int32 accountid = 1;
727
- optional .CMsgClientPersonaState.Friend persona = 2;
728
- }
729
-
730
- repeated .CChatRoom_SearchMembers_Response.MemberMatch matching_members = 1;
731
- optional uint32 status_flags = 2;
732
- }
733
-
734
- message CChatRoom_UpdateMessageReaction_Request {
735
- optional uint64 chat_group_id = 1;
736
- optional uint64 chat_id = 2;
737
- optional uint32 server_timestamp = 3;
738
- optional uint32 ordinal = 4;
739
- optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid];
740
- optional string reaction = 6;
741
- optional bool is_add = 7;
742
- }
743
-
744
- message CChatRoom_UpdateMessageReaction_Response {
745
- optional uint32 num_reactors = 1;
746
- }
747
-
748
- message CChatRoom_GetMessageReactionReactors_Request {
749
- optional uint64 chat_group_id = 1;
750
- optional uint64 chat_id = 2;
751
- optional uint32 server_timestamp = 3;
752
- optional uint32 ordinal = 4;
753
- optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid];
754
- optional string reaction = 6;
755
- optional uint32 limit = 7;
756
- }
757
-
758
- message CChatRoom_GetMessageReactionReactors_Response {
759
- repeated uint32 reactors = 1;
760
- }
761
-
762
- message CClanChatRooms_GetClanChatRoomInfo_Request {
763
- optional fixed64 steamid = 1;
764
- optional bool autocreate = 2 [default = true];
765
- }
766
-
767
- message CClanChatRooms_GetClanChatRoomInfo_Response {
768
- optional .CChatRoom_GetChatRoomGroupSummary_Response chat_group_summary = 1;
769
- }
770
-
771
- message CClanChatRooms_SetClanChatRoomPrivate_Request {
772
- optional fixed64 steamid = 1;
773
- optional bool chat_room_private = 2;
774
- }
775
-
776
- message CClanChatRooms_SetClanChatRoomPrivate_Response {
777
- optional bool chat_room_private = 1;
778
- }
779
-
780
- message CChatMentions {
781
- optional bool mention_all = 1;
782
- optional bool mention_here = 2;
783
- repeated uint32 mention_accountids = 3;
784
- }
785
-
786
- message CChatRoom_IncomingChatMessage_Notification {
787
- optional uint64 chat_group_id = 1;
788
- optional uint64 chat_id = 2;
789
- optional fixed64 steamid_sender = 3;
790
- optional string message = 4;
791
- optional uint32 timestamp = 5;
792
- optional .CChatMentions mentions = 6;
793
- optional uint32 ordinal = 7;
794
- optional .ServerMessage server_message = 8;
795
- optional string message_no_bbcode = 9;
796
- optional string chat_name = 10;
797
- }
798
-
799
- message CChatRoom_ChatMessageModified_Notification {
800
- message ChatMessage {
801
- optional uint32 server_timestamp = 1;
802
- optional uint32 ordinal = 2;
803
- optional bool deleted = 3;
804
- }
805
-
806
- optional uint64 chat_group_id = 1;
807
- optional uint64 chat_id = 2;
808
- repeated .CChatRoom_ChatMessageModified_Notification.ChatMessage messages = 3;
809
- }
810
-
811
- message CChatRoom_MemberStateChange_Notification {
812
- optional uint64 chat_group_id = 1;
813
- optional .CChatRoomMember member = 2;
814
- optional .EChatRoomMemberStateChange change = 3 [default = k_EChatRoomMemberStateChange_Invalid];
815
- }
816
-
817
- message CChatRoom_ChatRoomHeaderState_Notification {
818
- optional .CChatRoomGroupHeaderState header_state = 1;
819
- }
820
-
821
- message CChatRoom_ChatRoomGroupRoomsChange_Notification {
822
- optional uint64 chat_group_id = 1;
823
- optional uint64 default_chat_id = 2;
824
- repeated .CChatRoomState chat_rooms = 3;
825
- }
826
-
827
- message CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification {
828
- optional uint64 chat_id = 1;
829
- optional uint64 chat_group_id = 2;
830
- }
831
-
832
- message ChatRoomClient_NotifyChatGroupUserStateChanged_Notification {
833
- optional uint64 chat_group_id = 1;
834
- optional .CUserChatRoomGroupState user_chat_group_state = 2;
835
- optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3;
836
- optional .EChatRoomMemberStateChange user_action = 4 [default = k_EChatRoomMemberStateChange_Invalid];
837
- }
838
-
839
- message ChatRoomClient_NotifyChatRoomDisconnect_Notification {
840
- repeated uint64 chat_group_ids = 1;
841
- }
842
-
843
- message CChatRoomMemberListView {
844
- optional int32 start = 3;
845
- optional int32 end = 4;
846
- optional int32 total_count = 5;
847
- optional int32 client_changenumber = 6;
848
- optional int32 server_changenumber = 7;
849
- }
850
-
851
- message CChatRoomMemberSummaryCounts {
852
- optional int32 ingame = 1;
853
- optional int32 online = 2;
854
- optional int32 offline = 3;
855
- }
856
-
857
- message CChatRoomClient_MemberListViewUpdated_Notification {
858
- message MemberListViewEntry {
859
- optional int32 rank = 1;
860
- optional uint32 accountid = 2;
861
- optional .CMsgClientPersonaState.Friend persona = 3;
862
- }
863
-
864
- optional uint64 chat_group_id = 1;
865
- optional uint64 view_id = 2;
866
- optional .CChatRoomMemberListView view = 3;
867
- repeated .CChatRoomClient_MemberListViewUpdated_Notification.MemberListViewEntry members = 4;
868
- optional uint32 status_flags = 5;
869
- optional .CChatRoomMemberSummaryCounts member_summary = 6;
870
- repeated .CMsgClientPersonaState.Friend subscribed_personas = 7;
871
- }
872
-
873
- message CChatRoom_MessageReaction_Notification {
874
- optional uint64 chat_group_id = 1;
875
- optional uint64 chat_id = 2;
876
- optional uint32 server_timestamp = 3;
877
- optional uint32 ordinal = 4;
878
- optional fixed64 reactor = 5;
879
- optional .EChatRoomMessageReactionType reaction_type = 6 [default = k_EChatRoomMessageReactionType_Invalid];
880
- optional string reaction = 7;
881
- optional bool is_add = 8;
882
- }
883
-
884
- message CChatUsability_ClientUsabilityMetrics_Notification {
885
- message Settings {
886
- optional bool notifications_show_ingame = 1;
887
- optional bool notifications_show_online = 2;
888
- optional bool notifications_show_message = 3;
889
- optional bool notifications_events_and_announcements = 4;
890
- optional bool sounds_play_ingame = 5;
891
- optional bool sounds_play_online = 6;
892
- optional bool sounds_play_message = 7;
893
- optional bool sounds_events_and_announcements = 8;
894
- optional bool always_new_chat_window = 9;
895
- optional bool force_alphabetic_friend_sorting = 10;
896
- optional int32 chat_flash_mode = 11;
897
- optional bool remember_open_chats = 12;
898
- optional bool compact_quick_access = 13;
899
- optional bool compact_friends_list = 14;
900
- optional bool notifications_show_chat_room_notification = 15;
901
- optional bool sounds_play_chat_room_notification = 16;
902
- optional bool hide_offline_friends_in_tag_groups = 17;
903
- optional bool hide_categorized_friends = 18;
904
- optional bool categorize_in_game_friends_by_game = 19;
905
- optional int32 chat_font_size = 20;
906
- optional bool use24hour_clock = 21;
907
- optional bool do_not_disturb_mode = 22;
908
- optional bool disable_embed_inlining = 23;
909
- optional bool sign_into_friends = 24;
910
- optional bool animated_avatars = 25;
911
- }
912
-
913
- message VoiceSettings {
914
- optional float voice_input_gain = 1;
915
- optional float voice_output_gain = 2;
916
- optional int32 noise_gate_level = 3;
917
- optional bool voice_use_echo_cancellation = 4;
918
- optional bool voice_use_noise_cancellation = 5;
919
- optional bool voice_use_auto_gain_control = 6;
920
- optional bool selected_non_default_mic = 7;
921
- optional bool selected_non_default_output = 8;
922
- optional bool push_to_talk_enabled = 9;
923
- optional bool push_to_mute_enabled = 10;
924
- optional bool play_ptt_sounds = 11;
925
- }
926
-
927
- message UIState {
928
- message CategoryCollapseState {
929
- optional bool in_game_collapsed = 1;
930
- optional bool online_collapsed = 2;
931
- optional bool offline_collapsed = 3;
932
- optional int32 game_groups_collapsed = 4;
933
- optional int32 categories_collapsed = 5;
934
- }
935
-
936
- optional int32 friends_list_height = 1;
937
- optional int32 friends_list_width = 2;
938
- optional bool friends_list_docked = 3;
939
- optional bool friends_list_collapsed = 4;
940
- optional int32 friends_list_group_chats_height = 5;
941
- optional bool friends_list_visible = 6;
942
- optional int32 chat_popups_opened = 7;
943
- optional int32 group_chat_tabs_opened = 8;
944
- optional int32 friend_chat_tabs_opened = 9;
945
- optional int32 chat_window_width = 10;
946
- optional int32 chat_window_height = 11;
947
- optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState.CategoryCollapseState category_collapse = 12;
948
- optional int32 group_chat_left_col_collapsed = 13;
949
- optional int32 group_chat_right_col_collapsed = 14;
950
- optional bool in_one_on_one_voice_chat = 15;
951
- optional bool in_group_voice_chat = 16;
952
- }
953
-
954
- message Metrics {
955
- optional int32 friends_count = 1;
956
- optional int32 friends_category_count = 2;
957
- optional int32 friends_categorized_count = 3;
958
- optional int32 friends_online_count = 4;
959
- optional int32 friends_in_game_count = 5;
960
- optional int32 friends_in_game_singleton_count = 6;
961
- optional int32 game_group_count = 7;
962
- optional int32 friends_favorite_count = 8;
963
- optional int32 group_chat_count = 9;
964
- optional int32 group_chat_favorite_count = 10;
965
- }
966
-
967
- optional uint32 metrics_run_id = 1;
968
- optional uint32 client_build = 2;
969
- optional uint32 metrics_version = 3;
970
- optional bool in_web = 4;
971
- optional .CChatUsability_ClientUsabilityMetrics_Notification.Settings settings = 10;
972
- optional .CChatUsability_ClientUsabilityMetrics_Notification.VoiceSettings voice_settings = 11;
973
- optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState ui_state = 12;
974
- optional .CChatUsability_ClientUsabilityMetrics_Notification.Metrics metrics = 13;
975
- }
976
-
977
- message CChatUsability_RequestClientUsabilityMetrics_Notification {
978
- optional uint32 metrics_run_id = 1;
979
- }
980
-
981
- service Chat {
982
- rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response);
983
- }
984
-
985
- service ChatRoom {
986
- rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response);
987
- rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response);
988
- rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response);
989
- rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response);
990
- rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response);
991
- rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response);
992
- rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response);
993
- rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response);
994
- rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response);
995
- rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response);
996
- rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response);
997
- rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response);
998
- rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response);
999
- rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response);
1000
- rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response);
1001
- rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response);
1002
- rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response);
1003
- rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response);
1004
- rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response);
1005
- rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response);
1006
- rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response);
1007
- rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response);
1008
- rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response);
1009
- rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response);
1010
- rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response);
1011
- rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response);
1012
- rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response);
1013
- rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response);
1014
- rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response);
1015
- rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response);
1016
- rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response);
1017
- rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response);
1018
- rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response);
1019
- rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response);
1020
- rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response);
1021
- rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response);
1022
- rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response);
1023
- rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse);
1024
- rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
1025
- rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response);
1026
- rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response);
1027
- rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response);
1028
- rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response);
1029
- rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response);
1030
- rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response);
1031
- rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response);
1032
- rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response);
1033
- rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response);
1034
- rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response);
1035
- rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse);
1036
- rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response);
1037
- rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response);
1038
- rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response);
1039
- }
1040
-
1041
- service ClanChatRooms {
1042
- rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response);
1043
- rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response);
1044
- }
1045
-
1046
- service ChatRoomClient {
1047
- option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1048
-
1049
- rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse);
1050
- rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse);
1051
- rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse);
1052
- rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse);
1053
- rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse);
1054
- rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse);
1055
- rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse);
1056
- rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
1057
- rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse);
1058
- rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse);
1059
- rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse);
1060
- }
1061
-
1062
- service ChatUsability {
1063
- rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse);
1064
- }
1065
-
1066
- service ChatUsabilityClient {
1067
- option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1068
-
1069
- rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse);
1070
- }
1
+ import "steammessages_base.proto";
2
+ import "steammessages_unified_base.steamclient.proto";
3
+ import "steammessages_clientserver_friends.proto";
4
+
5
+ option cc_generic_services = true;
6
+
7
+ enum EChatRoomJoinState {
8
+ k_EChatRoomJoinState_Default = 0;
9
+ k_EChatRoomJoinState_None = 1;
10
+ k_EChatRoomJoinState_Joined = 2;
11
+ k_EChatRoomJoinState_TestInvalid = 99;
12
+ }
13
+
14
+ enum EChatRoomGroupRank {
15
+ k_EChatRoomGroupRank_Default = 0;
16
+ k_EChatRoomGroupRank_Viewer = 10;
17
+ k_EChatRoomGroupRank_Guest = 15;
18
+ k_EChatRoomGroupRank_Member = 20;
19
+ k_EChatRoomGroupRank_Moderator = 30;
20
+ k_EChatRoomGroupRank_Officer = 40;
21
+ k_EChatRoomGroupRank_Owner = 50;
22
+ k_EChatRoomGroupRank_TestInvalid = 99;
23
+ }
24
+
25
+ enum EChatRoomNotificationLevel {
26
+ k_EChatroomNotificationLevel_Invalid = 0;
27
+ k_EChatroomNotificationLevel_None = 1;
28
+ k_EChatroomNotificationLevel_MentionMe = 2;
29
+ k_EChatroomNotificationLevel_MentionAll = 3;
30
+ k_EChatroomNotificationLevel_AllMessages = 4;
31
+ }
32
+
33
+ enum EChatRoomServerMessage {
34
+ k_EChatRoomServerMsg_Invalid = 0;
35
+ k_EChatRoomServerMsg_RenameChatRoom = 1;
36
+ k_EChatRoomServerMsg_Joined = 2;
37
+ k_EChatRoomServerMsg_Parted = 3;
38
+ k_EChatRoomServerMsg_Kicked = 4;
39
+ k_EChatRoomServerMsg_Invited = 5;
40
+ k_EChatRoomServerMsg_InviteDismissed = 8;
41
+ k_EChatRoomServerMsg_ChatRoomTaglineChanged = 9;
42
+ k_EChatRoomServerMsg_ChatRoomAvatarChanged = 10;
43
+ k_EChatRoomServerMsg_AppCustom = 11;
44
+ }
45
+
46
+ enum EChatRoomMessageReactionType {
47
+ k_EChatRoomMessageReactionType_Invalid = 0;
48
+ k_EChatRoomMessageReactionType_Emoticon = 1;
49
+ k_EChatRoomMessageReactionType_Sticker = 2;
50
+ }
51
+
52
+ enum EChatRoomMemberStateChange {
53
+ k_EChatRoomMemberStateChange_Invalid = 0;
54
+ k_EChatRoomMemberStateChange_Joined = 1;
55
+ k_EChatRoomMemberStateChange_Parted = 2;
56
+ k_EChatRoomMemberStateChange_Kicked = 3;
57
+ k_EChatRoomMemberStateChange_Invited = 4;
58
+ k_EChatRoomMemberStateChange_RankChanged = 7;
59
+ k_EChatRoomMemberStateChange_InviteDismissed = 8;
60
+ k_EChatRoomMemberStateChange_Muted = 9;
61
+ k_EChatRoomMemberStateChange_Banned = 10;
62
+ k_EChatRoomMemberStateChange_RolesChanged = 12;
63
+ }
64
+
65
+ message CChat_RequestFriendPersonaStates_Request {
66
+ }
67
+
68
+ message CChat_RequestFriendPersonaStates_Response {
69
+ }
70
+
71
+ message CChatRoom_CreateChatRoomGroup_Request {
72
+ optional fixed64 steamid_partner = 1;
73
+ optional fixed64 steamid_invited = 2;
74
+ optional string name = 3;
75
+ repeated fixed64 steamid_invitees = 4;
76
+ optional uint32 watching_broadcast_accountid = 6;
77
+ optional uint64 watching_broadcast_channel_id = 7;
78
+ }
79
+
80
+ message CChatRole {
81
+ optional uint64 role_id = 1;
82
+ optional string name = 2;
83
+ optional uint32 ordinal = 3;
84
+ }
85
+
86
+ message CChatRoleActions {
87
+ optional uint64 role_id = 1;
88
+ optional bool can_create_rename_delete_channel = 2;
89
+ optional bool can_kick = 3;
90
+ optional bool can_ban = 4;
91
+ optional bool can_invite = 5;
92
+ optional bool can_change_tagline_avatar_name = 6;
93
+ optional bool can_chat = 7;
94
+ optional bool can_view_history = 8;
95
+ optional bool can_change_group_roles = 9;
96
+ optional bool can_change_user_roles = 10;
97
+ optional bool can_mention_all = 11;
98
+ optional bool can_set_watching_broadcast = 12;
99
+ }
100
+
101
+ message CChatPartyBeacon {
102
+ optional uint32 app_id = 1;
103
+ optional fixed64 steamid_owner = 2;
104
+ optional fixed64 beacon_id = 3;
105
+ optional string game_metadata = 4;
106
+ }
107
+
108
+ message CChatRoomGroupHeaderState {
109
+ optional uint64 chat_group_id = 1;
110
+ optional string chat_name = 2;
111
+ optional uint32 clanid = 13;
112
+ optional uint32 accountid_owner = 14;
113
+ optional uint32 appid = 21;
114
+ optional string tagline = 15;
115
+ optional bytes avatar_sha = 16;
116
+ optional uint64 default_role_id = 17;
117
+ repeated .CChatRole roles = 18;
118
+ repeated .CChatRoleActions role_actions = 19;
119
+ optional uint32 watching_broadcast_accountid = 20;
120
+ repeated .CChatPartyBeacon party_beacons = 22;
121
+ optional uint64 watching_broadcast_channel_id = 23;
122
+ optional uint64 active_minigame_id = 24;
123
+ optional string avatar_ugc_url = 25;
124
+ optional bool disabled = 26;
125
+ }
126
+
127
+ message CChatRoomMember {
128
+ optional uint32 accountid = 1;
129
+ optional .EChatRoomJoinState state = 3 [default = k_EChatRoomJoinState_Default];
130
+ optional .EChatRoomGroupRank rank = 4 [default = k_EChatRoomGroupRank_Default];
131
+ optional uint32 time_kick_expire = 6;
132
+ repeated uint64 role_ids = 7;
133
+ }
134
+
135
+ message CChatRoomState {
136
+ optional uint64 chat_id = 1;
137
+ optional string chat_name = 2;
138
+ optional bool voice_allowed = 3;
139
+ repeated uint32 members_in_voice = 4;
140
+ optional uint32 time_last_message = 5;
141
+ optional uint32 sort_order = 6;
142
+ optional string last_message = 7;
143
+ optional uint32 accountid_last_message = 8;
144
+ }
145
+
146
+ message CChatRoomGroupState {
147
+ optional .CChatRoomGroupHeaderState header_state = 1;
148
+ repeated .CChatRoomMember members = 2;
149
+ optional uint64 default_chat_id = 4;
150
+ repeated .CChatRoomState chat_rooms = 5;
151
+ repeated .CChatRoomMember kicked = 7;
152
+ }
153
+
154
+ message CUserChatRoomState {
155
+ optional uint64 chat_id = 1;
156
+ optional uint32 time_joined = 2;
157
+ optional uint32 time_last_ack = 3;
158
+ optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid];
159
+ optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid];
160
+ optional uint32 time_last_mention = 6;
161
+ optional bool unread_indicator_muted = 7 [default = false];
162
+ optional uint32 time_first_unread = 8;
163
+ }
164
+
165
+ message CUserChatRoomGroupState {
166
+ optional uint64 chat_group_id = 1;
167
+ optional uint32 time_joined = 2;
168
+ repeated .CUserChatRoomState user_chat_room_state = 3;
169
+ optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid];
170
+ optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid];
171
+ optional uint32 time_last_group_ack = 6;
172
+ optional bool unread_indicator_muted = 7 [default = false];
173
+ }
174
+
175
+ message CChatRoom_CreateChatRoomGroup_Response {
176
+ optional uint64 chat_group_id = 1;
177
+ optional .CChatRoomGroupState state = 2;
178
+ optional .CUserChatRoomGroupState user_chat_state = 3;
179
+ }
180
+
181
+ message CChatRoom_SaveChatRoomGroup_Request {
182
+ optional uint64 chat_group_id = 1;
183
+ optional string name = 2;
184
+ }
185
+
186
+ message CChatRoom_SaveChatRoomGroup_Response {
187
+ }
188
+
189
+ message CChatRoom_RenameChatRoomGroup_Request {
190
+ optional uint64 chat_group_id = 1;
191
+ optional string name = 2;
192
+ }
193
+
194
+ message CChatRoom_RenameChatRoomGroup_Response {
195
+ optional string name = 1;
196
+ }
197
+
198
+ message CChatRoom_SetChatRoomGroupTagline_Request {
199
+ optional uint64 chat_group_id = 1;
200
+ optional string tagline = 2;
201
+ }
202
+
203
+ message CChatRoom_SetChatRoomGroupTagline_Response {
204
+ }
205
+
206
+ message CChatRoom_SetChatRoomGroupAvatar_Request {
207
+ optional uint64 chat_group_id = 1;
208
+ optional bytes avatar_sha = 2;
209
+ }
210
+
211
+ message CChatRoom_SetChatRoomGroupAvatar_Response {
212
+ }
213
+
214
+ message CChatRoom_SetChatRoomGroupWatchingBroadcast_Request {
215
+ optional uint64 chat_group_id = 1;
216
+ optional uint32 watching_broadcast_accountid = 2;
217
+ optional uint64 watching_broadcast_channel_id = 3;
218
+ }
219
+
220
+ message CChatRoom_SetChatRoomGroupWatchingBroadcast_Response {
221
+ }
222
+
223
+ message CChatRoom_JoinMiniGameForChatRoomGroup_Request {
224
+ optional uint64 chat_group_id = 1;
225
+ optional uint64 chat_id = 2;
226
+ }
227
+
228
+ message CChatRoom_JoinMiniGameForChatRoomGroup_Response {
229
+ optional uint64 minigame_id = 1;
230
+ }
231
+
232
+ message CChatRoom_EndMiniGameForChatRoomGroup_Request {
233
+ optional uint64 chat_group_id = 1;
234
+ optional uint64 chat_id = 2;
235
+ optional uint64 minigame_id = 3;
236
+ }
237
+
238
+ message CChatRoom_EndMiniGameForChatRoomGroup_Response {
239
+ }
240
+
241
+ message CChatRoom_MuteUser_Request {
242
+ optional uint64 chat_group_id = 1;
243
+ optional fixed64 steamid = 2;
244
+ optional int32 expiration = 3;
245
+ }
246
+
247
+ message CChatRoom_MuteUser_Response {
248
+ }
249
+
250
+ message CChatRoom_KickUser_Request {
251
+ optional uint64 chat_group_id = 1;
252
+ optional fixed64 steamid = 2;
253
+ optional int32 expiration = 3;
254
+ }
255
+
256
+ message CChatRoom_KickUser_Response {
257
+ }
258
+
259
+ message CChatRoom_SetUserBanState_Request {
260
+ optional uint64 chat_group_id = 1;
261
+ optional fixed64 steamid = 2;
262
+ optional bool ban_state = 3;
263
+ }
264
+
265
+ message CChatRoom_SetUserBanState_Response {
266
+ }
267
+
268
+ message CChatRoom_RevokeInvite_Request {
269
+ optional uint64 chat_group_id = 1;
270
+ optional fixed64 steamid = 2;
271
+ }
272
+
273
+ message CChatRoom_RevokeInvite_Response {
274
+ }
275
+
276
+ message CChatRoom_CreateRole_Request {
277
+ optional uint64 chat_group_id = 1;
278
+ optional string name = 2;
279
+ }
280
+
281
+ message CChatRoom_CreateRole_Response {
282
+ optional .CChatRoleActions actions = 2;
283
+ }
284
+
285
+ message CChatRoom_GetRoles_Request {
286
+ optional uint64 chat_group_id = 1;
287
+ }
288
+
289
+ message CChatRoom_GetRoles_Response {
290
+ repeated .CChatRole roles = 1;
291
+ }
292
+
293
+ message CChatRoom_RenameRole_Request {
294
+ optional uint64 chat_group_id = 1;
295
+ optional uint64 role_id = 2;
296
+ optional string name = 3;
297
+ }
298
+
299
+ message CChatRoom_RenameRole_Response {
300
+ }
301
+
302
+ message CChatRoom_ReorderRole_Request {
303
+ optional uint64 chat_group_id = 1;
304
+ optional uint64 role_id = 2;
305
+ optional uint32 ordinal = 3;
306
+ }
307
+
308
+ message CChatRoom_ReorderRole_Response {
309
+ }
310
+
311
+ message CChatRoom_DeleteRole_Request {
312
+ optional uint64 chat_group_id = 1;
313
+ optional uint64 role_id = 2;
314
+ }
315
+
316
+ message CChatRoom_DeleteRole_Response {
317
+ }
318
+
319
+ message CChatRoom_GetRoleActions_Request {
320
+ optional uint64 chat_group_id = 1;
321
+ optional uint64 role_id = 2;
322
+ }
323
+
324
+ message CChatRoom_GetRoleActions_Response {
325
+ repeated .CChatRoleActions actions = 1;
326
+ }
327
+
328
+ message CChatRoom_ReplaceRoleActions_Request {
329
+ optional uint64 chat_group_id = 1;
330
+ optional uint64 role_id = 2;
331
+ optional .CChatRoleActions actions = 4;
332
+ }
333
+
334
+ message CChatRoom_ReplaceRoleActions_Response {
335
+ }
336
+
337
+ message CChatRoom_AddRoleToUser_Request {
338
+ optional uint64 chat_group_id = 1;
339
+ optional uint64 role_id = 3;
340
+ optional fixed64 steamid = 4;
341
+ }
342
+
343
+ message CChatRoom_AddRoleToUser_Response {
344
+ }
345
+
346
+ message CChatRoom_GetRolesForUser_Request {
347
+ optional uint64 chat_group_id = 1;
348
+ optional fixed64 steamid = 3;
349
+ }
350
+
351
+ message CChatRoom_GetRolesForUser_Response {
352
+ repeated uint64 role_ids = 1;
353
+ }
354
+
355
+ message CChatRoom_DeleteRoleFromUser_Request {
356
+ optional uint64 chat_group_id = 1;
357
+ optional uint64 role_id = 3;
358
+ optional fixed64 steamid = 4;
359
+ }
360
+
361
+ message CChatRoom_DeleteRoleFromUser_Response {
362
+ }
363
+
364
+ message CChatRoom_JoinChatRoomGroup_Request {
365
+ optional uint64 chat_group_id = 1;
366
+ optional string invite_code = 2;
367
+ optional uint64 chat_id = 3;
368
+ }
369
+
370
+ message CChatRoom_JoinChatRoomGroup_Response {
371
+ optional .CChatRoomGroupState state = 1;
372
+ optional .CUserChatRoomGroupState user_chat_state = 3;
373
+ optional uint64 join_chat_id = 4;
374
+ optional uint32 time_expire = 5;
375
+ }
376
+
377
+ message CChatRoom_InviteFriendToChatRoomGroup_Request {
378
+ optional uint64 chat_group_id = 1;
379
+ optional fixed64 steamid = 2;
380
+ optional uint64 chat_id = 3;
381
+ optional bool skip_friendsui_check = 4;
382
+ }
383
+
384
+ message CChatRoom_InviteFriendToChatRoomGroup_Response {
385
+ }
386
+
387
+ message CChatRoom_LeaveChatRoomGroup_Request {
388
+ optional uint64 chat_group_id = 1;
389
+ }
390
+
391
+ message CChatRoom_LeaveChatRoomGroup_Response {
392
+ }
393
+
394
+ message CChatRoom_CreateChatRoom_Request {
395
+ optional uint64 chat_group_id = 1;
396
+ optional string name = 2;
397
+ optional bool allow_voice = 3;
398
+ }
399
+
400
+ message CChatRoom_CreateChatRoom_Response {
401
+ optional .CChatRoomState chat_room = 1;
402
+ }
403
+
404
+ message CChatRoom_DeleteChatRoom_Request {
405
+ optional uint64 chat_group_id = 1;
406
+ optional uint64 chat_id = 2;
407
+ }
408
+
409
+ message CChatRoom_DeleteChatRoom_Response {
410
+ }
411
+
412
+ message CChatRoom_RenameChatRoom_Request {
413
+ optional uint64 chat_group_id = 1;
414
+ optional uint64 chat_id = 2;
415
+ optional string name = 3;
416
+ }
417
+
418
+ message CChatRoom_RenameChatRoom_Response {
419
+ }
420
+
421
+ message CChatRoom_ReorderChatRoom_Request {
422
+ optional uint64 chat_group_id = 1;
423
+ optional uint64 chat_id = 2;
424
+ optional uint64 move_after_chat_id = 3;
425
+ }
426
+
427
+ message CChatRoom_ReorderChatRoom_Response {
428
+ }
429
+
430
+ message CChatRoom_SendChatMessage_Request {
431
+ optional uint64 chat_group_id = 1;
432
+ optional uint64 chat_id = 2;
433
+ optional string message = 3;
434
+ optional bool echo_to_sender = 4;
435
+ }
436
+
437
+ message CChatRoom_SendChatMessage_Response {
438
+ optional string modified_message = 1;
439
+ optional uint32 server_timestamp = 2;
440
+ optional uint32 ordinal = 3;
441
+ optional string message_without_bb_code = 4;
442
+ }
443
+
444
+ message CChatRoom_JoinVoiceChat_Request {
445
+ optional uint64 chat_group_id = 1;
446
+ optional uint64 chat_id = 2;
447
+ }
448
+
449
+ message CChatRoom_JoinVoiceChat_Response {
450
+ optional uint64 voice_chatid = 1;
451
+ }
452
+
453
+ message CChatRoom_LeaveVoiceChat_Request {
454
+ optional uint64 chat_group_id = 1;
455
+ optional uint64 chat_id = 2;
456
+ }
457
+
458
+ message CChatRoom_LeaveVoiceChat_Response {
459
+ }
460
+
461
+ message CChatRoom_GetMessageHistory_Request {
462
+ optional uint64 chat_group_id = 1;
463
+ optional uint64 chat_id = 2;
464
+ optional uint32 last_time = 3;
465
+ optional uint32 last_ordinal = 4;
466
+ optional uint32 start_time = 5;
467
+ optional uint32 start_ordinal = 6;
468
+ optional uint32 max_count = 7;
469
+ }
470
+
471
+ message ServerMessage {
472
+ optional .EChatRoomServerMessage message = 1 [default = k_EChatRoomServerMsg_Invalid];
473
+ optional string string_param = 2;
474
+ optional uint32 accountid_param = 3;
475
+ }
476
+
477
+ message CChatRoom_GetMessageHistory_Response {
478
+ message ChatMessage {
479
+ message MessageReaction {
480
+ optional .EChatRoomMessageReactionType reaction_type = 1 [default = k_EChatRoomMessageReactionType_Invalid];
481
+ optional string reaction = 2;
482
+ optional uint32 num_reactors = 3;
483
+ optional bool has_user_reacted = 4;
484
+ }
485
+
486
+ optional uint32 sender = 1;
487
+ optional uint32 server_timestamp = 2;
488
+ optional string message = 3;
489
+ optional uint32 ordinal = 4;
490
+ optional .ServerMessage server_message = 5;
491
+ optional bool deleted = 6;
492
+ repeated .CChatRoom_GetMessageHistory_Response.ChatMessage.MessageReaction reactions = 7;
493
+ }
494
+
495
+ repeated .CChatRoom_GetMessageHistory_Response.ChatMessage messages = 1;
496
+ optional bool more_available = 4;
497
+ }
498
+
499
+ message CChatRoom_GetMyChatRoomGroups_Request {
500
+ }
501
+
502
+ message CChatRoom_GetChatRoomGroupSummary_Response {
503
+ optional uint64 chat_group_id = 1;
504
+ optional string chat_group_name = 2;
505
+ optional uint32 active_member_count = 3;
506
+ optional uint32 active_voice_member_count = 4;
507
+ optional uint64 default_chat_id = 5;
508
+ repeated .CChatRoomState chat_rooms = 6;
509
+ optional uint32 clanid = 7;
510
+ optional string chat_group_tagline = 8;
511
+ optional uint32 accountid_owner = 9;
512
+ repeated uint32 top_members = 10;
513
+ optional bytes chat_group_avatar_sha = 11;
514
+ optional .EChatRoomGroupRank rank = 12 [default = k_EChatRoomGroupRank_Default];
515
+ optional uint64 default_role_id = 13;
516
+ repeated uint64 role_ids = 14;
517
+ repeated .CChatRoleActions role_actions = 15;
518
+ optional uint32 watching_broadcast_accountid = 16;
519
+ optional uint32 appid = 17;
520
+ repeated .CChatPartyBeacon party_beacons = 18;
521
+ optional uint64 watching_broadcast_channel_id = 19;
522
+ optional uint64 active_minigame_id = 20;
523
+ optional string avatar_ugc_url = 21;
524
+ optional bool disabled = 22;
525
+ }
526
+
527
+ message CChatRoomSummaryPair {
528
+ optional .CUserChatRoomGroupState user_chat_group_state = 1;
529
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2;
530
+ }
531
+
532
+ message CChatRoom_GetMyChatRoomGroups_Response {
533
+ repeated .CChatRoomSummaryPair chat_room_groups = 1;
534
+ }
535
+
536
+ message CChatRoom_GetChatRoomGroupState_Request {
537
+ optional uint64 chat_group_id = 1;
538
+ }
539
+
540
+ message CChatRoom_GetChatRoomGroupState_Response {
541
+ optional .CChatRoomGroupState state = 1;
542
+ }
543
+
544
+ message CChatRoom_GetChatRoomGroupSummary_Request {
545
+ optional uint64 chat_group_id = 1;
546
+ }
547
+
548
+ message CChatRoom_SetAppChatRoomGroupForceActive_Request {
549
+ optional uint64 chat_group_id = 1;
550
+ optional uint32 requesting_app_id = 2;
551
+ }
552
+
553
+ message CChatRoom_SetAppChatRoomGroupForceActive_Response {
554
+ optional uint32 result = 1;
555
+ repeated uint32 accounts_in_channel = 2;
556
+ }
557
+
558
+ message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification {
559
+ optional uint64 chat_group_id = 1;
560
+ optional uint32 requesting_app_id = 2;
561
+ }
562
+
563
+ message CChatRoom_AckChatMessage_Notification {
564
+ optional uint64 chat_group_id = 1;
565
+ optional uint64 chat_id = 2;
566
+ optional uint32 timestamp = 3;
567
+ }
568
+
569
+ message CChatRoom_CreateInviteLink_Request {
570
+ optional uint64 chat_group_id = 1;
571
+ optional uint32 seconds_valid = 2;
572
+ optional uint64 chat_id = 3;
573
+ }
574
+
575
+ message CChatRoom_CreateInviteLink_Response {
576
+ optional string invite_code = 1;
577
+ optional uint32 seconds_valid = 2;
578
+ }
579
+
580
+ message CChatRoom_GetInviteLinkInfo_Request {
581
+ optional string invite_code = 1;
582
+ }
583
+
584
+ message CChatRoom_GetInviteLinkInfo_Response {
585
+ optional fixed64 steamid_sender = 3;
586
+ optional uint32 time_expires = 4;
587
+ optional uint64 chat_id = 6;
588
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8;
589
+ optional .CUserChatRoomGroupState user_chat_group_state = 9;
590
+ optional uint32 time_kick_expire = 10;
591
+ optional bool banned = 11;
592
+ }
593
+
594
+ message CChatRoom_GetInviteInfo_Request {
595
+ optional fixed64 steamid_invitee = 1;
596
+ optional uint64 chat_group_id = 2;
597
+ optional uint64 chat_id = 3;
598
+ optional string invite_code = 4;
599
+ }
600
+
601
+ message CChatRoom_GetInviteInfo_Response {
602
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1;
603
+ optional uint32 time_kick_expire = 2;
604
+ optional bool banned = 3;
605
+ }
606
+
607
+ message CChatRoom_GetInviteLinksForGroup_Request {
608
+ optional uint64 chat_group_id = 1;
609
+ }
610
+
611
+ message CChatRoom_GetInviteLinksForGroup_Response {
612
+ message LinkInfo {
613
+ optional string invite_code = 1;
614
+ optional fixed64 steamid_creator = 2;
615
+ optional uint32 time_expires = 3;
616
+ optional uint64 chat_id = 4;
617
+ }
618
+
619
+ repeated .CChatRoom_GetInviteLinksForGroup_Response.LinkInfo invite_links = 1;
620
+ }
621
+
622
+ message CChatRoom_GetBanList_Request {
623
+ optional uint64 chat_group_id = 1;
624
+ }
625
+
626
+ message CChatRoom_GetBanList_Response {
627
+ message BanInfo {
628
+ optional uint32 accountid = 1;
629
+ optional uint32 accountid_actor = 2;
630
+ optional uint32 time_banned = 3;
631
+ optional string ban_reason = 4;
632
+ }
633
+
634
+ repeated .CChatRoom_GetBanList_Response.BanInfo bans = 1;
635
+ }
636
+
637
+ message CChatRoom_GetInviteList_Request {
638
+ optional uint64 chat_group_id = 1;
639
+ }
640
+
641
+ message CChatRoomGroupInvite {
642
+ optional uint32 accountid = 1;
643
+ optional uint32 accountid_actor = 2;
644
+ optional uint32 time_invited = 3;
645
+ }
646
+
647
+ message CChatRoom_GetInviteList_Response {
648
+ repeated .CChatRoomGroupInvite invites = 1;
649
+ }
650
+
651
+ message CChatRoom_DeleteInviteLink_Request {
652
+ optional uint64 chat_group_id = 1;
653
+ optional string invite_code = 2;
654
+ }
655
+
656
+ message CChatRoom_DeleteInviteLink_Response {
657
+ }
658
+
659
+ message CChatRoom_SetSessionActiveChatRoomGroups_Request {
660
+ repeated uint64 chat_group_ids = 1;
661
+ repeated uint64 chat_groups_data_requested = 2;
662
+ optional int32 virtualize_members_threshold = 3;
663
+ }
664
+
665
+ message CChatRoom_SetSessionActiveChatRoomGroups_Response {
666
+ repeated .CChatRoomGroupState chat_states = 1;
667
+ repeated uint64 virtualize_members_chat_group_ids = 2;
668
+ }
669
+
670
+ message CChatRoom_SetUserChatGroupPreferences_Request {
671
+ message ChatGroupPreferences {
672
+ optional .EChatRoomNotificationLevel desktop_notification_level = 1 [default = k_EChatroomNotificationLevel_Invalid];
673
+ optional .EChatRoomNotificationLevel mobile_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid];
674
+ optional bool unread_indicator_muted = 3;
675
+ }
676
+
677
+ message ChatRoomPreferences {
678
+ optional uint64 chat_id = 1;
679
+ optional .EChatRoomNotificationLevel desktop_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid];
680
+ optional .EChatRoomNotificationLevel mobile_notification_level = 3 [default = k_EChatroomNotificationLevel_Invalid];
681
+ optional bool unread_indicator_muted = 4;
682
+ }
683
+
684
+ optional uint64 chat_group_id = 1;
685
+ optional .CChatRoom_SetUserChatGroupPreferences_Request.ChatGroupPreferences chat_group_preferences = 2;
686
+ repeated .CChatRoom_SetUserChatGroupPreferences_Request.ChatRoomPreferences chat_room_preferences = 3;
687
+ }
688
+
689
+ message CChatRoom_SetUserChatGroupPreferences_Response {
690
+ }
691
+
692
+ message CChatRoom_DeleteChatMessages_Request {
693
+ message Message {
694
+ optional uint32 server_timestamp = 1;
695
+ optional uint32 ordinal = 2;
696
+ }
697
+
698
+ optional uint64 chat_group_id = 1;
699
+ optional uint64 chat_id = 2;
700
+ repeated .CChatRoom_DeleteChatMessages_Request.Message messages = 3;
701
+ }
702
+
703
+ message CChatRoom_DeleteChatMessages_Response {
704
+ }
705
+
706
+ message CChatRoom_UpdateMemberListView_Notification {
707
+ optional uint64 chat_group_id = 1;
708
+ optional uint64 view_id = 2;
709
+ optional int32 start = 3;
710
+ optional int32 end = 4;
711
+ optional int32 client_changenumber = 5;
712
+ optional bool delete_view = 6;
713
+ repeated int32 persona_subscribe_accountids = 7;
714
+ repeated int32 persona_unsubscribe_accountids = 8;
715
+ }
716
+
717
+ message CChatRoom_SearchMembers_Request {
718
+ optional uint64 chat_group_id = 1;
719
+ optional uint64 search_id = 2;
720
+ optional string search_text = 3;
721
+ optional int32 max_results = 4;
722
+ }
723
+
724
+ message CChatRoom_SearchMembers_Response {
725
+ message MemberMatch {
726
+ optional int32 accountid = 1;
727
+ optional .CMsgClientPersonaState.Friend persona = 2;
728
+ }
729
+
730
+ repeated .CChatRoom_SearchMembers_Response.MemberMatch matching_members = 1;
731
+ optional uint32 status_flags = 2;
732
+ }
733
+
734
+ message CChatRoom_UpdateMessageReaction_Request {
735
+ optional uint64 chat_group_id = 1;
736
+ optional uint64 chat_id = 2;
737
+ optional uint32 server_timestamp = 3;
738
+ optional uint32 ordinal = 4;
739
+ optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid];
740
+ optional string reaction = 6;
741
+ optional bool is_add = 7;
742
+ }
743
+
744
+ message CChatRoom_UpdateMessageReaction_Response {
745
+ optional uint32 num_reactors = 1;
746
+ }
747
+
748
+ message CChatRoom_GetMessageReactionReactors_Request {
749
+ optional uint64 chat_group_id = 1;
750
+ optional uint64 chat_id = 2;
751
+ optional uint32 server_timestamp = 3;
752
+ optional uint32 ordinal = 4;
753
+ optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid];
754
+ optional string reaction = 6;
755
+ optional uint32 limit = 7;
756
+ }
757
+
758
+ message CChatRoom_GetMessageReactionReactors_Response {
759
+ repeated uint32 reactors = 1;
760
+ }
761
+
762
+ message CClanChatRooms_GetClanChatRoomInfo_Request {
763
+ optional fixed64 steamid = 1;
764
+ optional bool autocreate = 2 [default = true];
765
+ }
766
+
767
+ message CClanChatRooms_GetClanChatRoomInfo_Response {
768
+ optional .CChatRoom_GetChatRoomGroupSummary_Response chat_group_summary = 1;
769
+ }
770
+
771
+ message CClanChatRooms_SetClanChatRoomPrivate_Request {
772
+ optional fixed64 steamid = 1;
773
+ optional bool chat_room_private = 2;
774
+ }
775
+
776
+ message CClanChatRooms_SetClanChatRoomPrivate_Response {
777
+ optional bool chat_room_private = 1;
778
+ }
779
+
780
+ message CChatMentions {
781
+ optional bool mention_all = 1;
782
+ optional bool mention_here = 2;
783
+ repeated uint32 mention_accountids = 3;
784
+ }
785
+
786
+ message CChatRoom_IncomingChatMessage_Notification {
787
+ optional uint64 chat_group_id = 1;
788
+ optional uint64 chat_id = 2;
789
+ optional fixed64 steamid_sender = 3;
790
+ optional string message = 4;
791
+ optional uint32 timestamp = 5;
792
+ optional .CChatMentions mentions = 6;
793
+ optional uint32 ordinal = 7;
794
+ optional .ServerMessage server_message = 8;
795
+ optional string message_no_bbcode = 9;
796
+ optional string chat_name = 10;
797
+ }
798
+
799
+ message CChatRoom_ChatMessageModified_Notification {
800
+ message ChatMessage {
801
+ optional uint32 server_timestamp = 1;
802
+ optional uint32 ordinal = 2;
803
+ optional bool deleted = 3;
804
+ }
805
+
806
+ optional uint64 chat_group_id = 1;
807
+ optional uint64 chat_id = 2;
808
+ repeated .CChatRoom_ChatMessageModified_Notification.ChatMessage messages = 3;
809
+ }
810
+
811
+ message CChatRoom_MemberStateChange_Notification {
812
+ optional uint64 chat_group_id = 1;
813
+ optional .CChatRoomMember member = 2;
814
+ optional .EChatRoomMemberStateChange change = 3 [default = k_EChatRoomMemberStateChange_Invalid];
815
+ }
816
+
817
+ message CChatRoom_ChatRoomHeaderState_Notification {
818
+ optional .CChatRoomGroupHeaderState header_state = 1;
819
+ }
820
+
821
+ message CChatRoom_ChatRoomGroupRoomsChange_Notification {
822
+ optional uint64 chat_group_id = 1;
823
+ optional uint64 default_chat_id = 2;
824
+ repeated .CChatRoomState chat_rooms = 3;
825
+ }
826
+
827
+ message CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification {
828
+ optional uint64 chat_id = 1;
829
+ optional uint64 chat_group_id = 2;
830
+ }
831
+
832
+ message ChatRoomClient_NotifyChatGroupUserStateChanged_Notification {
833
+ optional uint64 chat_group_id = 1;
834
+ optional .CUserChatRoomGroupState user_chat_group_state = 2;
835
+ optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3;
836
+ optional .EChatRoomMemberStateChange user_action = 4 [default = k_EChatRoomMemberStateChange_Invalid];
837
+ }
838
+
839
+ message ChatRoomClient_NotifyChatRoomDisconnect_Notification {
840
+ repeated uint64 chat_group_ids = 1;
841
+ }
842
+
843
+ message CChatRoomMemberListView {
844
+ optional int32 start = 3;
845
+ optional int32 end = 4;
846
+ optional int32 total_count = 5;
847
+ optional int32 client_changenumber = 6;
848
+ optional int32 server_changenumber = 7;
849
+ }
850
+
851
+ message CChatRoomMemberSummaryCounts {
852
+ optional int32 ingame = 1;
853
+ optional int32 online = 2;
854
+ optional int32 offline = 3;
855
+ }
856
+
857
+ message CChatRoomClient_MemberListViewUpdated_Notification {
858
+ message MemberListViewEntry {
859
+ optional int32 rank = 1;
860
+ optional uint32 accountid = 2;
861
+ optional .CMsgClientPersonaState.Friend persona = 3;
862
+ }
863
+
864
+ optional uint64 chat_group_id = 1;
865
+ optional uint64 view_id = 2;
866
+ optional .CChatRoomMemberListView view = 3;
867
+ repeated .CChatRoomClient_MemberListViewUpdated_Notification.MemberListViewEntry members = 4;
868
+ optional uint32 status_flags = 5;
869
+ optional .CChatRoomMemberSummaryCounts member_summary = 6;
870
+ repeated .CMsgClientPersonaState.Friend subscribed_personas = 7;
871
+ }
872
+
873
+ message CChatRoom_MessageReaction_Notification {
874
+ optional uint64 chat_group_id = 1;
875
+ optional uint64 chat_id = 2;
876
+ optional uint32 server_timestamp = 3;
877
+ optional uint32 ordinal = 4;
878
+ optional fixed64 reactor = 5;
879
+ optional .EChatRoomMessageReactionType reaction_type = 6 [default = k_EChatRoomMessageReactionType_Invalid];
880
+ optional string reaction = 7;
881
+ optional bool is_add = 8;
882
+ }
883
+
884
+ message CChatUsability_ClientUsabilityMetrics_Notification {
885
+ message Settings {
886
+ optional bool notifications_show_ingame = 1;
887
+ optional bool notifications_show_online = 2;
888
+ optional bool notifications_show_message = 3;
889
+ optional bool notifications_events_and_announcements = 4;
890
+ optional bool sounds_play_ingame = 5;
891
+ optional bool sounds_play_online = 6;
892
+ optional bool sounds_play_message = 7;
893
+ optional bool sounds_events_and_announcements = 8;
894
+ optional bool always_new_chat_window = 9;
895
+ optional bool force_alphabetic_friend_sorting = 10;
896
+ optional int32 chat_flash_mode = 11;
897
+ optional bool remember_open_chats = 12;
898
+ optional bool compact_quick_access = 13;
899
+ optional bool compact_friends_list = 14;
900
+ optional bool notifications_show_chat_room_notification = 15;
901
+ optional bool sounds_play_chat_room_notification = 16;
902
+ optional bool hide_offline_friends_in_tag_groups = 17;
903
+ optional bool hide_categorized_friends = 18;
904
+ optional bool categorize_in_game_friends_by_game = 19;
905
+ optional int32 chat_font_size = 20;
906
+ optional bool use24hour_clock = 21;
907
+ optional bool do_not_disturb_mode = 22;
908
+ optional bool disable_embed_inlining = 23;
909
+ optional bool sign_into_friends = 24;
910
+ optional bool animated_avatars = 25;
911
+ }
912
+
913
+ message VoiceSettings {
914
+ optional float voice_input_gain = 1;
915
+ optional float voice_output_gain = 2;
916
+ optional int32 noise_gate_level = 3;
917
+ optional bool voice_use_echo_cancellation = 4;
918
+ optional bool voice_use_noise_cancellation = 5;
919
+ optional bool voice_use_auto_gain_control = 6;
920
+ optional bool selected_non_default_mic = 7;
921
+ optional bool selected_non_default_output = 8;
922
+ optional bool push_to_talk_enabled = 9;
923
+ optional bool push_to_mute_enabled = 10;
924
+ optional bool play_ptt_sounds = 11;
925
+ }
926
+
927
+ message UIState {
928
+ message CategoryCollapseState {
929
+ optional bool in_game_collapsed = 1;
930
+ optional bool online_collapsed = 2;
931
+ optional bool offline_collapsed = 3;
932
+ optional int32 game_groups_collapsed = 4;
933
+ optional int32 categories_collapsed = 5;
934
+ }
935
+
936
+ optional int32 friends_list_height = 1;
937
+ optional int32 friends_list_width = 2;
938
+ optional bool friends_list_docked = 3;
939
+ optional bool friends_list_collapsed = 4;
940
+ optional int32 friends_list_group_chats_height = 5;
941
+ optional bool friends_list_visible = 6;
942
+ optional int32 chat_popups_opened = 7;
943
+ optional int32 group_chat_tabs_opened = 8;
944
+ optional int32 friend_chat_tabs_opened = 9;
945
+ optional int32 chat_window_width = 10;
946
+ optional int32 chat_window_height = 11;
947
+ optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState.CategoryCollapseState category_collapse = 12;
948
+ optional int32 group_chat_left_col_collapsed = 13;
949
+ optional int32 group_chat_right_col_collapsed = 14;
950
+ optional bool in_one_on_one_voice_chat = 15;
951
+ optional bool in_group_voice_chat = 16;
952
+ }
953
+
954
+ message Metrics {
955
+ optional int32 friends_count = 1;
956
+ optional int32 friends_category_count = 2;
957
+ optional int32 friends_categorized_count = 3;
958
+ optional int32 friends_online_count = 4;
959
+ optional int32 friends_in_game_count = 5;
960
+ optional int32 friends_in_game_singleton_count = 6;
961
+ optional int32 game_group_count = 7;
962
+ optional int32 friends_favorite_count = 8;
963
+ optional int32 group_chat_count = 9;
964
+ optional int32 group_chat_favorite_count = 10;
965
+ }
966
+
967
+ optional uint32 metrics_run_id = 1;
968
+ optional uint32 client_build = 2;
969
+ optional uint32 metrics_version = 3;
970
+ optional bool in_web = 4;
971
+ optional .CChatUsability_ClientUsabilityMetrics_Notification.Settings settings = 10;
972
+ optional .CChatUsability_ClientUsabilityMetrics_Notification.VoiceSettings voice_settings = 11;
973
+ optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState ui_state = 12;
974
+ optional .CChatUsability_ClientUsabilityMetrics_Notification.Metrics metrics = 13;
975
+ }
976
+
977
+ message CChatUsability_RequestClientUsabilityMetrics_Notification {
978
+ optional uint32 metrics_run_id = 1;
979
+ }
980
+
981
+ service Chat {
982
+ rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response);
983
+ }
984
+
985
+ service ChatRoom {
986
+ rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response);
987
+ rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response);
988
+ rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response);
989
+ rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response);
990
+ rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response);
991
+ rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response);
992
+ rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response);
993
+ rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response);
994
+ rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response);
995
+ rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response);
996
+ rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response);
997
+ rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response);
998
+ rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response);
999
+ rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response);
1000
+ rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response);
1001
+ rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response);
1002
+ rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response);
1003
+ rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response);
1004
+ rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response);
1005
+ rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response);
1006
+ rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response);
1007
+ rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response);
1008
+ rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response);
1009
+ rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response);
1010
+ rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response);
1011
+ rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response);
1012
+ rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response);
1013
+ rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response);
1014
+ rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response);
1015
+ rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response);
1016
+ rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response);
1017
+ rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response);
1018
+ rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response);
1019
+ rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response);
1020
+ rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response);
1021
+ rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response);
1022
+ rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response);
1023
+ rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse);
1024
+ rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
1025
+ rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response);
1026
+ rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response);
1027
+ rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response);
1028
+ rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response);
1029
+ rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response);
1030
+ rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response);
1031
+ rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response);
1032
+ rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response);
1033
+ rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response);
1034
+ rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response);
1035
+ rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse);
1036
+ rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response);
1037
+ rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response);
1038
+ rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response);
1039
+ }
1040
+
1041
+ service ClanChatRooms {
1042
+ rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response);
1043
+ rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response);
1044
+ }
1045
+
1046
+ service ChatRoomClient {
1047
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1048
+
1049
+ rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse);
1050
+ rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse);
1051
+ rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse);
1052
+ rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse);
1053
+ rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse);
1054
+ rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse);
1055
+ rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse);
1056
+ rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
1057
+ rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse);
1058
+ rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse);
1059
+ rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse);
1060
+ }
1061
+
1062
+ service ChatUsability {
1063
+ rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse);
1064
+ }
1065
+
1066
+ service ChatUsabilityClient {
1067
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1068
+
1069
+ rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse);
1070
+ }