mezon-js-protobuf 1.8.17 → 1.8.19
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.
- package/api/api.ts +18 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +6 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +2911 -594
- package/dist/mezon-js-protobuf.cjs.js +1327 -131
- package/dist/mezon-js-protobuf.esm.mjs +1327 -131
- package/package.json +1 -1
- package/rtapi/realtime.ts +254 -0
|
@@ -4591,6 +4591,198 @@ var ChannelAttachmentList = {
|
|
|
4591
4591
|
return message;
|
|
4592
4592
|
}
|
|
4593
4593
|
};
|
|
4594
|
+
function createBaseClanUserList() {
|
|
4595
|
+
return { clan_users: [], cursor: "", clan_id: "" };
|
|
4596
|
+
}
|
|
4597
|
+
var ClanUserList = {
|
|
4598
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
4599
|
+
for (const v of message.clan_users) {
|
|
4600
|
+
ClanUserList_ClanUser.encode(v, writer.uint32(10).fork()).ldelim();
|
|
4601
|
+
}
|
|
4602
|
+
if (message.cursor !== "") {
|
|
4603
|
+
writer.uint32(18).string(message.cursor);
|
|
4604
|
+
}
|
|
4605
|
+
if (message.clan_id !== "") {
|
|
4606
|
+
writer.uint32(26).string(message.clan_id);
|
|
4607
|
+
}
|
|
4608
|
+
return writer;
|
|
4609
|
+
},
|
|
4610
|
+
decode(input, length) {
|
|
4611
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
4612
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
4613
|
+
const message = createBaseClanUserList();
|
|
4614
|
+
while (reader.pos < end) {
|
|
4615
|
+
const tag = reader.uint32();
|
|
4616
|
+
switch (tag >>> 3) {
|
|
4617
|
+
case 1:
|
|
4618
|
+
if (tag !== 10) {
|
|
4619
|
+
break;
|
|
4620
|
+
}
|
|
4621
|
+
message.clan_users.push(ClanUserList_ClanUser.decode(reader, reader.uint32()));
|
|
4622
|
+
continue;
|
|
4623
|
+
case 2:
|
|
4624
|
+
if (tag !== 18) {
|
|
4625
|
+
break;
|
|
4626
|
+
}
|
|
4627
|
+
message.cursor = reader.string();
|
|
4628
|
+
continue;
|
|
4629
|
+
case 3:
|
|
4630
|
+
if (tag !== 26) {
|
|
4631
|
+
break;
|
|
4632
|
+
}
|
|
4633
|
+
message.clan_id = reader.string();
|
|
4634
|
+
continue;
|
|
4635
|
+
}
|
|
4636
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4637
|
+
break;
|
|
4638
|
+
}
|
|
4639
|
+
reader.skipType(tag & 7);
|
|
4640
|
+
}
|
|
4641
|
+
return message;
|
|
4642
|
+
},
|
|
4643
|
+
fromJSON(object) {
|
|
4644
|
+
return {
|
|
4645
|
+
clan_users: globalThis.Array.isArray(object == null ? void 0 : object.clan_users) ? object.clan_users.map((e) => ClanUserList_ClanUser.fromJSON(e)) : [],
|
|
4646
|
+
cursor: isSet3(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
4647
|
+
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
4648
|
+
};
|
|
4649
|
+
},
|
|
4650
|
+
toJSON(message) {
|
|
4651
|
+
var _a;
|
|
4652
|
+
const obj = {};
|
|
4653
|
+
if ((_a = message.clan_users) == null ? void 0 : _a.length) {
|
|
4654
|
+
obj.clan_users = message.clan_users.map((e) => ClanUserList_ClanUser.toJSON(e));
|
|
4655
|
+
}
|
|
4656
|
+
if (message.cursor !== "") {
|
|
4657
|
+
obj.cursor = message.cursor;
|
|
4658
|
+
}
|
|
4659
|
+
if (message.clan_id !== "") {
|
|
4660
|
+
obj.clan_id = message.clan_id;
|
|
4661
|
+
}
|
|
4662
|
+
return obj;
|
|
4663
|
+
},
|
|
4664
|
+
create(base) {
|
|
4665
|
+
return ClanUserList.fromPartial(base != null ? base : {});
|
|
4666
|
+
},
|
|
4667
|
+
fromPartial(object) {
|
|
4668
|
+
var _a, _b, _c;
|
|
4669
|
+
const message = createBaseClanUserList();
|
|
4670
|
+
message.clan_users = ((_a = object.clan_users) == null ? void 0 : _a.map((e) => ClanUserList_ClanUser.fromPartial(e))) || [];
|
|
4671
|
+
message.cursor = (_b = object.cursor) != null ? _b : "";
|
|
4672
|
+
message.clan_id = (_c = object.clan_id) != null ? _c : "";
|
|
4673
|
+
return message;
|
|
4674
|
+
}
|
|
4675
|
+
};
|
|
4676
|
+
function createBaseClanUserList_ClanUser() {
|
|
4677
|
+
return { user: void 0, role_id: [], clan_nick: "", clan_avatar: "", clan_id: "" };
|
|
4678
|
+
}
|
|
4679
|
+
var ClanUserList_ClanUser = {
|
|
4680
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
4681
|
+
if (message.user !== void 0) {
|
|
4682
|
+
User.encode(message.user, writer.uint32(10).fork()).ldelim();
|
|
4683
|
+
}
|
|
4684
|
+
for (const v of message.role_id) {
|
|
4685
|
+
writer.uint32(18).string(v);
|
|
4686
|
+
}
|
|
4687
|
+
if (message.clan_nick !== "") {
|
|
4688
|
+
writer.uint32(26).string(message.clan_nick);
|
|
4689
|
+
}
|
|
4690
|
+
if (message.clan_avatar !== "") {
|
|
4691
|
+
writer.uint32(34).string(message.clan_avatar);
|
|
4692
|
+
}
|
|
4693
|
+
if (message.clan_id !== "") {
|
|
4694
|
+
writer.uint32(42).string(message.clan_id);
|
|
4695
|
+
}
|
|
4696
|
+
return writer;
|
|
4697
|
+
},
|
|
4698
|
+
decode(input, length) {
|
|
4699
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
4700
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
4701
|
+
const message = createBaseClanUserList_ClanUser();
|
|
4702
|
+
while (reader.pos < end) {
|
|
4703
|
+
const tag = reader.uint32();
|
|
4704
|
+
switch (tag >>> 3) {
|
|
4705
|
+
case 1:
|
|
4706
|
+
if (tag !== 10) {
|
|
4707
|
+
break;
|
|
4708
|
+
}
|
|
4709
|
+
message.user = User.decode(reader, reader.uint32());
|
|
4710
|
+
continue;
|
|
4711
|
+
case 2:
|
|
4712
|
+
if (tag !== 18) {
|
|
4713
|
+
break;
|
|
4714
|
+
}
|
|
4715
|
+
message.role_id.push(reader.string());
|
|
4716
|
+
continue;
|
|
4717
|
+
case 3:
|
|
4718
|
+
if (tag !== 26) {
|
|
4719
|
+
break;
|
|
4720
|
+
}
|
|
4721
|
+
message.clan_nick = reader.string();
|
|
4722
|
+
continue;
|
|
4723
|
+
case 4:
|
|
4724
|
+
if (tag !== 34) {
|
|
4725
|
+
break;
|
|
4726
|
+
}
|
|
4727
|
+
message.clan_avatar = reader.string();
|
|
4728
|
+
continue;
|
|
4729
|
+
case 5:
|
|
4730
|
+
if (tag !== 42) {
|
|
4731
|
+
break;
|
|
4732
|
+
}
|
|
4733
|
+
message.clan_id = reader.string();
|
|
4734
|
+
continue;
|
|
4735
|
+
}
|
|
4736
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4737
|
+
break;
|
|
4738
|
+
}
|
|
4739
|
+
reader.skipType(tag & 7);
|
|
4740
|
+
}
|
|
4741
|
+
return message;
|
|
4742
|
+
},
|
|
4743
|
+
fromJSON(object) {
|
|
4744
|
+
return {
|
|
4745
|
+
user: isSet3(object.user) ? User.fromJSON(object.user) : void 0,
|
|
4746
|
+
role_id: globalThis.Array.isArray(object == null ? void 0 : object.role_id) ? object.role_id.map((e) => globalThis.String(e)) : [],
|
|
4747
|
+
clan_nick: isSet3(object.clan_nick) ? globalThis.String(object.clan_nick) : "",
|
|
4748
|
+
clan_avatar: isSet3(object.clan_avatar) ? globalThis.String(object.clan_avatar) : "",
|
|
4749
|
+
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
4750
|
+
};
|
|
4751
|
+
},
|
|
4752
|
+
toJSON(message) {
|
|
4753
|
+
var _a;
|
|
4754
|
+
const obj = {};
|
|
4755
|
+
if (message.user !== void 0) {
|
|
4756
|
+
obj.user = User.toJSON(message.user);
|
|
4757
|
+
}
|
|
4758
|
+
if ((_a = message.role_id) == null ? void 0 : _a.length) {
|
|
4759
|
+
obj.role_id = message.role_id;
|
|
4760
|
+
}
|
|
4761
|
+
if (message.clan_nick !== "") {
|
|
4762
|
+
obj.clan_nick = message.clan_nick;
|
|
4763
|
+
}
|
|
4764
|
+
if (message.clan_avatar !== "") {
|
|
4765
|
+
obj.clan_avatar = message.clan_avatar;
|
|
4766
|
+
}
|
|
4767
|
+
if (message.clan_id !== "") {
|
|
4768
|
+
obj.clan_id = message.clan_id;
|
|
4769
|
+
}
|
|
4770
|
+
return obj;
|
|
4771
|
+
},
|
|
4772
|
+
create(base) {
|
|
4773
|
+
return ClanUserList_ClanUser.fromPartial(base != null ? base : {});
|
|
4774
|
+
},
|
|
4775
|
+
fromPartial(object) {
|
|
4776
|
+
var _a, _b, _c, _d;
|
|
4777
|
+
const message = createBaseClanUserList_ClanUser();
|
|
4778
|
+
message.user = object.user !== void 0 && object.user !== null ? User.fromPartial(object.user) : void 0;
|
|
4779
|
+
message.role_id = ((_a = object.role_id) == null ? void 0 : _a.map((e) => e)) || [];
|
|
4780
|
+
message.clan_nick = (_b = object.clan_nick) != null ? _b : "";
|
|
4781
|
+
message.clan_avatar = (_c = object.clan_avatar) != null ? _c : "";
|
|
4782
|
+
message.clan_id = (_d = object.clan_id) != null ? _d : "";
|
|
4783
|
+
return message;
|
|
4784
|
+
}
|
|
4785
|
+
};
|
|
4594
4786
|
function createBaseListChannelMessagesRequest() {
|
|
4595
4787
|
return { clan_id: "", channel_id: "", message_id: "", limit: void 0, direction: void 0, topic_id: "" };
|
|
4596
4788
|
}
|
|
@@ -5078,6 +5270,57 @@ var ListChannelAttachmentRequest = {
|
|
|
5078
5270
|
return message;
|
|
5079
5271
|
}
|
|
5080
5272
|
};
|
|
5273
|
+
function createBaseListClanUsersRequest() {
|
|
5274
|
+
return { clan_id: "" };
|
|
5275
|
+
}
|
|
5276
|
+
var ListClanUsersRequest = {
|
|
5277
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
5278
|
+
if (message.clan_id !== "") {
|
|
5279
|
+
writer.uint32(10).string(message.clan_id);
|
|
5280
|
+
}
|
|
5281
|
+
return writer;
|
|
5282
|
+
},
|
|
5283
|
+
decode(input, length) {
|
|
5284
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
5285
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
5286
|
+
const message = createBaseListClanUsersRequest();
|
|
5287
|
+
while (reader.pos < end) {
|
|
5288
|
+
const tag = reader.uint32();
|
|
5289
|
+
switch (tag >>> 3) {
|
|
5290
|
+
case 1:
|
|
5291
|
+
if (tag !== 10) {
|
|
5292
|
+
break;
|
|
5293
|
+
}
|
|
5294
|
+
message.clan_id = reader.string();
|
|
5295
|
+
continue;
|
|
5296
|
+
}
|
|
5297
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5298
|
+
break;
|
|
5299
|
+
}
|
|
5300
|
+
reader.skipType(tag & 7);
|
|
5301
|
+
}
|
|
5302
|
+
return message;
|
|
5303
|
+
},
|
|
5304
|
+
fromJSON(object) {
|
|
5305
|
+
return { clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "" };
|
|
5306
|
+
},
|
|
5307
|
+
toJSON(message) {
|
|
5308
|
+
const obj = {};
|
|
5309
|
+
if (message.clan_id !== "") {
|
|
5310
|
+
obj.clan_id = message.clan_id;
|
|
5311
|
+
}
|
|
5312
|
+
return obj;
|
|
5313
|
+
},
|
|
5314
|
+
create(base) {
|
|
5315
|
+
return ListClanUsersRequest.fromPartial(base != null ? base : {});
|
|
5316
|
+
},
|
|
5317
|
+
fromPartial(object) {
|
|
5318
|
+
var _a;
|
|
5319
|
+
const message = createBaseListClanUsersRequest();
|
|
5320
|
+
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
5321
|
+
return message;
|
|
5322
|
+
}
|
|
5323
|
+
};
|
|
5081
5324
|
function createBaseListNotificationsRequest() {
|
|
5082
5325
|
return { limit: void 0, clan_id: "", notification_id: "", category: 0, direction: void 0 };
|
|
5083
5326
|
}
|
|
@@ -6447,44 +6690,207 @@ var ClanDescList = {
|
|
|
6447
6690
|
return message;
|
|
6448
6691
|
}
|
|
6449
6692
|
};
|
|
6450
|
-
function
|
|
6451
|
-
return {
|
|
6452
|
-
id: "",
|
|
6453
|
-
timestamp_seconds: 0,
|
|
6454
|
-
sender_id: "",
|
|
6455
|
-
content: "",
|
|
6456
|
-
attachment: "",
|
|
6457
|
-
reference: "",
|
|
6458
|
-
mention: "",
|
|
6459
|
-
reaction: "",
|
|
6460
|
-
repliers: []
|
|
6461
|
-
};
|
|
6693
|
+
function createBaseCategoryDesc() {
|
|
6694
|
+
return { creator_id: "", clan_id: "", category_name: "", category_id: "", category_order: 0 };
|
|
6462
6695
|
}
|
|
6463
|
-
var
|
|
6696
|
+
var CategoryDesc = {
|
|
6464
6697
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
6465
|
-
if (message.
|
|
6466
|
-
writer.uint32(10).string(message.
|
|
6467
|
-
}
|
|
6468
|
-
if (message.timestamp_seconds !== 0) {
|
|
6469
|
-
writer.uint32(16).uint32(message.timestamp_seconds);
|
|
6470
|
-
}
|
|
6471
|
-
if (message.sender_id !== "") {
|
|
6472
|
-
writer.uint32(26).string(message.sender_id);
|
|
6473
|
-
}
|
|
6474
|
-
if (message.content !== "") {
|
|
6475
|
-
writer.uint32(34).string(message.content);
|
|
6698
|
+
if (message.creator_id !== "") {
|
|
6699
|
+
writer.uint32(10).string(message.creator_id);
|
|
6476
6700
|
}
|
|
6477
|
-
if (message.
|
|
6478
|
-
writer.uint32(
|
|
6701
|
+
if (message.clan_id !== "") {
|
|
6702
|
+
writer.uint32(18).string(message.clan_id);
|
|
6479
6703
|
}
|
|
6480
|
-
if (message.
|
|
6481
|
-
writer.uint32(
|
|
6704
|
+
if (message.category_name !== "") {
|
|
6705
|
+
writer.uint32(26).string(message.category_name);
|
|
6482
6706
|
}
|
|
6483
|
-
if (message.
|
|
6484
|
-
writer.uint32(
|
|
6707
|
+
if (message.category_id !== "") {
|
|
6708
|
+
writer.uint32(34).string(message.category_id);
|
|
6485
6709
|
}
|
|
6486
|
-
if (message.
|
|
6487
|
-
writer.uint32(
|
|
6710
|
+
if (message.category_order !== 0) {
|
|
6711
|
+
writer.uint32(40).int32(message.category_order);
|
|
6712
|
+
}
|
|
6713
|
+
return writer;
|
|
6714
|
+
},
|
|
6715
|
+
decode(input, length) {
|
|
6716
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
6717
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
6718
|
+
const message = createBaseCategoryDesc();
|
|
6719
|
+
while (reader.pos < end) {
|
|
6720
|
+
const tag = reader.uint32();
|
|
6721
|
+
switch (tag >>> 3) {
|
|
6722
|
+
case 1:
|
|
6723
|
+
if (tag !== 10) {
|
|
6724
|
+
break;
|
|
6725
|
+
}
|
|
6726
|
+
message.creator_id = reader.string();
|
|
6727
|
+
continue;
|
|
6728
|
+
case 2:
|
|
6729
|
+
if (tag !== 18) {
|
|
6730
|
+
break;
|
|
6731
|
+
}
|
|
6732
|
+
message.clan_id = reader.string();
|
|
6733
|
+
continue;
|
|
6734
|
+
case 3:
|
|
6735
|
+
if (tag !== 26) {
|
|
6736
|
+
break;
|
|
6737
|
+
}
|
|
6738
|
+
message.category_name = reader.string();
|
|
6739
|
+
continue;
|
|
6740
|
+
case 4:
|
|
6741
|
+
if (tag !== 34) {
|
|
6742
|
+
break;
|
|
6743
|
+
}
|
|
6744
|
+
message.category_id = reader.string();
|
|
6745
|
+
continue;
|
|
6746
|
+
case 5:
|
|
6747
|
+
if (tag !== 40) {
|
|
6748
|
+
break;
|
|
6749
|
+
}
|
|
6750
|
+
message.category_order = reader.int32();
|
|
6751
|
+
continue;
|
|
6752
|
+
}
|
|
6753
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6754
|
+
break;
|
|
6755
|
+
}
|
|
6756
|
+
reader.skipType(tag & 7);
|
|
6757
|
+
}
|
|
6758
|
+
return message;
|
|
6759
|
+
},
|
|
6760
|
+
fromJSON(object) {
|
|
6761
|
+
return {
|
|
6762
|
+
creator_id: isSet3(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
6763
|
+
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
6764
|
+
category_name: isSet3(object.category_name) ? globalThis.String(object.category_name) : "",
|
|
6765
|
+
category_id: isSet3(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
6766
|
+
category_order: isSet3(object.category_order) ? globalThis.Number(object.category_order) : 0
|
|
6767
|
+
};
|
|
6768
|
+
},
|
|
6769
|
+
toJSON(message) {
|
|
6770
|
+
const obj = {};
|
|
6771
|
+
if (message.creator_id !== "") {
|
|
6772
|
+
obj.creator_id = message.creator_id;
|
|
6773
|
+
}
|
|
6774
|
+
if (message.clan_id !== "") {
|
|
6775
|
+
obj.clan_id = message.clan_id;
|
|
6776
|
+
}
|
|
6777
|
+
if (message.category_name !== "") {
|
|
6778
|
+
obj.category_name = message.category_name;
|
|
6779
|
+
}
|
|
6780
|
+
if (message.category_id !== "") {
|
|
6781
|
+
obj.category_id = message.category_id;
|
|
6782
|
+
}
|
|
6783
|
+
if (message.category_order !== 0) {
|
|
6784
|
+
obj.category_order = Math.round(message.category_order);
|
|
6785
|
+
}
|
|
6786
|
+
return obj;
|
|
6787
|
+
},
|
|
6788
|
+
create(base) {
|
|
6789
|
+
return CategoryDesc.fromPartial(base != null ? base : {});
|
|
6790
|
+
},
|
|
6791
|
+
fromPartial(object) {
|
|
6792
|
+
var _a, _b, _c, _d, _e;
|
|
6793
|
+
const message = createBaseCategoryDesc();
|
|
6794
|
+
message.creator_id = (_a = object.creator_id) != null ? _a : "";
|
|
6795
|
+
message.clan_id = (_b = object.clan_id) != null ? _b : "";
|
|
6796
|
+
message.category_name = (_c = object.category_name) != null ? _c : "";
|
|
6797
|
+
message.category_id = (_d = object.category_id) != null ? _d : "";
|
|
6798
|
+
message.category_order = (_e = object.category_order) != null ? _e : 0;
|
|
6799
|
+
return message;
|
|
6800
|
+
}
|
|
6801
|
+
};
|
|
6802
|
+
function createBaseCategoryDescList() {
|
|
6803
|
+
return { categorydesc: [] };
|
|
6804
|
+
}
|
|
6805
|
+
var CategoryDescList = {
|
|
6806
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
6807
|
+
for (const v of message.categorydesc) {
|
|
6808
|
+
CategoryDesc.encode(v, writer.uint32(10).fork()).ldelim();
|
|
6809
|
+
}
|
|
6810
|
+
return writer;
|
|
6811
|
+
},
|
|
6812
|
+
decode(input, length) {
|
|
6813
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
6814
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
6815
|
+
const message = createBaseCategoryDescList();
|
|
6816
|
+
while (reader.pos < end) {
|
|
6817
|
+
const tag = reader.uint32();
|
|
6818
|
+
switch (tag >>> 3) {
|
|
6819
|
+
case 1:
|
|
6820
|
+
if (tag !== 10) {
|
|
6821
|
+
break;
|
|
6822
|
+
}
|
|
6823
|
+
message.categorydesc.push(CategoryDesc.decode(reader, reader.uint32()));
|
|
6824
|
+
continue;
|
|
6825
|
+
}
|
|
6826
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6827
|
+
break;
|
|
6828
|
+
}
|
|
6829
|
+
reader.skipType(tag & 7);
|
|
6830
|
+
}
|
|
6831
|
+
return message;
|
|
6832
|
+
},
|
|
6833
|
+
fromJSON(object) {
|
|
6834
|
+
return {
|
|
6835
|
+
categorydesc: globalThis.Array.isArray(object == null ? void 0 : object.categorydesc) ? object.categorydesc.map((e) => CategoryDesc.fromJSON(e)) : []
|
|
6836
|
+
};
|
|
6837
|
+
},
|
|
6838
|
+
toJSON(message) {
|
|
6839
|
+
var _a;
|
|
6840
|
+
const obj = {};
|
|
6841
|
+
if ((_a = message.categorydesc) == null ? void 0 : _a.length) {
|
|
6842
|
+
obj.categorydesc = message.categorydesc.map((e) => CategoryDesc.toJSON(e));
|
|
6843
|
+
}
|
|
6844
|
+
return obj;
|
|
6845
|
+
},
|
|
6846
|
+
create(base) {
|
|
6847
|
+
return CategoryDescList.fromPartial(base != null ? base : {});
|
|
6848
|
+
},
|
|
6849
|
+
fromPartial(object) {
|
|
6850
|
+
var _a;
|
|
6851
|
+
const message = createBaseCategoryDescList();
|
|
6852
|
+
message.categorydesc = ((_a = object.categorydesc) == null ? void 0 : _a.map((e) => CategoryDesc.fromPartial(e))) || [];
|
|
6853
|
+
return message;
|
|
6854
|
+
}
|
|
6855
|
+
};
|
|
6856
|
+
function createBaseChannelMessageHeader() {
|
|
6857
|
+
return {
|
|
6858
|
+
id: "",
|
|
6859
|
+
timestamp_seconds: 0,
|
|
6860
|
+
sender_id: "",
|
|
6861
|
+
content: "",
|
|
6862
|
+
attachment: "",
|
|
6863
|
+
reference: "",
|
|
6864
|
+
mention: "",
|
|
6865
|
+
reaction: "",
|
|
6866
|
+
repliers: []
|
|
6867
|
+
};
|
|
6868
|
+
}
|
|
6869
|
+
var ChannelMessageHeader = {
|
|
6870
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
6871
|
+
if (message.id !== "") {
|
|
6872
|
+
writer.uint32(10).string(message.id);
|
|
6873
|
+
}
|
|
6874
|
+
if (message.timestamp_seconds !== 0) {
|
|
6875
|
+
writer.uint32(16).uint32(message.timestamp_seconds);
|
|
6876
|
+
}
|
|
6877
|
+
if (message.sender_id !== "") {
|
|
6878
|
+
writer.uint32(26).string(message.sender_id);
|
|
6879
|
+
}
|
|
6880
|
+
if (message.content !== "") {
|
|
6881
|
+
writer.uint32(34).string(message.content);
|
|
6882
|
+
}
|
|
6883
|
+
if (message.attachment !== "") {
|
|
6884
|
+
writer.uint32(42).string(message.attachment);
|
|
6885
|
+
}
|
|
6886
|
+
if (message.reference !== "") {
|
|
6887
|
+
writer.uint32(50).string(message.reference);
|
|
6888
|
+
}
|
|
6889
|
+
if (message.mention !== "") {
|
|
6890
|
+
writer.uint32(58).string(message.mention);
|
|
6891
|
+
}
|
|
6892
|
+
if (message.reaction !== "") {
|
|
6893
|
+
writer.uint32(66).string(message.reaction);
|
|
6488
6894
|
}
|
|
6489
6895
|
for (const v of message.repliers) {
|
|
6490
6896
|
writer.uint32(74).string(v);
|
|
@@ -7593,24 +7999,332 @@ var Role = {
|
|
|
7593
7999
|
if (message.permission_list !== void 0) {
|
|
7594
8000
|
PermissionList.encode(message.permission_list, writer.uint32(106).fork()).ldelim();
|
|
7595
8001
|
}
|
|
7596
|
-
if (message.role_channel_active !== 0) {
|
|
7597
|
-
writer.uint32(112).int32(message.role_channel_active);
|
|
8002
|
+
if (message.role_channel_active !== 0) {
|
|
8003
|
+
writer.uint32(112).int32(message.role_channel_active);
|
|
8004
|
+
}
|
|
8005
|
+
for (const v of message.channel_ids) {
|
|
8006
|
+
writer.uint32(122).string(v);
|
|
8007
|
+
}
|
|
8008
|
+
if (message.max_level_permission !== 0) {
|
|
8009
|
+
writer.uint32(128).int32(message.max_level_permission);
|
|
8010
|
+
}
|
|
8011
|
+
if (message.order_role !== 0) {
|
|
8012
|
+
writer.uint32(136).int32(message.order_role);
|
|
8013
|
+
}
|
|
8014
|
+
return writer;
|
|
8015
|
+
},
|
|
8016
|
+
decode(input, length) {
|
|
8017
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
8018
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
8019
|
+
const message = createBaseRole();
|
|
8020
|
+
while (reader.pos < end) {
|
|
8021
|
+
const tag = reader.uint32();
|
|
8022
|
+
switch (tag >>> 3) {
|
|
8023
|
+
case 1:
|
|
8024
|
+
if (tag !== 10) {
|
|
8025
|
+
break;
|
|
8026
|
+
}
|
|
8027
|
+
message.id = reader.string();
|
|
8028
|
+
continue;
|
|
8029
|
+
case 2:
|
|
8030
|
+
if (tag !== 18) {
|
|
8031
|
+
break;
|
|
8032
|
+
}
|
|
8033
|
+
message.title = reader.string();
|
|
8034
|
+
continue;
|
|
8035
|
+
case 3:
|
|
8036
|
+
if (tag !== 26) {
|
|
8037
|
+
break;
|
|
8038
|
+
}
|
|
8039
|
+
message.color = reader.string();
|
|
8040
|
+
continue;
|
|
8041
|
+
case 4:
|
|
8042
|
+
if (tag !== 34) {
|
|
8043
|
+
break;
|
|
8044
|
+
}
|
|
8045
|
+
message.role_icon = reader.string();
|
|
8046
|
+
continue;
|
|
8047
|
+
case 5:
|
|
8048
|
+
if (tag !== 42) {
|
|
8049
|
+
break;
|
|
8050
|
+
}
|
|
8051
|
+
message.slug = reader.string();
|
|
8052
|
+
continue;
|
|
8053
|
+
case 6:
|
|
8054
|
+
if (tag !== 50) {
|
|
8055
|
+
break;
|
|
8056
|
+
}
|
|
8057
|
+
message.description = reader.string();
|
|
8058
|
+
continue;
|
|
8059
|
+
case 7:
|
|
8060
|
+
if (tag !== 58) {
|
|
8061
|
+
break;
|
|
8062
|
+
}
|
|
8063
|
+
message.creator_id = reader.string();
|
|
8064
|
+
continue;
|
|
8065
|
+
case 8:
|
|
8066
|
+
if (tag !== 66) {
|
|
8067
|
+
break;
|
|
8068
|
+
}
|
|
8069
|
+
message.clan_id = reader.string();
|
|
8070
|
+
continue;
|
|
8071
|
+
case 9:
|
|
8072
|
+
if (tag !== 72) {
|
|
8073
|
+
break;
|
|
8074
|
+
}
|
|
8075
|
+
message.active = reader.int32();
|
|
8076
|
+
continue;
|
|
8077
|
+
case 10:
|
|
8078
|
+
if (tag !== 80) {
|
|
8079
|
+
break;
|
|
8080
|
+
}
|
|
8081
|
+
message.display_online = reader.int32();
|
|
8082
|
+
continue;
|
|
8083
|
+
case 11:
|
|
8084
|
+
if (tag !== 88) {
|
|
8085
|
+
break;
|
|
8086
|
+
}
|
|
8087
|
+
message.allow_mention = reader.int32();
|
|
8088
|
+
continue;
|
|
8089
|
+
case 12:
|
|
8090
|
+
if (tag !== 98) {
|
|
8091
|
+
break;
|
|
8092
|
+
}
|
|
8093
|
+
message.role_user_list = RoleUserList.decode(reader, reader.uint32());
|
|
8094
|
+
continue;
|
|
8095
|
+
case 13:
|
|
8096
|
+
if (tag !== 106) {
|
|
8097
|
+
break;
|
|
8098
|
+
}
|
|
8099
|
+
message.permission_list = PermissionList.decode(reader, reader.uint32());
|
|
8100
|
+
continue;
|
|
8101
|
+
case 14:
|
|
8102
|
+
if (tag !== 112) {
|
|
8103
|
+
break;
|
|
8104
|
+
}
|
|
8105
|
+
message.role_channel_active = reader.int32();
|
|
8106
|
+
continue;
|
|
8107
|
+
case 15:
|
|
8108
|
+
if (tag !== 122) {
|
|
8109
|
+
break;
|
|
8110
|
+
}
|
|
8111
|
+
message.channel_ids.push(reader.string());
|
|
8112
|
+
continue;
|
|
8113
|
+
case 16:
|
|
8114
|
+
if (tag !== 128) {
|
|
8115
|
+
break;
|
|
8116
|
+
}
|
|
8117
|
+
message.max_level_permission = reader.int32();
|
|
8118
|
+
continue;
|
|
8119
|
+
case 17:
|
|
8120
|
+
if (tag !== 136) {
|
|
8121
|
+
break;
|
|
8122
|
+
}
|
|
8123
|
+
message.order_role = reader.int32();
|
|
8124
|
+
continue;
|
|
8125
|
+
}
|
|
8126
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8127
|
+
break;
|
|
8128
|
+
}
|
|
8129
|
+
reader.skipType(tag & 7);
|
|
8130
|
+
}
|
|
8131
|
+
return message;
|
|
8132
|
+
},
|
|
8133
|
+
fromJSON(object) {
|
|
8134
|
+
return {
|
|
8135
|
+
id: isSet3(object.id) ? globalThis.String(object.id) : "",
|
|
8136
|
+
title: isSet3(object.title) ? globalThis.String(object.title) : "",
|
|
8137
|
+
color: isSet3(object.color) ? globalThis.String(object.color) : "",
|
|
8138
|
+
role_icon: isSet3(object.role_icon) ? globalThis.String(object.role_icon) : "",
|
|
8139
|
+
slug: isSet3(object.slug) ? globalThis.String(object.slug) : "",
|
|
8140
|
+
description: isSet3(object.description) ? globalThis.String(object.description) : "",
|
|
8141
|
+
creator_id: isSet3(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
8142
|
+
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
8143
|
+
active: isSet3(object.active) ? globalThis.Number(object.active) : 0,
|
|
8144
|
+
display_online: isSet3(object.display_online) ? globalThis.Number(object.display_online) : 0,
|
|
8145
|
+
allow_mention: isSet3(object.allow_mention) ? globalThis.Number(object.allow_mention) : 0,
|
|
8146
|
+
role_user_list: isSet3(object.role_user_list) ? RoleUserList.fromJSON(object.role_user_list) : void 0,
|
|
8147
|
+
permission_list: isSet3(object.permission_list) ? PermissionList.fromJSON(object.permission_list) : void 0,
|
|
8148
|
+
role_channel_active: isSet3(object.role_channel_active) ? globalThis.Number(object.role_channel_active) : 0,
|
|
8149
|
+
channel_ids: globalThis.Array.isArray(object == null ? void 0 : object.channel_ids) ? object.channel_ids.map((e) => globalThis.String(e)) : [],
|
|
8150
|
+
max_level_permission: isSet3(object.max_level_permission) ? globalThis.Number(object.max_level_permission) : 0,
|
|
8151
|
+
order_role: isSet3(object.order_role) ? globalThis.Number(object.order_role) : 0
|
|
8152
|
+
};
|
|
8153
|
+
},
|
|
8154
|
+
toJSON(message) {
|
|
8155
|
+
var _a;
|
|
8156
|
+
const obj = {};
|
|
8157
|
+
if (message.id !== "") {
|
|
8158
|
+
obj.id = message.id;
|
|
8159
|
+
}
|
|
8160
|
+
if (message.title !== "") {
|
|
8161
|
+
obj.title = message.title;
|
|
8162
|
+
}
|
|
8163
|
+
if (message.color !== "") {
|
|
8164
|
+
obj.color = message.color;
|
|
8165
|
+
}
|
|
8166
|
+
if (message.role_icon !== "") {
|
|
8167
|
+
obj.role_icon = message.role_icon;
|
|
8168
|
+
}
|
|
8169
|
+
if (message.slug !== "") {
|
|
8170
|
+
obj.slug = message.slug;
|
|
8171
|
+
}
|
|
8172
|
+
if (message.description !== "") {
|
|
8173
|
+
obj.description = message.description;
|
|
8174
|
+
}
|
|
8175
|
+
if (message.creator_id !== "") {
|
|
8176
|
+
obj.creator_id = message.creator_id;
|
|
8177
|
+
}
|
|
8178
|
+
if (message.clan_id !== "") {
|
|
8179
|
+
obj.clan_id = message.clan_id;
|
|
8180
|
+
}
|
|
8181
|
+
if (message.active !== 0) {
|
|
8182
|
+
obj.active = Math.round(message.active);
|
|
8183
|
+
}
|
|
8184
|
+
if (message.display_online !== 0) {
|
|
8185
|
+
obj.display_online = Math.round(message.display_online);
|
|
8186
|
+
}
|
|
8187
|
+
if (message.allow_mention !== 0) {
|
|
8188
|
+
obj.allow_mention = Math.round(message.allow_mention);
|
|
8189
|
+
}
|
|
8190
|
+
if (message.role_user_list !== void 0) {
|
|
8191
|
+
obj.role_user_list = RoleUserList.toJSON(message.role_user_list);
|
|
8192
|
+
}
|
|
8193
|
+
if (message.permission_list !== void 0) {
|
|
8194
|
+
obj.permission_list = PermissionList.toJSON(message.permission_list);
|
|
8195
|
+
}
|
|
8196
|
+
if (message.role_channel_active !== 0) {
|
|
8197
|
+
obj.role_channel_active = Math.round(message.role_channel_active);
|
|
8198
|
+
}
|
|
8199
|
+
if ((_a = message.channel_ids) == null ? void 0 : _a.length) {
|
|
8200
|
+
obj.channel_ids = message.channel_ids;
|
|
8201
|
+
}
|
|
8202
|
+
if (message.max_level_permission !== 0) {
|
|
8203
|
+
obj.max_level_permission = Math.round(message.max_level_permission);
|
|
8204
|
+
}
|
|
8205
|
+
if (message.order_role !== 0) {
|
|
8206
|
+
obj.order_role = Math.round(message.order_role);
|
|
8207
|
+
}
|
|
8208
|
+
return obj;
|
|
8209
|
+
},
|
|
8210
|
+
create(base) {
|
|
8211
|
+
return Role.fromPartial(base != null ? base : {});
|
|
8212
|
+
},
|
|
8213
|
+
fromPartial(object) {
|
|
8214
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
8215
|
+
const message = createBaseRole();
|
|
8216
|
+
message.id = (_a = object.id) != null ? _a : "";
|
|
8217
|
+
message.title = (_b = object.title) != null ? _b : "";
|
|
8218
|
+
message.color = (_c = object.color) != null ? _c : "";
|
|
8219
|
+
message.role_icon = (_d = object.role_icon) != null ? _d : "";
|
|
8220
|
+
message.slug = (_e = object.slug) != null ? _e : "";
|
|
8221
|
+
message.description = (_f = object.description) != null ? _f : "";
|
|
8222
|
+
message.creator_id = (_g = object.creator_id) != null ? _g : "";
|
|
8223
|
+
message.clan_id = (_h = object.clan_id) != null ? _h : "";
|
|
8224
|
+
message.active = (_i = object.active) != null ? _i : 0;
|
|
8225
|
+
message.display_online = (_j = object.display_online) != null ? _j : 0;
|
|
8226
|
+
message.allow_mention = (_k = object.allow_mention) != null ? _k : 0;
|
|
8227
|
+
message.role_user_list = object.role_user_list !== void 0 && object.role_user_list !== null ? RoleUserList.fromPartial(object.role_user_list) : void 0;
|
|
8228
|
+
message.permission_list = object.permission_list !== void 0 && object.permission_list !== null ? PermissionList.fromPartial(object.permission_list) : void 0;
|
|
8229
|
+
message.role_channel_active = (_l = object.role_channel_active) != null ? _l : 0;
|
|
8230
|
+
message.channel_ids = ((_m = object.channel_ids) == null ? void 0 : _m.map((e) => e)) || [];
|
|
8231
|
+
message.max_level_permission = (_n = object.max_level_permission) != null ? _n : 0;
|
|
8232
|
+
message.order_role = (_o = object.order_role) != null ? _o : 0;
|
|
8233
|
+
return message;
|
|
8234
|
+
}
|
|
8235
|
+
};
|
|
8236
|
+
function createBaseEventManagement() {
|
|
8237
|
+
return {
|
|
8238
|
+
id: "",
|
|
8239
|
+
title: "",
|
|
8240
|
+
logo: "",
|
|
8241
|
+
description: "",
|
|
8242
|
+
active: 0,
|
|
8243
|
+
start_event: 0,
|
|
8244
|
+
creator_id: "",
|
|
8245
|
+
clan_id: "",
|
|
8246
|
+
channel_voice_id: "",
|
|
8247
|
+
address: "",
|
|
8248
|
+
start_time: void 0,
|
|
8249
|
+
end_time: void 0,
|
|
8250
|
+
user_ids: [],
|
|
8251
|
+
create_time: void 0,
|
|
8252
|
+
max_permission: 0,
|
|
8253
|
+
channel_id: "",
|
|
8254
|
+
event_status: 0,
|
|
8255
|
+
repeat_type: 0,
|
|
8256
|
+
is_private: false,
|
|
8257
|
+
meet_room: void 0
|
|
8258
|
+
};
|
|
8259
|
+
}
|
|
8260
|
+
var EventManagement = {
|
|
8261
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
8262
|
+
if (message.id !== "") {
|
|
8263
|
+
writer.uint32(10).string(message.id);
|
|
8264
|
+
}
|
|
8265
|
+
if (message.title !== "") {
|
|
8266
|
+
writer.uint32(18).string(message.title);
|
|
8267
|
+
}
|
|
8268
|
+
if (message.logo !== "") {
|
|
8269
|
+
writer.uint32(26).string(message.logo);
|
|
8270
|
+
}
|
|
8271
|
+
if (message.description !== "") {
|
|
8272
|
+
writer.uint32(34).string(message.description);
|
|
8273
|
+
}
|
|
8274
|
+
if (message.active !== 0) {
|
|
8275
|
+
writer.uint32(40).int32(message.active);
|
|
8276
|
+
}
|
|
8277
|
+
if (message.start_event !== 0) {
|
|
8278
|
+
writer.uint32(48).int32(message.start_event);
|
|
8279
|
+
}
|
|
8280
|
+
if (message.creator_id !== "") {
|
|
8281
|
+
writer.uint32(58).string(message.creator_id);
|
|
8282
|
+
}
|
|
8283
|
+
if (message.clan_id !== "") {
|
|
8284
|
+
writer.uint32(66).string(message.clan_id);
|
|
8285
|
+
}
|
|
8286
|
+
if (message.channel_voice_id !== "") {
|
|
8287
|
+
writer.uint32(74).string(message.channel_voice_id);
|
|
8288
|
+
}
|
|
8289
|
+
if (message.address !== "") {
|
|
8290
|
+
writer.uint32(82).string(message.address);
|
|
8291
|
+
}
|
|
8292
|
+
if (message.start_time !== void 0) {
|
|
8293
|
+
Timestamp.encode(toTimestamp(message.start_time), writer.uint32(90).fork()).ldelim();
|
|
8294
|
+
}
|
|
8295
|
+
if (message.end_time !== void 0) {
|
|
8296
|
+
Timestamp.encode(toTimestamp(message.end_time), writer.uint32(98).fork()).ldelim();
|
|
8297
|
+
}
|
|
8298
|
+
for (const v of message.user_ids) {
|
|
8299
|
+
writer.uint32(106).string(v);
|
|
8300
|
+
}
|
|
8301
|
+
if (message.create_time !== void 0) {
|
|
8302
|
+
Timestamp.encode(toTimestamp(message.create_time), writer.uint32(114).fork()).ldelim();
|
|
8303
|
+
}
|
|
8304
|
+
if (message.max_permission !== 0) {
|
|
8305
|
+
writer.uint32(120).int32(message.max_permission);
|
|
8306
|
+
}
|
|
8307
|
+
if (message.channel_id !== "") {
|
|
8308
|
+
writer.uint32(130).string(message.channel_id);
|
|
7598
8309
|
}
|
|
7599
|
-
|
|
7600
|
-
writer.uint32(
|
|
8310
|
+
if (message.event_status !== 0) {
|
|
8311
|
+
writer.uint32(136).int32(message.event_status);
|
|
7601
8312
|
}
|
|
7602
|
-
if (message.
|
|
7603
|
-
writer.uint32(
|
|
8313
|
+
if (message.repeat_type !== 0) {
|
|
8314
|
+
writer.uint32(144).int32(message.repeat_type);
|
|
7604
8315
|
}
|
|
7605
|
-
if (message.
|
|
7606
|
-
writer.uint32(
|
|
8316
|
+
if (message.is_private !== false) {
|
|
8317
|
+
writer.uint32(152).bool(message.is_private);
|
|
8318
|
+
}
|
|
8319
|
+
if (message.meet_room !== void 0) {
|
|
8320
|
+
GenerateMezonMeetResponse.encode(message.meet_room, writer.uint32(162).fork()).ldelim();
|
|
7607
8321
|
}
|
|
7608
8322
|
return writer;
|
|
7609
8323
|
},
|
|
7610
8324
|
decode(input, length) {
|
|
7611
8325
|
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
7612
8326
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
7613
|
-
const message =
|
|
8327
|
+
const message = createBaseEventManagement();
|
|
7614
8328
|
while (reader.pos < end) {
|
|
7615
8329
|
const tag = reader.uint32();
|
|
7616
8330
|
switch (tag >>> 3) {
|
|
@@ -7630,25 +8344,25 @@ var Role = {
|
|
|
7630
8344
|
if (tag !== 26) {
|
|
7631
8345
|
break;
|
|
7632
8346
|
}
|
|
7633
|
-
message.
|
|
8347
|
+
message.logo = reader.string();
|
|
7634
8348
|
continue;
|
|
7635
8349
|
case 4:
|
|
7636
8350
|
if (tag !== 34) {
|
|
7637
8351
|
break;
|
|
7638
8352
|
}
|
|
7639
|
-
message.
|
|
8353
|
+
message.description = reader.string();
|
|
7640
8354
|
continue;
|
|
7641
8355
|
case 5:
|
|
7642
|
-
if (tag !==
|
|
8356
|
+
if (tag !== 40) {
|
|
7643
8357
|
break;
|
|
7644
8358
|
}
|
|
7645
|
-
message.
|
|
8359
|
+
message.active = reader.int32();
|
|
7646
8360
|
continue;
|
|
7647
8361
|
case 6:
|
|
7648
|
-
if (tag !==
|
|
8362
|
+
if (tag !== 48) {
|
|
7649
8363
|
break;
|
|
7650
8364
|
}
|
|
7651
|
-
message.
|
|
8365
|
+
message.start_event = reader.int32();
|
|
7652
8366
|
continue;
|
|
7653
8367
|
case 7:
|
|
7654
8368
|
if (tag !== 58) {
|
|
@@ -7663,58 +8377,76 @@ var Role = {
|
|
|
7663
8377
|
message.clan_id = reader.string();
|
|
7664
8378
|
continue;
|
|
7665
8379
|
case 9:
|
|
7666
|
-
if (tag !==
|
|
8380
|
+
if (tag !== 74) {
|
|
7667
8381
|
break;
|
|
7668
8382
|
}
|
|
7669
|
-
message.
|
|
8383
|
+
message.channel_voice_id = reader.string();
|
|
7670
8384
|
continue;
|
|
7671
8385
|
case 10:
|
|
7672
|
-
if (tag !==
|
|
8386
|
+
if (tag !== 82) {
|
|
7673
8387
|
break;
|
|
7674
8388
|
}
|
|
7675
|
-
message.
|
|
8389
|
+
message.address = reader.string();
|
|
7676
8390
|
continue;
|
|
7677
8391
|
case 11:
|
|
7678
|
-
if (tag !==
|
|
8392
|
+
if (tag !== 90) {
|
|
7679
8393
|
break;
|
|
7680
8394
|
}
|
|
7681
|
-
message.
|
|
8395
|
+
message.start_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
7682
8396
|
continue;
|
|
7683
8397
|
case 12:
|
|
7684
8398
|
if (tag !== 98) {
|
|
7685
8399
|
break;
|
|
7686
8400
|
}
|
|
7687
|
-
message.
|
|
8401
|
+
message.end_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
7688
8402
|
continue;
|
|
7689
8403
|
case 13:
|
|
7690
8404
|
if (tag !== 106) {
|
|
7691
8405
|
break;
|
|
7692
8406
|
}
|
|
7693
|
-
message.
|
|
8407
|
+
message.user_ids.push(reader.string());
|
|
7694
8408
|
continue;
|
|
7695
8409
|
case 14:
|
|
7696
|
-
if (tag !==
|
|
8410
|
+
if (tag !== 114) {
|
|
7697
8411
|
break;
|
|
7698
8412
|
}
|
|
7699
|
-
message.
|
|
8413
|
+
message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
7700
8414
|
continue;
|
|
7701
8415
|
case 15:
|
|
7702
|
-
if (tag !==
|
|
8416
|
+
if (tag !== 120) {
|
|
7703
8417
|
break;
|
|
7704
8418
|
}
|
|
7705
|
-
message.
|
|
8419
|
+
message.max_permission = reader.int32();
|
|
7706
8420
|
continue;
|
|
7707
8421
|
case 16:
|
|
7708
|
-
if (tag !==
|
|
8422
|
+
if (tag !== 130) {
|
|
7709
8423
|
break;
|
|
7710
8424
|
}
|
|
7711
|
-
message.
|
|
8425
|
+
message.channel_id = reader.string();
|
|
7712
8426
|
continue;
|
|
7713
8427
|
case 17:
|
|
7714
8428
|
if (tag !== 136) {
|
|
7715
8429
|
break;
|
|
7716
8430
|
}
|
|
7717
|
-
message.
|
|
8431
|
+
message.event_status = reader.int32();
|
|
8432
|
+
continue;
|
|
8433
|
+
case 18:
|
|
8434
|
+
if (tag !== 144) {
|
|
8435
|
+
break;
|
|
8436
|
+
}
|
|
8437
|
+
message.repeat_type = reader.int32();
|
|
8438
|
+
continue;
|
|
8439
|
+
case 19:
|
|
8440
|
+
if (tag !== 152) {
|
|
8441
|
+
break;
|
|
8442
|
+
}
|
|
8443
|
+
message.is_private = reader.bool();
|
|
8444
|
+
continue;
|
|
8445
|
+
case 20:
|
|
8446
|
+
if (tag !== 162) {
|
|
8447
|
+
break;
|
|
8448
|
+
}
|
|
8449
|
+
message.meet_room = GenerateMezonMeetResponse.decode(reader, reader.uint32());
|
|
7718
8450
|
continue;
|
|
7719
8451
|
}
|
|
7720
8452
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -7728,21 +8460,24 @@ var Role = {
|
|
|
7728
8460
|
return {
|
|
7729
8461
|
id: isSet3(object.id) ? globalThis.String(object.id) : "",
|
|
7730
8462
|
title: isSet3(object.title) ? globalThis.String(object.title) : "",
|
|
7731
|
-
|
|
7732
|
-
role_icon: isSet3(object.role_icon) ? globalThis.String(object.role_icon) : "",
|
|
7733
|
-
slug: isSet3(object.slug) ? globalThis.String(object.slug) : "",
|
|
8463
|
+
logo: isSet3(object.logo) ? globalThis.String(object.logo) : "",
|
|
7734
8464
|
description: isSet3(object.description) ? globalThis.String(object.description) : "",
|
|
8465
|
+
active: isSet3(object.active) ? globalThis.Number(object.active) : 0,
|
|
8466
|
+
start_event: isSet3(object.start_event) ? globalThis.Number(object.start_event) : 0,
|
|
7735
8467
|
creator_id: isSet3(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
7736
8468
|
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
8469
|
+
channel_voice_id: isSet3(object.channel_voice_id) ? globalThis.String(object.channel_voice_id) : "",
|
|
8470
|
+
address: isSet3(object.address) ? globalThis.String(object.address) : "",
|
|
8471
|
+
start_time: isSet3(object.start_time) ? fromJsonTimestamp(object.start_time) : void 0,
|
|
8472
|
+
end_time: isSet3(object.end_time) ? fromJsonTimestamp(object.end_time) : void 0,
|
|
8473
|
+
user_ids: globalThis.Array.isArray(object == null ? void 0 : object.user_ids) ? object.user_ids.map((e) => globalThis.String(e)) : [],
|
|
8474
|
+
create_time: isSet3(object.create_time) ? fromJsonTimestamp(object.create_time) : void 0,
|
|
8475
|
+
max_permission: isSet3(object.max_permission) ? globalThis.Number(object.max_permission) : 0,
|
|
8476
|
+
channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
8477
|
+
event_status: isSet3(object.event_status) ? globalThis.Number(object.event_status) : 0,
|
|
8478
|
+
repeat_type: isSet3(object.repeat_type) ? globalThis.Number(object.repeat_type) : 0,
|
|
8479
|
+
is_private: isSet3(object.is_private) ? globalThis.Boolean(object.is_private) : false,
|
|
8480
|
+
meet_room: isSet3(object.meet_room) ? GenerateMezonMeetResponse.fromJSON(object.meet_room) : void 0
|
|
7746
8481
|
};
|
|
7747
8482
|
},
|
|
7748
8483
|
toJSON(message) {
|
|
@@ -7754,76 +8489,88 @@ var Role = {
|
|
|
7754
8489
|
if (message.title !== "") {
|
|
7755
8490
|
obj.title = message.title;
|
|
7756
8491
|
}
|
|
7757
|
-
if (message.
|
|
7758
|
-
obj.
|
|
7759
|
-
}
|
|
7760
|
-
if (message.role_icon !== "") {
|
|
7761
|
-
obj.role_icon = message.role_icon;
|
|
7762
|
-
}
|
|
7763
|
-
if (message.slug !== "") {
|
|
7764
|
-
obj.slug = message.slug;
|
|
8492
|
+
if (message.logo !== "") {
|
|
8493
|
+
obj.logo = message.logo;
|
|
7765
8494
|
}
|
|
7766
8495
|
if (message.description !== "") {
|
|
7767
8496
|
obj.description = message.description;
|
|
7768
8497
|
}
|
|
8498
|
+
if (message.active !== 0) {
|
|
8499
|
+
obj.active = Math.round(message.active);
|
|
8500
|
+
}
|
|
8501
|
+
if (message.start_event !== 0) {
|
|
8502
|
+
obj.start_event = Math.round(message.start_event);
|
|
8503
|
+
}
|
|
7769
8504
|
if (message.creator_id !== "") {
|
|
7770
8505
|
obj.creator_id = message.creator_id;
|
|
7771
8506
|
}
|
|
7772
8507
|
if (message.clan_id !== "") {
|
|
7773
8508
|
obj.clan_id = message.clan_id;
|
|
7774
8509
|
}
|
|
7775
|
-
if (message.
|
|
7776
|
-
obj.
|
|
8510
|
+
if (message.channel_voice_id !== "") {
|
|
8511
|
+
obj.channel_voice_id = message.channel_voice_id;
|
|
7777
8512
|
}
|
|
7778
|
-
if (message.
|
|
7779
|
-
obj.
|
|
8513
|
+
if (message.address !== "") {
|
|
8514
|
+
obj.address = message.address;
|
|
7780
8515
|
}
|
|
7781
|
-
if (message.
|
|
7782
|
-
obj.
|
|
8516
|
+
if (message.start_time !== void 0) {
|
|
8517
|
+
obj.start_time = message.start_time.toISOString();
|
|
7783
8518
|
}
|
|
7784
|
-
if (message.
|
|
7785
|
-
obj.
|
|
8519
|
+
if (message.end_time !== void 0) {
|
|
8520
|
+
obj.end_time = message.end_time.toISOString();
|
|
7786
8521
|
}
|
|
7787
|
-
if (message.
|
|
7788
|
-
obj.
|
|
8522
|
+
if ((_a = message.user_ids) == null ? void 0 : _a.length) {
|
|
8523
|
+
obj.user_ids = message.user_ids;
|
|
7789
8524
|
}
|
|
7790
|
-
if (message.
|
|
7791
|
-
obj.
|
|
8525
|
+
if (message.create_time !== void 0) {
|
|
8526
|
+
obj.create_time = message.create_time.toISOString();
|
|
7792
8527
|
}
|
|
7793
|
-
if (
|
|
7794
|
-
obj.
|
|
8528
|
+
if (message.max_permission !== 0) {
|
|
8529
|
+
obj.max_permission = Math.round(message.max_permission);
|
|
7795
8530
|
}
|
|
7796
|
-
if (message.
|
|
7797
|
-
obj.
|
|
8531
|
+
if (message.channel_id !== "") {
|
|
8532
|
+
obj.channel_id = message.channel_id;
|
|
7798
8533
|
}
|
|
7799
|
-
if (message.
|
|
7800
|
-
obj.
|
|
8534
|
+
if (message.event_status !== 0) {
|
|
8535
|
+
obj.event_status = Math.round(message.event_status);
|
|
8536
|
+
}
|
|
8537
|
+
if (message.repeat_type !== 0) {
|
|
8538
|
+
obj.repeat_type = Math.round(message.repeat_type);
|
|
8539
|
+
}
|
|
8540
|
+
if (message.is_private !== false) {
|
|
8541
|
+
obj.is_private = message.is_private;
|
|
8542
|
+
}
|
|
8543
|
+
if (message.meet_room !== void 0) {
|
|
8544
|
+
obj.meet_room = GenerateMezonMeetResponse.toJSON(message.meet_room);
|
|
7801
8545
|
}
|
|
7802
8546
|
return obj;
|
|
7803
8547
|
},
|
|
7804
8548
|
create(base) {
|
|
7805
|
-
return
|
|
8549
|
+
return EventManagement.fromPartial(base != null ? base : {});
|
|
7806
8550
|
},
|
|
7807
8551
|
fromPartial(object) {
|
|
7808
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
7809
|
-
const message =
|
|
8552
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
8553
|
+
const message = createBaseEventManagement();
|
|
7810
8554
|
message.id = (_a = object.id) != null ? _a : "";
|
|
7811
8555
|
message.title = (_b = object.title) != null ? _b : "";
|
|
7812
|
-
message.
|
|
7813
|
-
message.
|
|
7814
|
-
message.
|
|
7815
|
-
message.
|
|
8556
|
+
message.logo = (_c = object.logo) != null ? _c : "";
|
|
8557
|
+
message.description = (_d = object.description) != null ? _d : "";
|
|
8558
|
+
message.active = (_e = object.active) != null ? _e : 0;
|
|
8559
|
+
message.start_event = (_f = object.start_event) != null ? _f : 0;
|
|
7816
8560
|
message.creator_id = (_g = object.creator_id) != null ? _g : "";
|
|
7817
8561
|
message.clan_id = (_h = object.clan_id) != null ? _h : "";
|
|
7818
|
-
message.
|
|
7819
|
-
message.
|
|
7820
|
-
message.
|
|
7821
|
-
message.
|
|
7822
|
-
message.
|
|
7823
|
-
message.
|
|
7824
|
-
message.
|
|
7825
|
-
message.
|
|
7826
|
-
message.
|
|
8562
|
+
message.channel_voice_id = (_i = object.channel_voice_id) != null ? _i : "";
|
|
8563
|
+
message.address = (_j = object.address) != null ? _j : "";
|
|
8564
|
+
message.start_time = (_k = object.start_time) != null ? _k : void 0;
|
|
8565
|
+
message.end_time = (_l = object.end_time) != null ? _l : void 0;
|
|
8566
|
+
message.user_ids = ((_m = object.user_ids) == null ? void 0 : _m.map((e) => e)) || [];
|
|
8567
|
+
message.create_time = (_n = object.create_time) != null ? _n : void 0;
|
|
8568
|
+
message.max_permission = (_o = object.max_permission) != null ? _o : 0;
|
|
8569
|
+
message.channel_id = (_p = object.channel_id) != null ? _p : "";
|
|
8570
|
+
message.event_status = (_q = object.event_status) != null ? _q : 0;
|
|
8571
|
+
message.repeat_type = (_r = object.repeat_type) != null ? _r : 0;
|
|
8572
|
+
message.is_private = (_s = object.is_private) != null ? _s : false;
|
|
8573
|
+
message.meet_room = object.meet_room !== void 0 && object.meet_room !== null ? GenerateMezonMeetResponse.fromPartial(object.meet_room) : void 0;
|
|
7827
8574
|
return message;
|
|
7828
8575
|
}
|
|
7829
8576
|
};
|
|
@@ -8923,6 +9670,60 @@ var RoleList = {
|
|
|
8923
9670
|
return message;
|
|
8924
9671
|
}
|
|
8925
9672
|
};
|
|
9673
|
+
function createBaseEventList() {
|
|
9674
|
+
return { events: [] };
|
|
9675
|
+
}
|
|
9676
|
+
var EventList = {
|
|
9677
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
9678
|
+
for (const v of message.events) {
|
|
9679
|
+
EventManagement.encode(v, writer.uint32(10).fork()).ldelim();
|
|
9680
|
+
}
|
|
9681
|
+
return writer;
|
|
9682
|
+
},
|
|
9683
|
+
decode(input, length) {
|
|
9684
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
9685
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
9686
|
+
const message = createBaseEventList();
|
|
9687
|
+
while (reader.pos < end) {
|
|
9688
|
+
const tag = reader.uint32();
|
|
9689
|
+
switch (tag >>> 3) {
|
|
9690
|
+
case 1:
|
|
9691
|
+
if (tag !== 10) {
|
|
9692
|
+
break;
|
|
9693
|
+
}
|
|
9694
|
+
message.events.push(EventManagement.decode(reader, reader.uint32()));
|
|
9695
|
+
continue;
|
|
9696
|
+
}
|
|
9697
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
9698
|
+
break;
|
|
9699
|
+
}
|
|
9700
|
+
reader.skipType(tag & 7);
|
|
9701
|
+
}
|
|
9702
|
+
return message;
|
|
9703
|
+
},
|
|
9704
|
+
fromJSON(object) {
|
|
9705
|
+
return {
|
|
9706
|
+
events: globalThis.Array.isArray(object == null ? void 0 : object.events) ? object.events.map((e) => EventManagement.fromJSON(e)) : []
|
|
9707
|
+
};
|
|
9708
|
+
},
|
|
9709
|
+
toJSON(message) {
|
|
9710
|
+
var _a;
|
|
9711
|
+
const obj = {};
|
|
9712
|
+
if ((_a = message.events) == null ? void 0 : _a.length) {
|
|
9713
|
+
obj.events = message.events.map((e) => EventManagement.toJSON(e));
|
|
9714
|
+
}
|
|
9715
|
+
return obj;
|
|
9716
|
+
},
|
|
9717
|
+
create(base) {
|
|
9718
|
+
return EventList.fromPartial(base != null ? base : {});
|
|
9719
|
+
},
|
|
9720
|
+
fromPartial(object) {
|
|
9721
|
+
var _a;
|
|
9722
|
+
const message = createBaseEventList();
|
|
9723
|
+
message.events = ((_a = object.events) == null ? void 0 : _a.map((e) => EventManagement.fromPartial(e))) || [];
|
|
9724
|
+
return message;
|
|
9725
|
+
}
|
|
9726
|
+
};
|
|
8926
9727
|
function createBasePermissionList() {
|
|
8927
9728
|
return { permissions: [], max_level_permission: 0 };
|
|
8928
9729
|
}
|
|
@@ -9380,18 +10181,69 @@ var RoleUserList_RoleUser = {
|
|
|
9380
10181
|
return obj;
|
|
9381
10182
|
},
|
|
9382
10183
|
create(base) {
|
|
9383
|
-
return RoleUserList_RoleUser.fromPartial(base != null ? base : {});
|
|
10184
|
+
return RoleUserList_RoleUser.fromPartial(base != null ? base : {});
|
|
10185
|
+
},
|
|
10186
|
+
fromPartial(object) {
|
|
10187
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
10188
|
+
const message = createBaseRoleUserList_RoleUser();
|
|
10189
|
+
message.id = (_a = object.id) != null ? _a : "";
|
|
10190
|
+
message.username = (_b = object.username) != null ? _b : "";
|
|
10191
|
+
message.display_name = (_c = object.display_name) != null ? _c : "";
|
|
10192
|
+
message.avatar_url = (_d = object.avatar_url) != null ? _d : "";
|
|
10193
|
+
message.lang_tag = (_e = object.lang_tag) != null ? _e : "";
|
|
10194
|
+
message.location = (_f = object.location) != null ? _f : "";
|
|
10195
|
+
message.online = (_g = object.online) != null ? _g : false;
|
|
10196
|
+
return message;
|
|
10197
|
+
}
|
|
10198
|
+
};
|
|
10199
|
+
function createBaseListEventsRequest() {
|
|
10200
|
+
return { clan_id: "" };
|
|
10201
|
+
}
|
|
10202
|
+
var ListEventsRequest = {
|
|
10203
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
10204
|
+
if (message.clan_id !== "") {
|
|
10205
|
+
writer.uint32(10).string(message.clan_id);
|
|
10206
|
+
}
|
|
10207
|
+
return writer;
|
|
10208
|
+
},
|
|
10209
|
+
decode(input, length) {
|
|
10210
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
10211
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
10212
|
+
const message = createBaseListEventsRequest();
|
|
10213
|
+
while (reader.pos < end) {
|
|
10214
|
+
const tag = reader.uint32();
|
|
10215
|
+
switch (tag >>> 3) {
|
|
10216
|
+
case 1:
|
|
10217
|
+
if (tag !== 10) {
|
|
10218
|
+
break;
|
|
10219
|
+
}
|
|
10220
|
+
message.clan_id = reader.string();
|
|
10221
|
+
continue;
|
|
10222
|
+
}
|
|
10223
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
10224
|
+
break;
|
|
10225
|
+
}
|
|
10226
|
+
reader.skipType(tag & 7);
|
|
10227
|
+
}
|
|
10228
|
+
return message;
|
|
10229
|
+
},
|
|
10230
|
+
fromJSON(object) {
|
|
10231
|
+
return { clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "" };
|
|
10232
|
+
},
|
|
10233
|
+
toJSON(message) {
|
|
10234
|
+
const obj = {};
|
|
10235
|
+
if (message.clan_id !== "") {
|
|
10236
|
+
obj.clan_id = message.clan_id;
|
|
10237
|
+
}
|
|
10238
|
+
return obj;
|
|
10239
|
+
},
|
|
10240
|
+
create(base) {
|
|
10241
|
+
return ListEventsRequest.fromPartial(base != null ? base : {});
|
|
9384
10242
|
},
|
|
9385
10243
|
fromPartial(object) {
|
|
9386
|
-
var _a
|
|
9387
|
-
const message =
|
|
9388
|
-
message.
|
|
9389
|
-
message.username = (_b = object.username) != null ? _b : "";
|
|
9390
|
-
message.display_name = (_c = object.display_name) != null ? _c : "";
|
|
9391
|
-
message.avatar_url = (_d = object.avatar_url) != null ? _d : "";
|
|
9392
|
-
message.lang_tag = (_e = object.lang_tag) != null ? _e : "";
|
|
9393
|
-
message.location = (_f = object.location) != null ? _f : "";
|
|
9394
|
-
message.online = (_g = object.online) != null ? _g : false;
|
|
10244
|
+
var _a;
|
|
10245
|
+
const message = createBaseListEventsRequest();
|
|
10246
|
+
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
9395
10247
|
return message;
|
|
9396
10248
|
}
|
|
9397
10249
|
};
|
|
@@ -10719,6 +11571,155 @@ var WebhookListResponse = {
|
|
|
10719
11571
|
return message;
|
|
10720
11572
|
}
|
|
10721
11573
|
};
|
|
11574
|
+
function createBaseStreamingChannelUser() {
|
|
11575
|
+
return { id: "", user_id: "", channel_id: "", participant: "" };
|
|
11576
|
+
}
|
|
11577
|
+
var StreamingChannelUser = {
|
|
11578
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
11579
|
+
if (message.id !== "") {
|
|
11580
|
+
writer.uint32(10).string(message.id);
|
|
11581
|
+
}
|
|
11582
|
+
if (message.user_id !== "") {
|
|
11583
|
+
writer.uint32(18).string(message.user_id);
|
|
11584
|
+
}
|
|
11585
|
+
if (message.channel_id !== "") {
|
|
11586
|
+
writer.uint32(26).string(message.channel_id);
|
|
11587
|
+
}
|
|
11588
|
+
if (message.participant !== "") {
|
|
11589
|
+
writer.uint32(34).string(message.participant);
|
|
11590
|
+
}
|
|
11591
|
+
return writer;
|
|
11592
|
+
},
|
|
11593
|
+
decode(input, length) {
|
|
11594
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
11595
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
11596
|
+
const message = createBaseStreamingChannelUser();
|
|
11597
|
+
while (reader.pos < end) {
|
|
11598
|
+
const tag = reader.uint32();
|
|
11599
|
+
switch (tag >>> 3) {
|
|
11600
|
+
case 1:
|
|
11601
|
+
if (tag !== 10) {
|
|
11602
|
+
break;
|
|
11603
|
+
}
|
|
11604
|
+
message.id = reader.string();
|
|
11605
|
+
continue;
|
|
11606
|
+
case 2:
|
|
11607
|
+
if (tag !== 18) {
|
|
11608
|
+
break;
|
|
11609
|
+
}
|
|
11610
|
+
message.user_id = reader.string();
|
|
11611
|
+
continue;
|
|
11612
|
+
case 3:
|
|
11613
|
+
if (tag !== 26) {
|
|
11614
|
+
break;
|
|
11615
|
+
}
|
|
11616
|
+
message.channel_id = reader.string();
|
|
11617
|
+
continue;
|
|
11618
|
+
case 4:
|
|
11619
|
+
if (tag !== 34) {
|
|
11620
|
+
break;
|
|
11621
|
+
}
|
|
11622
|
+
message.participant = reader.string();
|
|
11623
|
+
continue;
|
|
11624
|
+
}
|
|
11625
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
11626
|
+
break;
|
|
11627
|
+
}
|
|
11628
|
+
reader.skipType(tag & 7);
|
|
11629
|
+
}
|
|
11630
|
+
return message;
|
|
11631
|
+
},
|
|
11632
|
+
fromJSON(object) {
|
|
11633
|
+
return {
|
|
11634
|
+
id: isSet3(object.id) ? globalThis.String(object.id) : "",
|
|
11635
|
+
user_id: isSet3(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
11636
|
+
channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11637
|
+
participant: isSet3(object.participant) ? globalThis.String(object.participant) : ""
|
|
11638
|
+
};
|
|
11639
|
+
},
|
|
11640
|
+
toJSON(message) {
|
|
11641
|
+
const obj = {};
|
|
11642
|
+
if (message.id !== "") {
|
|
11643
|
+
obj.id = message.id;
|
|
11644
|
+
}
|
|
11645
|
+
if (message.user_id !== "") {
|
|
11646
|
+
obj.user_id = message.user_id;
|
|
11647
|
+
}
|
|
11648
|
+
if (message.channel_id !== "") {
|
|
11649
|
+
obj.channel_id = message.channel_id;
|
|
11650
|
+
}
|
|
11651
|
+
if (message.participant !== "") {
|
|
11652
|
+
obj.participant = message.participant;
|
|
11653
|
+
}
|
|
11654
|
+
return obj;
|
|
11655
|
+
},
|
|
11656
|
+
create(base) {
|
|
11657
|
+
return StreamingChannelUser.fromPartial(base != null ? base : {});
|
|
11658
|
+
},
|
|
11659
|
+
fromPartial(object) {
|
|
11660
|
+
var _a, _b, _c, _d;
|
|
11661
|
+
const message = createBaseStreamingChannelUser();
|
|
11662
|
+
message.id = (_a = object.id) != null ? _a : "";
|
|
11663
|
+
message.user_id = (_b = object.user_id) != null ? _b : "";
|
|
11664
|
+
message.channel_id = (_c = object.channel_id) != null ? _c : "";
|
|
11665
|
+
message.participant = (_d = object.participant) != null ? _d : "";
|
|
11666
|
+
return message;
|
|
11667
|
+
}
|
|
11668
|
+
};
|
|
11669
|
+
function createBaseStreamingChannelUserList() {
|
|
11670
|
+
return { streaming_channel_users: [] };
|
|
11671
|
+
}
|
|
11672
|
+
var StreamingChannelUserList = {
|
|
11673
|
+
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
11674
|
+
for (const v of message.streaming_channel_users) {
|
|
11675
|
+
StreamingChannelUser.encode(v, writer.uint32(10).fork()).ldelim();
|
|
11676
|
+
}
|
|
11677
|
+
return writer;
|
|
11678
|
+
},
|
|
11679
|
+
decode(input, length) {
|
|
11680
|
+
const reader = input instanceof import_minimal4.default.Reader ? input : import_minimal4.default.Reader.create(input);
|
|
11681
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
11682
|
+
const message = createBaseStreamingChannelUserList();
|
|
11683
|
+
while (reader.pos < end) {
|
|
11684
|
+
const tag = reader.uint32();
|
|
11685
|
+
switch (tag >>> 3) {
|
|
11686
|
+
case 1:
|
|
11687
|
+
if (tag !== 10) {
|
|
11688
|
+
break;
|
|
11689
|
+
}
|
|
11690
|
+
message.streaming_channel_users.push(StreamingChannelUser.decode(reader, reader.uint32()));
|
|
11691
|
+
continue;
|
|
11692
|
+
}
|
|
11693
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
11694
|
+
break;
|
|
11695
|
+
}
|
|
11696
|
+
reader.skipType(tag & 7);
|
|
11697
|
+
}
|
|
11698
|
+
return message;
|
|
11699
|
+
},
|
|
11700
|
+
fromJSON(object) {
|
|
11701
|
+
return {
|
|
11702
|
+
streaming_channel_users: globalThis.Array.isArray(object == null ? void 0 : object.streaming_channel_users) ? object.streaming_channel_users.map((e) => StreamingChannelUser.fromJSON(e)) : []
|
|
11703
|
+
};
|
|
11704
|
+
},
|
|
11705
|
+
toJSON(message) {
|
|
11706
|
+
var _a;
|
|
11707
|
+
const obj = {};
|
|
11708
|
+
if ((_a = message.streaming_channel_users) == null ? void 0 : _a.length) {
|
|
11709
|
+
obj.streaming_channel_users = message.streaming_channel_users.map((e) => StreamingChannelUser.toJSON(e));
|
|
11710
|
+
}
|
|
11711
|
+
return obj;
|
|
11712
|
+
},
|
|
11713
|
+
create(base) {
|
|
11714
|
+
return StreamingChannelUserList.fromPartial(base != null ? base : {});
|
|
11715
|
+
},
|
|
11716
|
+
fromPartial(object) {
|
|
11717
|
+
var _a;
|
|
11718
|
+
const message = createBaseStreamingChannelUserList();
|
|
11719
|
+
message.streaming_channel_users = ((_a = object.streaming_channel_users) == null ? void 0 : _a.map((e) => StreamingChannelUser.fromPartial(e))) || [];
|
|
11720
|
+
return message;
|
|
11721
|
+
}
|
|
11722
|
+
};
|
|
10722
11723
|
function createBaseGiveCoffeeEvent() {
|
|
10723
11724
|
return { sender_id: "", receiver_id: "", token_count: 0, message_ref_id: "", channel_id: "", clan_id: "" };
|
|
10724
11725
|
}
|
|
@@ -17084,7 +18085,13 @@ function createBaseLastPinMessageEvent() {
|
|
|
17084
18085
|
user_id: "",
|
|
17085
18086
|
timestamp_seconds: 0,
|
|
17086
18087
|
operation: 0,
|
|
17087
|
-
is_public: false
|
|
18088
|
+
is_public: false,
|
|
18089
|
+
message_sender_avatar: "",
|
|
18090
|
+
message_sender_id: "",
|
|
18091
|
+
message_sender_username: "",
|
|
18092
|
+
message_content: "",
|
|
18093
|
+
message_attachment: "",
|
|
18094
|
+
message_created_time: ""
|
|
17088
18095
|
};
|
|
17089
18096
|
}
|
|
17090
18097
|
var LastPinMessageEvent = {
|
|
@@ -17113,6 +18120,24 @@ var LastPinMessageEvent = {
|
|
|
17113
18120
|
if (message.is_public !== false) {
|
|
17114
18121
|
writer.uint32(64).bool(message.is_public);
|
|
17115
18122
|
}
|
|
18123
|
+
if (message.message_sender_avatar !== "") {
|
|
18124
|
+
writer.uint32(74).string(message.message_sender_avatar);
|
|
18125
|
+
}
|
|
18126
|
+
if (message.message_sender_id !== "") {
|
|
18127
|
+
writer.uint32(82).string(message.message_sender_id);
|
|
18128
|
+
}
|
|
18129
|
+
if (message.message_sender_username !== "") {
|
|
18130
|
+
writer.uint32(90).string(message.message_sender_username);
|
|
18131
|
+
}
|
|
18132
|
+
if (message.message_content !== "") {
|
|
18133
|
+
writer.uint32(98).string(message.message_content);
|
|
18134
|
+
}
|
|
18135
|
+
if (message.message_attachment !== "") {
|
|
18136
|
+
writer.uint32(106).string(message.message_attachment);
|
|
18137
|
+
}
|
|
18138
|
+
if (message.message_created_time !== "") {
|
|
18139
|
+
writer.uint32(114).string(message.message_created_time);
|
|
18140
|
+
}
|
|
17116
18141
|
return writer;
|
|
17117
18142
|
},
|
|
17118
18143
|
decode(input, length) {
|
|
@@ -17170,6 +18195,42 @@ var LastPinMessageEvent = {
|
|
|
17170
18195
|
}
|
|
17171
18196
|
message.is_public = reader.bool();
|
|
17172
18197
|
continue;
|
|
18198
|
+
case 9:
|
|
18199
|
+
if (tag !== 74) {
|
|
18200
|
+
break;
|
|
18201
|
+
}
|
|
18202
|
+
message.message_sender_avatar = reader.string();
|
|
18203
|
+
continue;
|
|
18204
|
+
case 10:
|
|
18205
|
+
if (tag !== 82) {
|
|
18206
|
+
break;
|
|
18207
|
+
}
|
|
18208
|
+
message.message_sender_id = reader.string();
|
|
18209
|
+
continue;
|
|
18210
|
+
case 11:
|
|
18211
|
+
if (tag !== 90) {
|
|
18212
|
+
break;
|
|
18213
|
+
}
|
|
18214
|
+
message.message_sender_username = reader.string();
|
|
18215
|
+
continue;
|
|
18216
|
+
case 12:
|
|
18217
|
+
if (tag !== 98) {
|
|
18218
|
+
break;
|
|
18219
|
+
}
|
|
18220
|
+
message.message_content = reader.string();
|
|
18221
|
+
continue;
|
|
18222
|
+
case 13:
|
|
18223
|
+
if (tag !== 106) {
|
|
18224
|
+
break;
|
|
18225
|
+
}
|
|
18226
|
+
message.message_attachment = reader.string();
|
|
18227
|
+
continue;
|
|
18228
|
+
case 14:
|
|
18229
|
+
if (tag !== 114) {
|
|
18230
|
+
break;
|
|
18231
|
+
}
|
|
18232
|
+
message.message_created_time = reader.string();
|
|
18233
|
+
continue;
|
|
17173
18234
|
}
|
|
17174
18235
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17175
18236
|
break;
|
|
@@ -17187,7 +18248,13 @@ var LastPinMessageEvent = {
|
|
|
17187
18248
|
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
17188
18249
|
timestamp_seconds: isSet4(object.timestamp_seconds) ? globalThis.Number(object.timestamp_seconds) : 0,
|
|
17189
18250
|
operation: isSet4(object.operation) ? globalThis.Number(object.operation) : 0,
|
|
17190
|
-
is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false
|
|
18251
|
+
is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
18252
|
+
message_sender_avatar: isSet4(object.message_sender_avatar) ? globalThis.String(object.message_sender_avatar) : "",
|
|
18253
|
+
message_sender_id: isSet4(object.message_sender_id) ? globalThis.String(object.message_sender_id) : "",
|
|
18254
|
+
message_sender_username: isSet4(object.message_sender_username) ? globalThis.String(object.message_sender_username) : "",
|
|
18255
|
+
message_content: isSet4(object.message_content) ? globalThis.String(object.message_content) : "",
|
|
18256
|
+
message_attachment: isSet4(object.message_attachment) ? globalThis.String(object.message_attachment) : "",
|
|
18257
|
+
message_created_time: isSet4(object.message_created_time) ? globalThis.String(object.message_created_time) : ""
|
|
17191
18258
|
};
|
|
17192
18259
|
},
|
|
17193
18260
|
toJSON(message) {
|
|
@@ -17216,13 +18283,31 @@ var LastPinMessageEvent = {
|
|
|
17216
18283
|
if (message.is_public !== false) {
|
|
17217
18284
|
obj.is_public = message.is_public;
|
|
17218
18285
|
}
|
|
18286
|
+
if (message.message_sender_avatar !== "") {
|
|
18287
|
+
obj.message_sender_avatar = message.message_sender_avatar;
|
|
18288
|
+
}
|
|
18289
|
+
if (message.message_sender_id !== "") {
|
|
18290
|
+
obj.message_sender_id = message.message_sender_id;
|
|
18291
|
+
}
|
|
18292
|
+
if (message.message_sender_username !== "") {
|
|
18293
|
+
obj.message_sender_username = message.message_sender_username;
|
|
18294
|
+
}
|
|
18295
|
+
if (message.message_content !== "") {
|
|
18296
|
+
obj.message_content = message.message_content;
|
|
18297
|
+
}
|
|
18298
|
+
if (message.message_attachment !== "") {
|
|
18299
|
+
obj.message_attachment = message.message_attachment;
|
|
18300
|
+
}
|
|
18301
|
+
if (message.message_created_time !== "") {
|
|
18302
|
+
obj.message_created_time = message.message_created_time;
|
|
18303
|
+
}
|
|
17219
18304
|
return obj;
|
|
17220
18305
|
},
|
|
17221
18306
|
create(base) {
|
|
17222
18307
|
return LastPinMessageEvent.fromPartial(base != null ? base : {});
|
|
17223
18308
|
},
|
|
17224
18309
|
fromPartial(object) {
|
|
17225
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
18310
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
17226
18311
|
const message = createBaseLastPinMessageEvent();
|
|
17227
18312
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
17228
18313
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -17232,6 +18317,12 @@ var LastPinMessageEvent = {
|
|
|
17232
18317
|
message.timestamp_seconds = (_f = object.timestamp_seconds) != null ? _f : 0;
|
|
17233
18318
|
message.operation = (_g = object.operation) != null ? _g : 0;
|
|
17234
18319
|
message.is_public = (_h = object.is_public) != null ? _h : false;
|
|
18320
|
+
message.message_sender_avatar = (_i = object.message_sender_avatar) != null ? _i : "";
|
|
18321
|
+
message.message_sender_id = (_j = object.message_sender_id) != null ? _j : "";
|
|
18322
|
+
message.message_sender_username = (_k = object.message_sender_username) != null ? _k : "";
|
|
18323
|
+
message.message_content = (_l = object.message_content) != null ? _l : "";
|
|
18324
|
+
message.message_attachment = (_m = object.message_attachment) != null ? _m : "";
|
|
18325
|
+
message.message_created_time = (_n = object.message_created_time) != null ? _n : "";
|
|
17235
18326
|
return message;
|
|
17236
18327
|
}
|
|
17237
18328
|
};
|
|
@@ -22919,7 +24010,14 @@ function createBaseListDataSocket() {
|
|
|
22919
24010
|
friend_list: void 0,
|
|
22920
24011
|
list_apps_req: void 0,
|
|
22921
24012
|
channel_apps_list: void 0,
|
|
22922
|
-
user_activity_list: void 0
|
|
24013
|
+
user_activity_list: void 0,
|
|
24014
|
+
list_clan_user_req: void 0,
|
|
24015
|
+
clan_user_list: void 0,
|
|
24016
|
+
list_event_req: void 0,
|
|
24017
|
+
event_list: void 0,
|
|
24018
|
+
list_category_req: void 0,
|
|
24019
|
+
category_list: void 0,
|
|
24020
|
+
stream_user_list: void 0
|
|
22923
24021
|
};
|
|
22924
24022
|
}
|
|
22925
24023
|
var ListDataSocket = {
|
|
@@ -23095,6 +24193,27 @@ var ListDataSocket = {
|
|
|
23095
24193
|
if (message.user_activity_list !== void 0) {
|
|
23096
24194
|
ListUserActivity.encode(message.user_activity_list, writer.uint32(458).fork()).ldelim();
|
|
23097
24195
|
}
|
|
24196
|
+
if (message.list_clan_user_req !== void 0) {
|
|
24197
|
+
ListClanUsersRequest.encode(message.list_clan_user_req, writer.uint32(466).fork()).ldelim();
|
|
24198
|
+
}
|
|
24199
|
+
if (message.clan_user_list !== void 0) {
|
|
24200
|
+
ClanUserList.encode(message.clan_user_list, writer.uint32(474).fork()).ldelim();
|
|
24201
|
+
}
|
|
24202
|
+
if (message.list_event_req !== void 0) {
|
|
24203
|
+
ListEventsRequest.encode(message.list_event_req, writer.uint32(482).fork()).ldelim();
|
|
24204
|
+
}
|
|
24205
|
+
if (message.event_list !== void 0) {
|
|
24206
|
+
EventList.encode(message.event_list, writer.uint32(490).fork()).ldelim();
|
|
24207
|
+
}
|
|
24208
|
+
if (message.list_category_req !== void 0) {
|
|
24209
|
+
CategoryDesc.encode(message.list_category_req, writer.uint32(498).fork()).ldelim();
|
|
24210
|
+
}
|
|
24211
|
+
if (message.category_list !== void 0) {
|
|
24212
|
+
CategoryDescList.encode(message.category_list, writer.uint32(506).fork()).ldelim();
|
|
24213
|
+
}
|
|
24214
|
+
if (message.stream_user_list !== void 0) {
|
|
24215
|
+
StreamingChannelUserList.encode(message.stream_user_list, writer.uint32(514).fork()).ldelim();
|
|
24216
|
+
}
|
|
23098
24217
|
return writer;
|
|
23099
24218
|
},
|
|
23100
24219
|
decode(input, length) {
|
|
@@ -23449,6 +24568,48 @@ var ListDataSocket = {
|
|
|
23449
24568
|
}
|
|
23450
24569
|
message.user_activity_list = ListUserActivity.decode(reader, reader.uint32());
|
|
23451
24570
|
continue;
|
|
24571
|
+
case 58:
|
|
24572
|
+
if (tag !== 466) {
|
|
24573
|
+
break;
|
|
24574
|
+
}
|
|
24575
|
+
message.list_clan_user_req = ListClanUsersRequest.decode(reader, reader.uint32());
|
|
24576
|
+
continue;
|
|
24577
|
+
case 59:
|
|
24578
|
+
if (tag !== 474) {
|
|
24579
|
+
break;
|
|
24580
|
+
}
|
|
24581
|
+
message.clan_user_list = ClanUserList.decode(reader, reader.uint32());
|
|
24582
|
+
continue;
|
|
24583
|
+
case 60:
|
|
24584
|
+
if (tag !== 482) {
|
|
24585
|
+
break;
|
|
24586
|
+
}
|
|
24587
|
+
message.list_event_req = ListEventsRequest.decode(reader, reader.uint32());
|
|
24588
|
+
continue;
|
|
24589
|
+
case 61:
|
|
24590
|
+
if (tag !== 490) {
|
|
24591
|
+
break;
|
|
24592
|
+
}
|
|
24593
|
+
message.event_list = EventList.decode(reader, reader.uint32());
|
|
24594
|
+
continue;
|
|
24595
|
+
case 62:
|
|
24596
|
+
if (tag !== 498) {
|
|
24597
|
+
break;
|
|
24598
|
+
}
|
|
24599
|
+
message.list_category_req = CategoryDesc.decode(reader, reader.uint32());
|
|
24600
|
+
continue;
|
|
24601
|
+
case 63:
|
|
24602
|
+
if (tag !== 506) {
|
|
24603
|
+
break;
|
|
24604
|
+
}
|
|
24605
|
+
message.category_list = CategoryDescList.decode(reader, reader.uint32());
|
|
24606
|
+
continue;
|
|
24607
|
+
case 64:
|
|
24608
|
+
if (tag !== 514) {
|
|
24609
|
+
break;
|
|
24610
|
+
}
|
|
24611
|
+
message.stream_user_list = StreamingChannelUserList.decode(reader, reader.uint32());
|
|
24612
|
+
continue;
|
|
23452
24613
|
}
|
|
23453
24614
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23454
24615
|
break;
|
|
@@ -23515,7 +24676,14 @@ var ListDataSocket = {
|
|
|
23515
24676
|
friend_list: isSet4(object.friend_list) ? FriendList.fromJSON(object.friend_list) : void 0,
|
|
23516
24677
|
list_apps_req: isSet4(object.list_apps_req) ? ListChannelAppsRequest.fromJSON(object.list_apps_req) : void 0,
|
|
23517
24678
|
channel_apps_list: isSet4(object.channel_apps_list) ? ListChannelAppsResponse.fromJSON(object.channel_apps_list) : void 0,
|
|
23518
|
-
user_activity_list: isSet4(object.user_activity_list) ? ListUserActivity.fromJSON(object.user_activity_list) : void 0
|
|
24679
|
+
user_activity_list: isSet4(object.user_activity_list) ? ListUserActivity.fromJSON(object.user_activity_list) : void 0,
|
|
24680
|
+
list_clan_user_req: isSet4(object.list_clan_user_req) ? ListClanUsersRequest.fromJSON(object.list_clan_user_req) : void 0,
|
|
24681
|
+
clan_user_list: isSet4(object.clan_user_list) ? ClanUserList.fromJSON(object.clan_user_list) : void 0,
|
|
24682
|
+
list_event_req: isSet4(object.list_event_req) ? ListEventsRequest.fromJSON(object.list_event_req) : void 0,
|
|
24683
|
+
event_list: isSet4(object.event_list) ? EventList.fromJSON(object.event_list) : void 0,
|
|
24684
|
+
list_category_req: isSet4(object.list_category_req) ? CategoryDesc.fromJSON(object.list_category_req) : void 0,
|
|
24685
|
+
category_list: isSet4(object.category_list) ? CategoryDescList.fromJSON(object.category_list) : void 0,
|
|
24686
|
+
stream_user_list: isSet4(object.stream_user_list) ? StreamingChannelUserList.fromJSON(object.stream_user_list) : void 0
|
|
23519
24687
|
};
|
|
23520
24688
|
},
|
|
23521
24689
|
toJSON(message) {
|
|
@@ -23693,6 +24861,27 @@ var ListDataSocket = {
|
|
|
23693
24861
|
if (message.user_activity_list !== void 0) {
|
|
23694
24862
|
obj.user_activity_list = ListUserActivity.toJSON(message.user_activity_list);
|
|
23695
24863
|
}
|
|
24864
|
+
if (message.list_clan_user_req !== void 0) {
|
|
24865
|
+
obj.list_clan_user_req = ListClanUsersRequest.toJSON(message.list_clan_user_req);
|
|
24866
|
+
}
|
|
24867
|
+
if (message.clan_user_list !== void 0) {
|
|
24868
|
+
obj.clan_user_list = ClanUserList.toJSON(message.clan_user_list);
|
|
24869
|
+
}
|
|
24870
|
+
if (message.list_event_req !== void 0) {
|
|
24871
|
+
obj.list_event_req = ListEventsRequest.toJSON(message.list_event_req);
|
|
24872
|
+
}
|
|
24873
|
+
if (message.event_list !== void 0) {
|
|
24874
|
+
obj.event_list = EventList.toJSON(message.event_list);
|
|
24875
|
+
}
|
|
24876
|
+
if (message.list_category_req !== void 0) {
|
|
24877
|
+
obj.list_category_req = CategoryDesc.toJSON(message.list_category_req);
|
|
24878
|
+
}
|
|
24879
|
+
if (message.category_list !== void 0) {
|
|
24880
|
+
obj.category_list = CategoryDescList.toJSON(message.category_list);
|
|
24881
|
+
}
|
|
24882
|
+
if (message.stream_user_list !== void 0) {
|
|
24883
|
+
obj.stream_user_list = StreamingChannelUserList.toJSON(message.stream_user_list);
|
|
24884
|
+
}
|
|
23696
24885
|
return obj;
|
|
23697
24886
|
},
|
|
23698
24887
|
create(base) {
|
|
@@ -23758,6 +24947,13 @@ var ListDataSocket = {
|
|
|
23758
24947
|
message.list_apps_req = object.list_apps_req !== void 0 && object.list_apps_req !== null ? ListChannelAppsRequest.fromPartial(object.list_apps_req) : void 0;
|
|
23759
24948
|
message.channel_apps_list = object.channel_apps_list !== void 0 && object.channel_apps_list !== null ? ListChannelAppsResponse.fromPartial(object.channel_apps_list) : void 0;
|
|
23760
24949
|
message.user_activity_list = object.user_activity_list !== void 0 && object.user_activity_list !== null ? ListUserActivity.fromPartial(object.user_activity_list) : void 0;
|
|
24950
|
+
message.list_clan_user_req = object.list_clan_user_req !== void 0 && object.list_clan_user_req !== null ? ListClanUsersRequest.fromPartial(object.list_clan_user_req) : void 0;
|
|
24951
|
+
message.clan_user_list = object.clan_user_list !== void 0 && object.clan_user_list !== null ? ClanUserList.fromPartial(object.clan_user_list) : void 0;
|
|
24952
|
+
message.list_event_req = object.list_event_req !== void 0 && object.list_event_req !== null ? ListEventsRequest.fromPartial(object.list_event_req) : void 0;
|
|
24953
|
+
message.event_list = object.event_list !== void 0 && object.event_list !== null ? EventList.fromPartial(object.event_list) : void 0;
|
|
24954
|
+
message.list_category_req = object.list_category_req !== void 0 && object.list_category_req !== null ? CategoryDesc.fromPartial(object.list_category_req) : void 0;
|
|
24955
|
+
message.category_list = object.category_list !== void 0 && object.category_list !== null ? CategoryDescList.fromPartial(object.category_list) : void 0;
|
|
24956
|
+
message.stream_user_list = object.stream_user_list !== void 0 && object.stream_user_list !== null ? StreamingChannelUserList.fromPartial(object.stream_user_list) : void 0;
|
|
23761
24957
|
return message;
|
|
23762
24958
|
}
|
|
23763
24959
|
};
|