mezon-js-protobuf 1.8.31 → 1.8.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5975,15 +5975,11 @@ function createBaseUser() {
5975
5975
  location: "",
5976
5976
  timezone: "",
5977
5977
  metadata: "",
5978
- facebook_id: "",
5979
- google_id: "",
5980
- gamecenter_id: "",
5981
- steam_id: "",
5982
5978
  online: false,
5979
+ phone_number: "",
5983
5980
  edge_count: 0,
5984
5981
  create_time: void 0,
5985
5982
  update_time: void 0,
5986
- apple_id: "",
5987
5983
  about_me: "",
5988
5984
  join_time: void 0,
5989
5985
  is_mobile: false,
@@ -6018,50 +6014,38 @@ var User = {
6018
6014
  if (message.metadata !== "") {
6019
6015
  writer.uint32(66).string(message.metadata);
6020
6016
  }
6021
- if (message.facebook_id !== "") {
6022
- writer.uint32(74).string(message.facebook_id);
6023
- }
6024
- if (message.google_id !== "") {
6025
- writer.uint32(82).string(message.google_id);
6026
- }
6027
- if (message.gamecenter_id !== "") {
6028
- writer.uint32(90).string(message.gamecenter_id);
6029
- }
6030
- if (message.steam_id !== "") {
6031
- writer.uint32(98).string(message.steam_id);
6032
- }
6033
6017
  if (message.online !== false) {
6034
- writer.uint32(104).bool(message.online);
6018
+ writer.uint32(72).bool(message.online);
6019
+ }
6020
+ if (message.phone_number !== "") {
6021
+ writer.uint32(82).string(message.phone_number);
6035
6022
  }
6036
6023
  if (message.edge_count !== 0) {
6037
- writer.uint32(112).int32(message.edge_count);
6024
+ writer.uint32(88).int32(message.edge_count);
6038
6025
  }
6039
6026
  if (message.create_time !== void 0) {
6040
- Timestamp.encode(toTimestamp(message.create_time), writer.uint32(122).fork()).ldelim();
6027
+ Timestamp.encode(toTimestamp(message.create_time), writer.uint32(98).fork()).ldelim();
6041
6028
  }
6042
6029
  if (message.update_time !== void 0) {
6043
- Timestamp.encode(toTimestamp(message.update_time), writer.uint32(130).fork()).ldelim();
6044
- }
6045
- if (message.apple_id !== "") {
6046
- writer.uint32(138).string(message.apple_id);
6030
+ Timestamp.encode(toTimestamp(message.update_time), writer.uint32(106).fork()).ldelim();
6047
6031
  }
6048
6032
  if (message.about_me !== "") {
6049
- writer.uint32(146).string(message.about_me);
6033
+ writer.uint32(114).string(message.about_me);
6050
6034
  }
6051
6035
  if (message.join_time !== void 0) {
6052
- Timestamp.encode(toTimestamp(message.join_time), writer.uint32(154).fork()).ldelim();
6036
+ Timestamp.encode(toTimestamp(message.join_time), writer.uint32(122).fork()).ldelim();
6053
6037
  }
6054
6038
  if (message.is_mobile !== false) {
6055
- writer.uint32(160).bool(message.is_mobile);
6039
+ writer.uint32(128).bool(message.is_mobile);
6056
6040
  }
6057
6041
  if (message.dob !== void 0) {
6058
- Timestamp.encode(toTimestamp(message.dob), writer.uint32(170).fork()).ldelim();
6042
+ Timestamp.encode(toTimestamp(message.dob), writer.uint32(138).fork()).ldelim();
6059
6043
  }
6060
6044
  if (message.mezon_id !== "") {
6061
- writer.uint32(178).string(message.mezon_id);
6045
+ writer.uint32(146).string(message.mezon_id);
6062
6046
  }
6063
6047
  for (const v of message.list_nick_names) {
6064
- writer.uint32(186).string(v);
6048
+ writer.uint32(154).string(v);
6065
6049
  }
6066
6050
  return writer;
6067
6051
  },
@@ -6121,93 +6105,69 @@ var User = {
6121
6105
  message.metadata = reader.string();
6122
6106
  continue;
6123
6107
  case 9:
6124
- if (tag !== 74) {
6108
+ if (tag !== 72) {
6125
6109
  break;
6126
6110
  }
6127
- message.facebook_id = reader.string();
6111
+ message.online = reader.bool();
6128
6112
  continue;
6129
6113
  case 10:
6130
6114
  if (tag !== 82) {
6131
6115
  break;
6132
6116
  }
6133
- message.google_id = reader.string();
6117
+ message.phone_number = reader.string();
6134
6118
  continue;
6135
6119
  case 11:
6136
- if (tag !== 90) {
6120
+ if (tag !== 88) {
6137
6121
  break;
6138
6122
  }
6139
- message.gamecenter_id = reader.string();
6123
+ message.edge_count = reader.int32();
6140
6124
  continue;
6141
6125
  case 12:
6142
6126
  if (tag !== 98) {
6143
6127
  break;
6144
6128
  }
6145
- message.steam_id = reader.string();
6129
+ message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6146
6130
  continue;
6147
6131
  case 13:
6148
- if (tag !== 104) {
6132
+ if (tag !== 106) {
6149
6133
  break;
6150
6134
  }
6151
- message.online = reader.bool();
6135
+ message.update_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6152
6136
  continue;
6153
6137
  case 14:
6154
- if (tag !== 112) {
6138
+ if (tag !== 114) {
6155
6139
  break;
6156
6140
  }
6157
- message.edge_count = reader.int32();
6141
+ message.about_me = reader.string();
6158
6142
  continue;
6159
6143
  case 15:
6160
6144
  if (tag !== 122) {
6161
6145
  break;
6162
6146
  }
6163
- message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6147
+ message.join_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6164
6148
  continue;
6165
6149
  case 16:
6166
- if (tag !== 130) {
6150
+ if (tag !== 128) {
6167
6151
  break;
6168
6152
  }
6169
- message.update_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6153
+ message.is_mobile = reader.bool();
6170
6154
  continue;
6171
6155
  case 17:
6172
6156
  if (tag !== 138) {
6173
6157
  break;
6174
6158
  }
6175
- message.apple_id = reader.string();
6159
+ message.dob = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6176
6160
  continue;
6177
6161
  case 18:
6178
6162
  if (tag !== 146) {
6179
6163
  break;
6180
6164
  }
6181
- message.about_me = reader.string();
6165
+ message.mezon_id = reader.string();
6182
6166
  continue;
6183
6167
  case 19:
6184
6168
  if (tag !== 154) {
6185
6169
  break;
6186
6170
  }
6187
- message.join_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6188
- continue;
6189
- case 20:
6190
- if (tag !== 160) {
6191
- break;
6192
- }
6193
- message.is_mobile = reader.bool();
6194
- continue;
6195
- case 21:
6196
- if (tag !== 170) {
6197
- break;
6198
- }
6199
- message.dob = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
6200
- continue;
6201
- case 22:
6202
- if (tag !== 178) {
6203
- break;
6204
- }
6205
- message.mezon_id = reader.string();
6206
- continue;
6207
- case 23:
6208
- if (tag !== 186) {
6209
- break;
6210
- }
6211
6171
  message.list_nick_names.push(reader.string());
6212
6172
  continue;
6213
6173
  }
@@ -6228,15 +6188,11 @@ var User = {
6228
6188
  location: isSet3(object.location) ? globalThis.String(object.location) : "",
6229
6189
  timezone: isSet3(object.timezone) ? globalThis.String(object.timezone) : "",
6230
6190
  metadata: isSet3(object.metadata) ? globalThis.String(object.metadata) : "",
6231
- facebook_id: isSet3(object.facebook_id) ? globalThis.String(object.facebook_id) : "",
6232
- google_id: isSet3(object.google_id) ? globalThis.String(object.google_id) : "",
6233
- gamecenter_id: isSet3(object.gamecenter_id) ? globalThis.String(object.gamecenter_id) : "",
6234
- steam_id: isSet3(object.steam_id) ? globalThis.String(object.steam_id) : "",
6235
6191
  online: isSet3(object.online) ? globalThis.Boolean(object.online) : false,
6192
+ phone_number: isSet3(object.phone_number) ? globalThis.String(object.phone_number) : "",
6236
6193
  edge_count: isSet3(object.edge_count) ? globalThis.Number(object.edge_count) : 0,
6237
6194
  create_time: isSet3(object.create_time) ? fromJsonTimestamp(object.create_time) : void 0,
6238
6195
  update_time: isSet3(object.update_time) ? fromJsonTimestamp(object.update_time) : void 0,
6239
- apple_id: isSet3(object.apple_id) ? globalThis.String(object.apple_id) : "",
6240
6196
  about_me: isSet3(object.about_me) ? globalThis.String(object.about_me) : "",
6241
6197
  join_time: isSet3(object.join_time) ? fromJsonTimestamp(object.join_time) : void 0,
6242
6198
  is_mobile: isSet3(object.is_mobile) ? globalThis.Boolean(object.is_mobile) : false,
@@ -6272,21 +6228,12 @@ var User = {
6272
6228
  if (message.metadata !== "") {
6273
6229
  obj.metadata = message.metadata;
6274
6230
  }
6275
- if (message.facebook_id !== "") {
6276
- obj.facebook_id = message.facebook_id;
6277
- }
6278
- if (message.google_id !== "") {
6279
- obj.google_id = message.google_id;
6280
- }
6281
- if (message.gamecenter_id !== "") {
6282
- obj.gamecenter_id = message.gamecenter_id;
6283
- }
6284
- if (message.steam_id !== "") {
6285
- obj.steam_id = message.steam_id;
6286
- }
6287
6231
  if (message.online !== false) {
6288
6232
  obj.online = message.online;
6289
6233
  }
6234
+ if (message.phone_number !== "") {
6235
+ obj.phone_number = message.phone_number;
6236
+ }
6290
6237
  if (message.edge_count !== 0) {
6291
6238
  obj.edge_count = Math.round(message.edge_count);
6292
6239
  }
@@ -6296,9 +6243,6 @@ var User = {
6296
6243
  if (message.update_time !== void 0) {
6297
6244
  obj.update_time = message.update_time.toISOString();
6298
6245
  }
6299
- if (message.apple_id !== "") {
6300
- obj.apple_id = message.apple_id;
6301
- }
6302
6246
  if (message.about_me !== "") {
6303
6247
  obj.about_me = message.about_me;
6304
6248
  }
@@ -6323,7 +6267,7 @@ var User = {
6323
6267
  return User.fromPartial(base != null ? base : {});
6324
6268
  },
6325
6269
  fromPartial(object) {
6326
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
6270
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
6327
6271
  const message = createBaseUser();
6328
6272
  message.id = (_a = object.id) != null ? _a : "";
6329
6273
  message.username = (_b = object.username) != null ? _b : "";
@@ -6333,21 +6277,17 @@ var User = {
6333
6277
  message.location = (_f = object.location) != null ? _f : "";
6334
6278
  message.timezone = (_g = object.timezone) != null ? _g : "";
6335
6279
  message.metadata = (_h = object.metadata) != null ? _h : "";
6336
- message.facebook_id = (_i = object.facebook_id) != null ? _i : "";
6337
- message.google_id = (_j = object.google_id) != null ? _j : "";
6338
- message.gamecenter_id = (_k = object.gamecenter_id) != null ? _k : "";
6339
- message.steam_id = (_l = object.steam_id) != null ? _l : "";
6340
- message.online = (_m = object.online) != null ? _m : false;
6341
- message.edge_count = (_n = object.edge_count) != null ? _n : 0;
6342
- message.create_time = (_o = object.create_time) != null ? _o : void 0;
6343
- message.update_time = (_p = object.update_time) != null ? _p : void 0;
6344
- message.apple_id = (_q = object.apple_id) != null ? _q : "";
6345
- message.about_me = (_r = object.about_me) != null ? _r : "";
6346
- message.join_time = (_s = object.join_time) != null ? _s : void 0;
6347
- message.is_mobile = (_t = object.is_mobile) != null ? _t : false;
6348
- message.dob = (_u = object.dob) != null ? _u : void 0;
6349
- message.mezon_id = (_v = object.mezon_id) != null ? _v : "";
6350
- message.list_nick_names = ((_w = object.list_nick_names) == null ? void 0 : _w.map((e) => e)) || [];
6280
+ message.online = (_i = object.online) != null ? _i : false;
6281
+ message.phone_number = (_j = object.phone_number) != null ? _j : "";
6282
+ message.edge_count = (_k = object.edge_count) != null ? _k : 0;
6283
+ message.create_time = (_l = object.create_time) != null ? _l : void 0;
6284
+ message.update_time = (_m = object.update_time) != null ? _m : void 0;
6285
+ message.about_me = (_n = object.about_me) != null ? _n : "";
6286
+ message.join_time = (_o = object.join_time) != null ? _o : void 0;
6287
+ message.is_mobile = (_p = object.is_mobile) != null ? _p : false;
6288
+ message.dob = (_q = object.dob) != null ? _q : void 0;
6289
+ message.mezon_id = (_r = object.mezon_id) != null ? _r : "";
6290
+ message.list_nick_names = ((_s = object.list_nick_names) == null ? void 0 : _s.map((e) => e)) || [];
6351
6291
  return message;
6352
6292
  }
6353
6293
  };
@@ -21984,7 +21924,11 @@ function createBaseClanUpdatedEvent() {
21984
21924
  status: 0,
21985
21925
  is_onboarding: false,
21986
21926
  welcome_channel_id: "",
21987
- onboarding_banner: ""
21927
+ onboarding_banner: "",
21928
+ community_banner: "",
21929
+ is_community: false,
21930
+ about: "",
21931
+ description: ""
21988
21932
  };
21989
21933
  }
21990
21934
  var ClanUpdatedEvent = {
@@ -22013,6 +21957,18 @@ var ClanUpdatedEvent = {
22013
21957
  if (message.onboarding_banner !== "") {
22014
21958
  writer.uint32(66).string(message.onboarding_banner);
22015
21959
  }
21960
+ if (message.community_banner !== "") {
21961
+ writer.uint32(74).string(message.community_banner);
21962
+ }
21963
+ if (message.is_community !== false) {
21964
+ writer.uint32(80).bool(message.is_community);
21965
+ }
21966
+ if (message.about !== "") {
21967
+ writer.uint32(90).string(message.about);
21968
+ }
21969
+ if (message.description !== "") {
21970
+ writer.uint32(98).string(message.description);
21971
+ }
22016
21972
  return writer;
22017
21973
  },
22018
21974
  decode(input, length) {
@@ -22070,6 +22026,30 @@ var ClanUpdatedEvent = {
22070
22026
  }
22071
22027
  message.onboarding_banner = reader.string();
22072
22028
  continue;
22029
+ case 9:
22030
+ if (tag !== 74) {
22031
+ break;
22032
+ }
22033
+ message.community_banner = reader.string();
22034
+ continue;
22035
+ case 10:
22036
+ if (tag !== 80) {
22037
+ break;
22038
+ }
22039
+ message.is_community = reader.bool();
22040
+ continue;
22041
+ case 11:
22042
+ if (tag !== 90) {
22043
+ break;
22044
+ }
22045
+ message.about = reader.string();
22046
+ continue;
22047
+ case 12:
22048
+ if (tag !== 98) {
22049
+ break;
22050
+ }
22051
+ message.description = reader.string();
22052
+ continue;
22073
22053
  }
22074
22054
  if ((tag & 7) === 4 || tag === 0) {
22075
22055
  break;
@@ -22087,7 +22067,11 @@ var ClanUpdatedEvent = {
22087
22067
  status: isSet4(object.status) ? globalThis.Number(object.status) : 0,
22088
22068
  is_onboarding: isSet4(object.is_onboarding) ? globalThis.Boolean(object.is_onboarding) : false,
22089
22069
  welcome_channel_id: isSet4(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : "",
22090
- onboarding_banner: isSet4(object.onboarding_banner) ? globalThis.String(object.onboarding_banner) : ""
22070
+ onboarding_banner: isSet4(object.onboarding_banner) ? globalThis.String(object.onboarding_banner) : "",
22071
+ community_banner: isSet4(object.community_banner) ? globalThis.String(object.community_banner) : "",
22072
+ is_community: isSet4(object.is_community) ? globalThis.Boolean(object.is_community) : false,
22073
+ about: isSet4(object.about) ? globalThis.String(object.about) : "",
22074
+ description: isSet4(object.description) ? globalThis.String(object.description) : ""
22091
22075
  };
22092
22076
  },
22093
22077
  toJSON(message) {
@@ -22116,13 +22100,25 @@ var ClanUpdatedEvent = {
22116
22100
  if (message.onboarding_banner !== "") {
22117
22101
  obj.onboarding_banner = message.onboarding_banner;
22118
22102
  }
22103
+ if (message.community_banner !== "") {
22104
+ obj.community_banner = message.community_banner;
22105
+ }
22106
+ if (message.is_community !== false) {
22107
+ obj.is_community = message.is_community;
22108
+ }
22109
+ if (message.about !== "") {
22110
+ obj.about = message.about;
22111
+ }
22112
+ if (message.description !== "") {
22113
+ obj.description = message.description;
22114
+ }
22119
22115
  return obj;
22120
22116
  },
22121
22117
  create(base) {
22122
22118
  return ClanUpdatedEvent.fromPartial(base != null ? base : {});
22123
22119
  },
22124
22120
  fromPartial(object) {
22125
- var _a, _b, _c, _d, _e, _f, _g, _h;
22121
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
22126
22122
  const message = createBaseClanUpdatedEvent();
22127
22123
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
22128
22124
  message.clan_name = (_b = object.clan_name) != null ? _b : "";
@@ -22132,6 +22128,10 @@ var ClanUpdatedEvent = {
22132
22128
  message.is_onboarding = (_f = object.is_onboarding) != null ? _f : false;
22133
22129
  message.welcome_channel_id = (_g = object.welcome_channel_id) != null ? _g : "";
22134
22130
  message.onboarding_banner = (_h = object.onboarding_banner) != null ? _h : "";
22131
+ message.community_banner = (_i = object.community_banner) != null ? _i : "";
22132
+ message.is_community = (_j = object.is_community) != null ? _j : false;
22133
+ message.about = (_k = object.about) != null ? _k : "";
22134
+ message.description = (_l = object.description) != null ? _l : "";
22135
22135
  return message;
22136
22136
  }
22137
22137
  };
@@ -24152,7 +24152,7 @@ var UnpinMessageEvent = {
24152
24152
  }
24153
24153
  };
24154
24154
  function createBaseHandleParticipantMeetStateEvent() {
24155
- return { clan_id: "", channel_id: "", display_name: "", state: 0 };
24155
+ return { clan_id: "", channel_id: "", display_name: "", state: 0, room_name: "" };
24156
24156
  }
24157
24157
  var HandleParticipantMeetStateEvent = {
24158
24158
  encode(message, writer = import_minimal5.default.Writer.create()) {
@@ -24168,6 +24168,9 @@ var HandleParticipantMeetStateEvent = {
24168
24168
  if (message.state !== 0) {
24169
24169
  writer.uint32(32).int32(message.state);
24170
24170
  }
24171
+ if (message.room_name !== "") {
24172
+ writer.uint32(42).string(message.room_name);
24173
+ }
24171
24174
  return writer;
24172
24175
  },
24173
24176
  decode(input, length) {
@@ -24201,6 +24204,12 @@ var HandleParticipantMeetStateEvent = {
24201
24204
  }
24202
24205
  message.state = reader.int32();
24203
24206
  continue;
24207
+ case 5:
24208
+ if (tag !== 42) {
24209
+ break;
24210
+ }
24211
+ message.room_name = reader.string();
24212
+ continue;
24204
24213
  }
24205
24214
  if ((tag & 7) === 4 || tag === 0) {
24206
24215
  break;
@@ -24214,7 +24223,8 @@ var HandleParticipantMeetStateEvent = {
24214
24223
  clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
24215
24224
  channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
24216
24225
  display_name: isSet4(object.display_name) ? globalThis.String(object.display_name) : "",
24217
- state: isSet4(object.state) ? globalThis.Number(object.state) : 0
24226
+ state: isSet4(object.state) ? globalThis.Number(object.state) : 0,
24227
+ room_name: isSet4(object.room_name) ? globalThis.String(object.room_name) : ""
24218
24228
  };
24219
24229
  },
24220
24230
  toJSON(message) {
@@ -24231,18 +24241,22 @@ var HandleParticipantMeetStateEvent = {
24231
24241
  if (message.state !== 0) {
24232
24242
  obj.state = Math.round(message.state);
24233
24243
  }
24244
+ if (message.room_name !== "") {
24245
+ obj.room_name = message.room_name;
24246
+ }
24234
24247
  return obj;
24235
24248
  },
24236
24249
  create(base) {
24237
24250
  return HandleParticipantMeetStateEvent.fromPartial(base != null ? base : {});
24238
24251
  },
24239
24252
  fromPartial(object) {
24240
- var _a, _b, _c, _d;
24253
+ var _a, _b, _c, _d, _e;
24241
24254
  const message = createBaseHandleParticipantMeetStateEvent();
24242
24255
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
24243
24256
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
24244
24257
  message.display_name = (_c = object.display_name) != null ? _c : "";
24245
24258
  message.state = (_d = object.state) != null ? _d : 0;
24259
+ message.room_name = (_e = object.room_name) != null ? _e : "";
24246
24260
  return message;
24247
24261
  }
24248
24262
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.8.31",
3
+ "version": "1.8.33",
4
4
  "description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
5
5
  "main": "dist/mezon-js-protobuf.cjs.js",
6
6
  "module": "dist/mezon-js-protobuf.esm.mjs",
package/rtapi/realtime.ts CHANGED
@@ -1388,6 +1388,14 @@ export interface ClanUpdatedEvent {
1388
1388
  welcome_channel_id: string;
1389
1389
  /** onboarding_banner. */
1390
1390
  onboarding_banner: string;
1391
+ /** community banner */
1392
+ community_banner: string;
1393
+ /** is community */
1394
+ is_community: boolean;
1395
+ /** about */
1396
+ about: string;
1397
+ /** description */
1398
+ description: string;
1391
1399
  }
1392
1400
 
1393
1401
  /** clan profile updated event */
@@ -1599,6 +1607,8 @@ export interface HandleParticipantMeetStateEvent {
1599
1607
  display_name: string;
1600
1608
  /** state (0: join, 1: leave) */
1601
1609
  state: number;
1610
+ /** room name */
1611
+ room_name: string;
1602
1612
  }
1603
1613
 
1604
1614
  export interface DeleteAccountEvent {
@@ -11193,6 +11203,10 @@ function createBaseClanUpdatedEvent(): ClanUpdatedEvent {
11193
11203
  is_onboarding: false,
11194
11204
  welcome_channel_id: "",
11195
11205
  onboarding_banner: "",
11206
+ community_banner: "",
11207
+ is_community: false,
11208
+ about: "",
11209
+ description: "",
11196
11210
  };
11197
11211
  }
11198
11212
 
@@ -11222,6 +11236,18 @@ export const ClanUpdatedEvent = {
11222
11236
  if (message.onboarding_banner !== "") {
11223
11237
  writer.uint32(66).string(message.onboarding_banner);
11224
11238
  }
11239
+ if (message.community_banner !== "") {
11240
+ writer.uint32(74).string(message.community_banner);
11241
+ }
11242
+ if (message.is_community !== false) {
11243
+ writer.uint32(80).bool(message.is_community);
11244
+ }
11245
+ if (message.about !== "") {
11246
+ writer.uint32(90).string(message.about);
11247
+ }
11248
+ if (message.description !== "") {
11249
+ writer.uint32(98).string(message.description);
11250
+ }
11225
11251
  return writer;
11226
11252
  },
11227
11253
 
@@ -11288,6 +11314,34 @@ export const ClanUpdatedEvent = {
11288
11314
 
11289
11315
  message.onboarding_banner = reader.string();
11290
11316
  continue;
11317
+ case 9:
11318
+ if (tag !== 74) {
11319
+ break;
11320
+ }
11321
+
11322
+ message.community_banner = reader.string();
11323
+ continue;
11324
+ case 10:
11325
+ if (tag !== 80) {
11326
+ break;
11327
+ }
11328
+
11329
+ message.is_community = reader.bool();
11330
+ continue;
11331
+ case 11:
11332
+ if (tag !== 90) {
11333
+ break;
11334
+ }
11335
+
11336
+ message.about = reader.string();
11337
+ continue;
11338
+ case 12:
11339
+ if (tag !== 98) {
11340
+ break;
11341
+ }
11342
+
11343
+ message.description = reader.string();
11344
+ continue;
11291
11345
  }
11292
11346
  if ((tag & 7) === 4 || tag === 0) {
11293
11347
  break;
@@ -11307,6 +11361,10 @@ export const ClanUpdatedEvent = {
11307
11361
  is_onboarding: isSet(object.is_onboarding) ? globalThis.Boolean(object.is_onboarding) : false,
11308
11362
  welcome_channel_id: isSet(object.welcome_channel_id) ? globalThis.String(object.welcome_channel_id) : "",
11309
11363
  onboarding_banner: isSet(object.onboarding_banner) ? globalThis.String(object.onboarding_banner) : "",
11364
+ community_banner: isSet(object.community_banner) ? globalThis.String(object.community_banner) : "",
11365
+ is_community: isSet(object.is_community) ? globalThis.Boolean(object.is_community) : false,
11366
+ about: isSet(object.about) ? globalThis.String(object.about) : "",
11367
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
11310
11368
  };
11311
11369
  },
11312
11370
 
@@ -11336,6 +11394,18 @@ export const ClanUpdatedEvent = {
11336
11394
  if (message.onboarding_banner !== "") {
11337
11395
  obj.onboarding_banner = message.onboarding_banner;
11338
11396
  }
11397
+ if (message.community_banner !== "") {
11398
+ obj.community_banner = message.community_banner;
11399
+ }
11400
+ if (message.is_community !== false) {
11401
+ obj.is_community = message.is_community;
11402
+ }
11403
+ if (message.about !== "") {
11404
+ obj.about = message.about;
11405
+ }
11406
+ if (message.description !== "") {
11407
+ obj.description = message.description;
11408
+ }
11339
11409
  return obj;
11340
11410
  },
11341
11411
 
@@ -11352,6 +11422,10 @@ export const ClanUpdatedEvent = {
11352
11422
  message.is_onboarding = object.is_onboarding ?? false;
11353
11423
  message.welcome_channel_id = object.welcome_channel_id ?? "";
11354
11424
  message.onboarding_banner = object.onboarding_banner ?? "";
11425
+ message.community_banner = object.community_banner ?? "";
11426
+ message.is_community = object.is_community ?? false;
11427
+ message.about = object.about ?? "";
11428
+ message.description = object.description ?? "";
11355
11429
  return message;
11356
11430
  },
11357
11431
  };
@@ -13693,7 +13767,7 @@ export const UnpinMessageEvent = {
13693
13767
  };
13694
13768
 
13695
13769
  function createBaseHandleParticipantMeetStateEvent(): HandleParticipantMeetStateEvent {
13696
- return { clan_id: "", channel_id: "", display_name: "", state: 0 };
13770
+ return { clan_id: "", channel_id: "", display_name: "", state: 0, room_name: "" };
13697
13771
  }
13698
13772
 
13699
13773
  export const HandleParticipantMeetStateEvent = {
@@ -13710,6 +13784,9 @@ export const HandleParticipantMeetStateEvent = {
13710
13784
  if (message.state !== 0) {
13711
13785
  writer.uint32(32).int32(message.state);
13712
13786
  }
13787
+ if (message.room_name !== "") {
13788
+ writer.uint32(42).string(message.room_name);
13789
+ }
13713
13790
  return writer;
13714
13791
  },
13715
13792
 
@@ -13748,6 +13825,13 @@ export const HandleParticipantMeetStateEvent = {
13748
13825
 
13749
13826
  message.state = reader.int32();
13750
13827
  continue;
13828
+ case 5:
13829
+ if (tag !== 42) {
13830
+ break;
13831
+ }
13832
+
13833
+ message.room_name = reader.string();
13834
+ continue;
13751
13835
  }
13752
13836
  if ((tag & 7) === 4 || tag === 0) {
13753
13837
  break;
@@ -13763,6 +13847,7 @@ export const HandleParticipantMeetStateEvent = {
13763
13847
  channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
13764
13848
  display_name: isSet(object.display_name) ? globalThis.String(object.display_name) : "",
13765
13849
  state: isSet(object.state) ? globalThis.Number(object.state) : 0,
13850
+ room_name: isSet(object.room_name) ? globalThis.String(object.room_name) : "",
13766
13851
  };
13767
13852
  },
13768
13853
 
@@ -13780,6 +13865,9 @@ export const HandleParticipantMeetStateEvent = {
13780
13865
  if (message.state !== 0) {
13781
13866
  obj.state = Math.round(message.state);
13782
13867
  }
13868
+ if (message.room_name !== "") {
13869
+ obj.room_name = message.room_name;
13870
+ }
13783
13871
  return obj;
13784
13872
  },
13785
13873
 
@@ -13794,6 +13882,7 @@ export const HandleParticipantMeetStateEvent = {
13794
13882
  message.channel_id = object.channel_id ?? "";
13795
13883
  message.display_name = object.display_name ?? "";
13796
13884
  message.state = object.state ?? 0;
13885
+ message.room_name = object.room_name ?? "";
13797
13886
  return message;
13798
13887
  },
13799
13888
  };