steamutils 1.2.93 → 1.2.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. package/.idea/deployment.xml +21 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/free_packages.json +10048 -10048
  5. package/index.js +7 -1
  6. package/package.json +1 -1
  7. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  8. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  9. package/protos/csgo/clientmessages.proto +48 -48
  10. package/protos/csgo/connectionless_netmessages.proto +19 -19
  11. package/protos/csgo/cs_gameevents.proto +34 -34
  12. package/protos/csgo/cs_usercmd.proto +34 -34
  13. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  14. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  15. package/protos/csgo/demo.proto +160 -160
  16. package/protos/csgo/econ_gcmessages.proto +228 -228
  17. package/protos/csgo/engine_gcmessages.proto +14 -14
  18. package/protos/csgo/enums_clientserver.proto +1529 -1529
  19. package/protos/csgo/fatdemo.proto +125 -125
  20. package/protos/csgo/gameevents.proto +120 -120
  21. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  22. package/protos/csgo/gcsystemmsgs.proto +242 -242
  23. package/protos/csgo/netmessages.proto +604 -604
  24. package/protos/csgo/network_connection.proto +126 -126
  25. package/protos/csgo/networkbasetypes.proto +244 -244
  26. package/protos/csgo/networksystem_protomessages.proto +17 -17
  27. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  28. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  29. package/protos/csgo/steammessages.proto +597 -597
  30. package/protos/csgo/steammessages_base.proto +301 -301
  31. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  32. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  33. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  34. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  35. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  36. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  37. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  38. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  39. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  40. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  41. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  42. package/protos/csgo/te.proto +259 -259
  43. package/protos/csgo/uifontfile_format.proto +13 -13
  44. package/protos/csgo/usercmd.proto +38 -38
  45. package/protos/csgo/usermessages.proto +721 -721
  46. package/protos/csgo/valveextensions.proto +17 -17
  47. package/protos/google/protobuf/descriptor.proto +281 -281
  48. package/protos/steam/clientmetrics.proto +45 -45
  49. package/protos/steam/content_manifest.proto +62 -62
  50. package/protos/steam/contenthubs.proto +41 -41
  51. package/protos/steam/encrypted_app_ticket.proto +10 -10
  52. package/protos/steam/enums.proto +444 -444
  53. package/protos/steam/enums_clientserver.proto +1539 -1539
  54. package/protos/steam/enums_productinfo.proto +13 -13
  55. package/protos/steam/htmlmessages.proto +1027 -1027
  56. package/protos/steam/offline_ticket.proto +8 -8
  57. package/protos/steam/renderer/rendermessages.proto +893 -893
  58. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  59. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  60. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  61. package/protos/steam/steammessages_appoverview.proto +187 -187
  62. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  63. package/protos/steam/steammessages_base.proto +332 -332
  64. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  65. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  66. package/protos/steam/steammessages_client_objects.proto +645 -645
  67. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  68. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  69. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  70. package/protos/steam/steammessages_clientserver.proto +392 -392
  71. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  72. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  73. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  74. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  75. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  76. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  77. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  78. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  79. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  80. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  81. package/protos/steam/steammessages_clientsettings.proto +168 -168
  82. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  83. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  84. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  86. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  87. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  88. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  89. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  90. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  91. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  92. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  93. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  94. package/protos/steam/steammessages_hiddevices.proto +157 -157
  95. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  96. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  97. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  98. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  99. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  100. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  101. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  102. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  103. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  104. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  105. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  106. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  107. package/protos/steam/steammessages_remoteclient.proto +99 -99
  108. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  109. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  110. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  111. package/protos/steam/steammessages_remoteplay.proto +976 -976
  112. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  113. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  114. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  115. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  116. package/protos/steam/steammessages_siteserverui.proto +130 -130
  117. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  118. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  119. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  120. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  121. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  122. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  123. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  126. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  127. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_base.proto +24 -24
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_steamengine.proto +32 -32
  136. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  137. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  138. package/protos/steam/webuimessages_transport.proto +18 -18
  139. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  140. package/protos/webui/common.proto +5508 -5508
  141. package/protos/webui/common_base.proto +27 -27
  142. package/protos/webui/service_accountlinking.proto +27 -27
  143. package/protos/webui/service_accountprivacy.proto +42 -42
  144. package/protos/webui/service_auction.proto +97 -97
  145. package/protos/webui/service_authentication.proto +222 -222
  146. package/protos/webui/service_authenticationsupport.proto +74 -74
  147. package/protos/webui/service_broadcast.proto +562 -562
  148. package/protos/webui/service_chat.proto +11 -11
  149. package/protos/webui/service_chatroom.proto +810 -810
  150. package/protos/webui/service_chatusability.proto +107 -107
  151. package/protos/webui/service_clan.proto +41 -41
  152. package/protos/webui/service_clanchatrooms.proto +25 -25
  153. package/protos/webui/service_clanfaqs.proto +202 -202
  154. package/protos/webui/service_clientcomm.proto +150 -150
  155. package/protos/webui/service_clientmetrics.proto +63 -63
  156. package/protos/webui/service_cloud.proto +222 -222
  157. package/protos/webui/service_cloudconfigstore.proto +51 -51
  158. package/protos/webui/service_cloudgaming.proto +30 -30
  159. package/protos/webui/service_community.proto +365 -365
  160. package/protos/webui/service_econ.proto +134 -134
  161. package/protos/webui/service_embedded.proto +24 -24
  162. package/protos/webui/service_experimentservice.proto +6 -6
  163. package/protos/webui/service_fovasvideo.proto +15 -15
  164. package/protos/webui/service_friendmessages.proto +133 -133
  165. package/protos/webui/service_friendslist.proto +70 -70
  166. package/protos/webui/service_gamenotes.proto +15 -15
  167. package/protos/webui/service_helprequestlogs.proto +26 -26
  168. package/protos/webui/service_loyaltyrewards.proto +252 -252
  169. package/protos/webui/service_marketingmessages.proto +184 -184
  170. package/protos/webui/service_mobileapp.proto +18 -18
  171. package/protos/webui/service_mobileauth.proto +24 -24
  172. package/protos/webui/service_mobiledevice.proto +26 -26
  173. package/protos/webui/service_mobileperaccount.proto +31 -31
  174. package/protos/webui/service_news.proto +101 -101
  175. package/protos/webui/service_parental.proto +178 -178
  176. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  177. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  178. package/protos/webui/service_phone.proto +51 -51
  179. package/protos/webui/service_physicalgoods.proto +15 -15
  180. package/protos/webui/service_player.proto +885 -885
  181. package/protos/webui/service_promotioneventinvites.proto +50 -50
  182. package/protos/webui/service_promotionplanning.proto +72 -72
  183. package/protos/webui/service_publishedfile.proto +687 -687
  184. package/protos/webui/service_publishing.proto +119 -119
  185. package/protos/webui/service_quest.proto +127 -127
  186. package/protos/webui/service_salefeature.proto +315 -315
  187. package/protos/webui/service_saleitemrewards.proto +54 -54
  188. package/protos/webui/service_shoppingcart.proto +108 -108
  189. package/protos/webui/service_steamawards.proto +19 -19
  190. package/protos/webui/service_steamcharts.proto +75 -75
  191. package/protos/webui/service_steamengine.proto +36 -36
  192. package/protos/webui/service_steamlearn.proto +727 -727
  193. package/protos/webui/service_steamnotification.proto +84 -84
  194. package/protos/webui/service_steamtv.proto +495 -495
  195. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  196. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  197. package/protos/webui/service_storagedevicemanager.proto +104 -104
  198. package/protos/webui/service_store.proto +289 -289
  199. package/protos/webui/service_storeappsimilarity.proto +76 -76
  200. package/protos/webui/service_storebrowse.proto +73 -73
  201. package/protos/webui/service_storequery.proto +97 -97
  202. package/protos/webui/service_storesales.proto +15 -15
  203. package/protos/webui/service_storetopsellers.proto +44 -44
  204. package/protos/webui/service_systemmanager.proto +11 -11
  205. package/protos/webui/service_test_transporterror.proto +6 -6
  206. package/protos/webui/service_transportauth.proto +12 -12
  207. package/protos/webui/service_transportvalidation.proto +69 -69
  208. package/protos/webui/service_twofactor.proto +181 -181
  209. package/protos/webui/service_useraccount.proto +138 -138
  210. package/protos/webui/service_usergameactivity.proto +34 -34
  211. package/protos/webui/service_usergamenotes.proto +53 -53
  212. package/protos/webui/service_usernews.proto +68 -68
  213. package/protos/webui/service_userreviews.proto +96 -96
  214. package/protos/webui/service_video.proto +128 -128
  215. package/protos/webui/service_voicechat.proto +139 -139
  216. package/protos/webui/service_webrtc.proto +52 -52
  217. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
@@ -1,1281 +1,1281 @@
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 [(description) = "If a chat room has more members than this threshold, we will opt in to a virtualized list"];
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 [(description) = "Client-generated ID. Should send the same value on all requests for the same view"];
709
- optional int32 start = 3;
710
- optional int32 end = 4;
711
- optional int32 client_changenumber = 5 [(description) = "Any updates from this call on will have this changenumber present. Can be used to guarantee in-order updates."];
712
- optional bool delete_view = 6 [(description) = "Indicates this view has been deleted."];
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 [(description) = "Client-supplied id. For find-as-you-type searches, as search narrows the server will not return persona states previously returned for a given searchid."];
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, (description) = "Create a default chat room if none has been created before."];
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 [(description) = "A name to use for the chat, intended for notifications"];
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 [(description) = "Value sent by the client on the last UpdateMemberListView call. "];
848
- optional int32 server_changenumber = 7 [(description) = "Value incremented by the server on each MemberListViewUpdated call. "];
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 [(description) = "Thew view_id supplied when the client created the view. "];
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
- option (service_description) = "Chat-related services";
983
-
984
- rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response) {
985
- option (method_description) = "Request to be notified of online friend persona state information. Responses sent via CMsgClientPersonaState.";
986
- }
987
- }
988
-
989
- service ChatRoom {
990
- option (service_description) = "Service for joining, managing, and using multi-user chat rooms";
991
-
992
- rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response) {
993
- option (method_description) = "Create's a chat group that can contain other chat rooms";
994
- }
995
-
996
- rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response) {
997
- option (method_description) = "Saves's a chat group";
998
- }
999
-
1000
- rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response) {
1001
- option (method_description) = "Rename a chat room group";
1002
- }
1003
-
1004
- rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response) {
1005
- option (method_description) = "Set tagline for a chat room group";
1006
- }
1007
-
1008
- rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response) {
1009
- option (method_description) = "Set avatar SHA for a chat room group";
1010
- }
1011
-
1012
- rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response) {
1013
- option (method_description) = "Sets a broadcast that the chat room group is watching";
1014
- }
1015
-
1016
- rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response) {
1017
- option (method_description) = "Joins the minigame for the chat room group or starts a new one (Winter 2019 sale party game)";
1018
- }
1019
-
1020
- rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response) {
1021
- option (method_description) = "Ends the minigame in the chat room group";
1022
- }
1023
-
1024
- rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response) {
1025
- option (method_description) = "Mute user in group";
1026
- }
1027
-
1028
- rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response) {
1029
- option (method_description) = "Kick user from group";
1030
- }
1031
-
1032
- rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response) {
1033
- option (method_description) = "Ban/unban user from group";
1034
- }
1035
-
1036
- rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response) {
1037
- option (method_description) = "Revoke a direct invitation of a user";
1038
- }
1039
-
1040
- rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response) {
1041
- option (method_description) = "Create role for goup";
1042
- }
1043
-
1044
- rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response) {
1045
- option (method_description) = "Get all roles in group";
1046
- }
1047
-
1048
- rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response) {
1049
- option (method_description) = "Rename role for goup";
1050
- }
1051
-
1052
- rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response) {
1053
- option (method_description) = "Reorder role with a goup";
1054
- }
1055
-
1056
- rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response) {
1057
- option (method_description) = "Delete role from group";
1058
- }
1059
-
1060
- rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response) {
1061
- option (method_description) = "Get all defined roles and actions in group";
1062
- }
1063
-
1064
- rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response) {
1065
- option (method_description) = "Replace role actions in group";
1066
- }
1067
-
1068
- rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response) {
1069
- option (method_description) = "Add role to user in group";
1070
- }
1071
-
1072
- rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response) {
1073
- option (method_description) = "Get all roles assigned to user in group";
1074
- }
1075
-
1076
- rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response) {
1077
- option (method_description) = "Delete role from user in group";
1078
- }
1079
-
1080
- rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response) {
1081
- option (method_description) = "Join a multi-user chat room";
1082
- }
1083
-
1084
- rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response) {
1085
- option (method_description) = "Invite a friend to a multi-user chat room";
1086
- }
1087
-
1088
- rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response) {
1089
- option (method_description) = "Leaves a chat room group and all related chats";
1090
- }
1091
-
1092
- rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response) {
1093
- option (method_description) = "Creates a chat room inside a chat room group";
1094
- }
1095
-
1096
- rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response) {
1097
- option (method_description) = "Deletes a chat room inside a chat room group";
1098
- }
1099
-
1100
- rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response) {
1101
- option (method_description) = "Renames a chat room inside a chat room group";
1102
- }
1103
-
1104
- rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response) {
1105
- option (method_description) = "Reorders a chat room inside a chat room group";
1106
- }
1107
-
1108
- rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response) {
1109
- option (method_description) = "Send a chat message to a multi-user chat room";
1110
- }
1111
-
1112
- rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response) {
1113
- option (method_description) = "Join the voice chat in a multi-room chat (should already be in the chat room)";
1114
- }
1115
-
1116
- rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response) {
1117
- option (method_description) = "Leave the voice chat in a multi-room chat";
1118
- }
1119
-
1120
- rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response) {
1121
- option (method_description) = "Get the history of messages in a chat room. You must currently be a member of the chat room.";
1122
- }
1123
-
1124
- rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response) {
1125
- option (method_description) = "Get a list of our chat rooms";
1126
- }
1127
-
1128
- rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response) {
1129
- option (method_description) = "Get information about a single chat room";
1130
- }
1131
-
1132
- rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response) {
1133
- option (method_description) = "Get basic information about a chat room group";
1134
- }
1135
-
1136
- rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response) {
1137
- option (method_description) = "Force a group chat to be considered active on the server for this user";
1138
- }
1139
-
1140
- rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse) {
1141
- option (method_description) = "If a group chat is forced active (see SetAppChatRoomGroupForceActive), decrement the force count";
1142
- }
1143
-
1144
- rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse) {
1145
- option (method_description) = "Acknowledge that we have seen the most recent chat message in a chat";
1146
- }
1147
-
1148
- rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response) {
1149
- option (method_description) = "Creates a chatroom invite link";
1150
- }
1151
-
1152
- rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response) {
1153
- option (method_description) = "Returns chat room info about provided link";
1154
- }
1155
-
1156
- rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response) {
1157
- option (method_description) = "Returns chat room info about any invite involving the sender and passed group id";
1158
- }
1159
-
1160
- rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response) {
1161
- option (method_description) = "Returns all invite links for the specified group";
1162
- }
1163
-
1164
- rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response) {
1165
- option (method_description) = "Gets a list of users who have been banned from a chat room";
1166
- }
1167
-
1168
- rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response) {
1169
- option (method_description) = "Gets a list of users who have been invited to a chat room";
1170
- }
1171
-
1172
- rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response) {
1173
- option (method_description) = "Deletes specified invite link";
1174
- }
1175
-
1176
- rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response) {
1177
- option (method_description) = "Set which chat rooms we are using in the active session";
1178
- }
1179
-
1180
- rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response) {
1181
- option (method_description) = "Set preferences around chat notifications for a group";
1182
- }
1183
-
1184
- rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response) {
1185
- option (method_description) = "Deletes specified chat messages";
1186
- }
1187
-
1188
- rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse) {
1189
- option (method_description) = "A client is indicating it has an active view into the members list.";
1190
- }
1191
-
1192
- rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response) {
1193
- option (method_description) = "Search chat room members by name.";
1194
- }
1195
-
1196
- rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response) {
1197
- option (method_description) = "Adds/removes a reaction to/from a chat room message";
1198
- }
1199
-
1200
- rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response) {
1201
- option (method_description) = "Fetches a list of reactors for a specified reaction";
1202
- }
1203
- }
1204
-
1205
- service ClanChatRooms {
1206
- option (service_description) = "Methods for getting clan chat information";
1207
-
1208
- rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response) {
1209
- option (method_description) = "Get a list of chat rooms for a clan, optionally creating a new one";
1210
- }
1211
-
1212
- rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response) {
1213
- option (method_description) = "Set a clan chat room to be members only (or public)";
1214
- }
1215
- }
1216
-
1217
- service ChatRoomClient {
1218
- option (service_description) = "Client notifications for chat events";
1219
- option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1220
-
1221
- rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse) {
1222
- option (method_description) = "New chat message for a chat room";
1223
- }
1224
-
1225
- rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse) {
1226
- option (method_description) = "An existing chat message has been modified on the backend";
1227
- }
1228
-
1229
- rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse) {
1230
- option (method_description) = "A chat room member's state has changed (join/part/permissions)";
1231
- }
1232
-
1233
- rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse) {
1234
- option (method_description) = "Chat Room header / metadata has changed";
1235
- }
1236
-
1237
- rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse) {
1238
- option (method_description) = "Something about a chatroom group changed (created, deleted, etc.)";
1239
- }
1240
-
1241
- rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse) {
1242
- option (method_description) = "Voice chat was recreated or dropped on the backend and client needs to rejoin to remain in chat.";
1243
- }
1244
-
1245
- rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse) {
1246
- option (method_description) = "User chat group state (preferences, ack state, etc) have changed.";
1247
- }
1248
-
1249
- rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse) {
1250
- option (method_description) = "A session acked an unread message, echo to other sessions.";
1251
- }
1252
-
1253
- rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse) {
1254
- option (method_description) = "The ChatRoom server hosting the chat rooms has reconnected to the user's Chat server (may have restarted), client should refresh state.";
1255
- }
1256
-
1257
- rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse) {
1258
- option (method_description) = "The list of members for a chat room with virtualized member list has changed on the server (or client requested)";
1259
- }
1260
-
1261
- rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse) {
1262
- option (method_description) = "New message reaction";
1263
- }
1264
- }
1265
-
1266
- service ChatUsability {
1267
- option (service_description) = "Client notifications for chat events";
1268
-
1269
- rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse) {
1270
- option (method_description) = "Incoming metrics from the client";
1271
- }
1272
- }
1273
-
1274
- service ChatUsabilityClient {
1275
- option (service_description) = "Client notifications for chat usability";
1276
- option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1277
-
1278
- rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse) {
1279
- option (method_description) = "Request client send usability metrics";
1280
- }
1281
- }
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 [(description) = "If a chat room has more members than this threshold, we will opt in to a virtualized list"];
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 [(description) = "Client-generated ID. Should send the same value on all requests for the same view"];
709
+ optional int32 start = 3;
710
+ optional int32 end = 4;
711
+ optional int32 client_changenumber = 5 [(description) = "Any updates from this call on will have this changenumber present. Can be used to guarantee in-order updates."];
712
+ optional bool delete_view = 6 [(description) = "Indicates this view has been deleted."];
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 [(description) = "Client-supplied id. For find-as-you-type searches, as search narrows the server will not return persona states previously returned for a given searchid."];
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, (description) = "Create a default chat room if none has been created before."];
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 [(description) = "A name to use for the chat, intended for notifications"];
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 [(description) = "Value sent by the client on the last UpdateMemberListView call. "];
848
+ optional int32 server_changenumber = 7 [(description) = "Value incremented by the server on each MemberListViewUpdated call. "];
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 [(description) = "Thew view_id supplied when the client created the view. "];
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
+ option (service_description) = "Chat-related services";
983
+
984
+ rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response) {
985
+ option (method_description) = "Request to be notified of online friend persona state information. Responses sent via CMsgClientPersonaState.";
986
+ }
987
+ }
988
+
989
+ service ChatRoom {
990
+ option (service_description) = "Service for joining, managing, and using multi-user chat rooms";
991
+
992
+ rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response) {
993
+ option (method_description) = "Create's a chat group that can contain other chat rooms";
994
+ }
995
+
996
+ rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response) {
997
+ option (method_description) = "Saves's a chat group";
998
+ }
999
+
1000
+ rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response) {
1001
+ option (method_description) = "Rename a chat room group";
1002
+ }
1003
+
1004
+ rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response) {
1005
+ option (method_description) = "Set tagline for a chat room group";
1006
+ }
1007
+
1008
+ rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response) {
1009
+ option (method_description) = "Set avatar SHA for a chat room group";
1010
+ }
1011
+
1012
+ rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response) {
1013
+ option (method_description) = "Sets a broadcast that the chat room group is watching";
1014
+ }
1015
+
1016
+ rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response) {
1017
+ option (method_description) = "Joins the minigame for the chat room group or starts a new one (Winter 2019 sale party game)";
1018
+ }
1019
+
1020
+ rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response) {
1021
+ option (method_description) = "Ends the minigame in the chat room group";
1022
+ }
1023
+
1024
+ rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response) {
1025
+ option (method_description) = "Mute user in group";
1026
+ }
1027
+
1028
+ rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response) {
1029
+ option (method_description) = "Kick user from group";
1030
+ }
1031
+
1032
+ rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response) {
1033
+ option (method_description) = "Ban/unban user from group";
1034
+ }
1035
+
1036
+ rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response) {
1037
+ option (method_description) = "Revoke a direct invitation of a user";
1038
+ }
1039
+
1040
+ rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response) {
1041
+ option (method_description) = "Create role for goup";
1042
+ }
1043
+
1044
+ rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response) {
1045
+ option (method_description) = "Get all roles in group";
1046
+ }
1047
+
1048
+ rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response) {
1049
+ option (method_description) = "Rename role for goup";
1050
+ }
1051
+
1052
+ rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response) {
1053
+ option (method_description) = "Reorder role with a goup";
1054
+ }
1055
+
1056
+ rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response) {
1057
+ option (method_description) = "Delete role from group";
1058
+ }
1059
+
1060
+ rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response) {
1061
+ option (method_description) = "Get all defined roles and actions in group";
1062
+ }
1063
+
1064
+ rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response) {
1065
+ option (method_description) = "Replace role actions in group";
1066
+ }
1067
+
1068
+ rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response) {
1069
+ option (method_description) = "Add role to user in group";
1070
+ }
1071
+
1072
+ rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response) {
1073
+ option (method_description) = "Get all roles assigned to user in group";
1074
+ }
1075
+
1076
+ rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response) {
1077
+ option (method_description) = "Delete role from user in group";
1078
+ }
1079
+
1080
+ rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response) {
1081
+ option (method_description) = "Join a multi-user chat room";
1082
+ }
1083
+
1084
+ rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response) {
1085
+ option (method_description) = "Invite a friend to a multi-user chat room";
1086
+ }
1087
+
1088
+ rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response) {
1089
+ option (method_description) = "Leaves a chat room group and all related chats";
1090
+ }
1091
+
1092
+ rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response) {
1093
+ option (method_description) = "Creates a chat room inside a chat room group";
1094
+ }
1095
+
1096
+ rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response) {
1097
+ option (method_description) = "Deletes a chat room inside a chat room group";
1098
+ }
1099
+
1100
+ rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response) {
1101
+ option (method_description) = "Renames a chat room inside a chat room group";
1102
+ }
1103
+
1104
+ rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response) {
1105
+ option (method_description) = "Reorders a chat room inside a chat room group";
1106
+ }
1107
+
1108
+ rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response) {
1109
+ option (method_description) = "Send a chat message to a multi-user chat room";
1110
+ }
1111
+
1112
+ rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response) {
1113
+ option (method_description) = "Join the voice chat in a multi-room chat (should already be in the chat room)";
1114
+ }
1115
+
1116
+ rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response) {
1117
+ option (method_description) = "Leave the voice chat in a multi-room chat";
1118
+ }
1119
+
1120
+ rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response) {
1121
+ option (method_description) = "Get the history of messages in a chat room. You must currently be a member of the chat room.";
1122
+ }
1123
+
1124
+ rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response) {
1125
+ option (method_description) = "Get a list of our chat rooms";
1126
+ }
1127
+
1128
+ rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response) {
1129
+ option (method_description) = "Get information about a single chat room";
1130
+ }
1131
+
1132
+ rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response) {
1133
+ option (method_description) = "Get basic information about a chat room group";
1134
+ }
1135
+
1136
+ rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response) {
1137
+ option (method_description) = "Force a group chat to be considered active on the server for this user";
1138
+ }
1139
+
1140
+ rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse) {
1141
+ option (method_description) = "If a group chat is forced active (see SetAppChatRoomGroupForceActive), decrement the force count";
1142
+ }
1143
+
1144
+ rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse) {
1145
+ option (method_description) = "Acknowledge that we have seen the most recent chat message in a chat";
1146
+ }
1147
+
1148
+ rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response) {
1149
+ option (method_description) = "Creates a chatroom invite link";
1150
+ }
1151
+
1152
+ rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response) {
1153
+ option (method_description) = "Returns chat room info about provided link";
1154
+ }
1155
+
1156
+ rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response) {
1157
+ option (method_description) = "Returns chat room info about any invite involving the sender and passed group id";
1158
+ }
1159
+
1160
+ rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response) {
1161
+ option (method_description) = "Returns all invite links for the specified group";
1162
+ }
1163
+
1164
+ rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response) {
1165
+ option (method_description) = "Gets a list of users who have been banned from a chat room";
1166
+ }
1167
+
1168
+ rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response) {
1169
+ option (method_description) = "Gets a list of users who have been invited to a chat room";
1170
+ }
1171
+
1172
+ rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response) {
1173
+ option (method_description) = "Deletes specified invite link";
1174
+ }
1175
+
1176
+ rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response) {
1177
+ option (method_description) = "Set which chat rooms we are using in the active session";
1178
+ }
1179
+
1180
+ rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response) {
1181
+ option (method_description) = "Set preferences around chat notifications for a group";
1182
+ }
1183
+
1184
+ rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response) {
1185
+ option (method_description) = "Deletes specified chat messages";
1186
+ }
1187
+
1188
+ rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse) {
1189
+ option (method_description) = "A client is indicating it has an active view into the members list.";
1190
+ }
1191
+
1192
+ rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response) {
1193
+ option (method_description) = "Search chat room members by name.";
1194
+ }
1195
+
1196
+ rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response) {
1197
+ option (method_description) = "Adds/removes a reaction to/from a chat room message";
1198
+ }
1199
+
1200
+ rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response) {
1201
+ option (method_description) = "Fetches a list of reactors for a specified reaction";
1202
+ }
1203
+ }
1204
+
1205
+ service ClanChatRooms {
1206
+ option (service_description) = "Methods for getting clan chat information";
1207
+
1208
+ rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response) {
1209
+ option (method_description) = "Get a list of chat rooms for a clan, optionally creating a new one";
1210
+ }
1211
+
1212
+ rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response) {
1213
+ option (method_description) = "Set a clan chat room to be members only (or public)";
1214
+ }
1215
+ }
1216
+
1217
+ service ChatRoomClient {
1218
+ option (service_description) = "Client notifications for chat events";
1219
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1220
+
1221
+ rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse) {
1222
+ option (method_description) = "New chat message for a chat room";
1223
+ }
1224
+
1225
+ rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse) {
1226
+ option (method_description) = "An existing chat message has been modified on the backend";
1227
+ }
1228
+
1229
+ rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse) {
1230
+ option (method_description) = "A chat room member's state has changed (join/part/permissions)";
1231
+ }
1232
+
1233
+ rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse) {
1234
+ option (method_description) = "Chat Room header / metadata has changed";
1235
+ }
1236
+
1237
+ rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse) {
1238
+ option (method_description) = "Something about a chatroom group changed (created, deleted, etc.)";
1239
+ }
1240
+
1241
+ rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse) {
1242
+ option (method_description) = "Voice chat was recreated or dropped on the backend and client needs to rejoin to remain in chat.";
1243
+ }
1244
+
1245
+ rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse) {
1246
+ option (method_description) = "User chat group state (preferences, ack state, etc) have changed.";
1247
+ }
1248
+
1249
+ rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse) {
1250
+ option (method_description) = "A session acked an unread message, echo to other sessions.";
1251
+ }
1252
+
1253
+ rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse) {
1254
+ option (method_description) = "The ChatRoom server hosting the chat rooms has reconnected to the user's Chat server (may have restarted), client should refresh state.";
1255
+ }
1256
+
1257
+ rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse) {
1258
+ option (method_description) = "The list of members for a chat room with virtualized member list has changed on the server (or client requested)";
1259
+ }
1260
+
1261
+ rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse) {
1262
+ option (method_description) = "New message reaction";
1263
+ }
1264
+ }
1265
+
1266
+ service ChatUsability {
1267
+ option (service_description) = "Client notifications for chat events";
1268
+
1269
+ rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse) {
1270
+ option (method_description) = "Incoming metrics from the client";
1271
+ }
1272
+ }
1273
+
1274
+ service ChatUsabilityClient {
1275
+ option (service_description) = "Client notifications for chat usability";
1276
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
1277
+
1278
+ rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse) {
1279
+ option (method_description) = "Request client send usability metrics";
1280
+ }
1281
+ }