mezon-js-protobuf 1.8.13 → 1.8.15
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 +20 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +134 -48
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +28215 -12735
- package/dist/mezon-js-protobuf.cjs.js +11340 -4978
- package/dist/mezon-js-protobuf.esm.mjs +11340 -4978
- package/package.json +1 -1
- package/rtapi/realtime.ts +1200 -1
package/rtapi/realtime.ts
CHANGED
|
@@ -7,23 +7,72 @@
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
import _m0 from "protobufjs/minimal";
|
|
9
9
|
import {
|
|
10
|
+
AllUsersAddChannelRequest,
|
|
11
|
+
AllUsersAddChannelResponse,
|
|
12
|
+
ChannelAttachmentList,
|
|
13
|
+
ChannelDescList,
|
|
10
14
|
ChannelDescription as ChannelDescription1,
|
|
11
15
|
ChannelMessage,
|
|
12
16
|
ChannelMessageHeader,
|
|
17
|
+
ChannelMessageList,
|
|
18
|
+
ChannelSettingListRequest,
|
|
19
|
+
ChannelSettingListResponse,
|
|
20
|
+
ChannelUserList,
|
|
21
|
+
ClanDescList,
|
|
13
22
|
CreateEventRequest,
|
|
23
|
+
DefaultNotificationCategory,
|
|
24
|
+
EmojiListedResponse,
|
|
25
|
+
EmojiRecentList,
|
|
14
26
|
GiveCoffeeEvent,
|
|
27
|
+
HashtagDmList,
|
|
28
|
+
HashtagDmListRequest,
|
|
29
|
+
ListChannelAttachmentRequest,
|
|
30
|
+
ListChannelDescsRequest,
|
|
31
|
+
ListChannelDetailRequest,
|
|
32
|
+
ListChannelMessagesRequest,
|
|
33
|
+
ListChannelUsersRequest,
|
|
34
|
+
ListClanDescRequest,
|
|
35
|
+
ListClanWebhookRequest,
|
|
36
|
+
ListClanWebhookResponse,
|
|
37
|
+
ListFavoriteChannelRequest,
|
|
38
|
+
ListFavoriteChannelResponse,
|
|
39
|
+
ListNotificationsRequest,
|
|
40
|
+
ListPermissionOfUsersRequest,
|
|
41
|
+
ListPermissionsRequest,
|
|
42
|
+
ListRoleUsersRequest,
|
|
43
|
+
ListThreadRequest,
|
|
15
44
|
MessageAttachment,
|
|
16
45
|
MessageMention,
|
|
17
46
|
MessageReaction,
|
|
18
47
|
MessageRef,
|
|
19
48
|
Notification,
|
|
49
|
+
NotificationChannel,
|
|
50
|
+
NotificationChannelCategorySettingList,
|
|
51
|
+
NotificationClan,
|
|
52
|
+
NotificationList,
|
|
53
|
+
NotificationSetting,
|
|
20
54
|
NotificationUserChannel,
|
|
55
|
+
NotifiReactMessage,
|
|
56
|
+
PermissionList,
|
|
57
|
+
PermissionRoleChannelListEventRequest,
|
|
58
|
+
PermissionRoleChannelListEventResponse,
|
|
21
59
|
PermissionUpdate,
|
|
22
60
|
Role,
|
|
61
|
+
RoleList,
|
|
62
|
+
RoleListEventRequest,
|
|
63
|
+
RoleListEventResponse,
|
|
64
|
+
RoleUserList,
|
|
23
65
|
Rpc,
|
|
66
|
+
SearchThreadRequest,
|
|
67
|
+
StickerListedResponse,
|
|
24
68
|
TokenSentEvent,
|
|
25
69
|
UserActivity,
|
|
70
|
+
UserPermissionInChannelListRequest,
|
|
71
|
+
UserPermissionInChannelListResponse,
|
|
72
|
+
VoiceChannelUserList,
|
|
26
73
|
Webhook,
|
|
74
|
+
WebhookListRequest,
|
|
75
|
+
WebhookListResponse,
|
|
27
76
|
} from "../api/api";
|
|
28
77
|
import { Timestamp } from "../google/protobuf/timestamp";
|
|
29
78
|
import { BoolValue, Int32Value, StringValue } from "../google/protobuf/wrappers";
|
|
@@ -353,7 +402,11 @@ export interface Envelope {
|
|
|
353
402
|
| VoiceReactionSend
|
|
354
403
|
| undefined;
|
|
355
404
|
/** Mark As Read */
|
|
356
|
-
mark_as_read?:
|
|
405
|
+
mark_as_read?:
|
|
406
|
+
| MarkAsRead
|
|
407
|
+
| undefined;
|
|
408
|
+
/** list socket data */
|
|
409
|
+
list_data_socket?: ListDataSocket | undefined;
|
|
357
410
|
}
|
|
358
411
|
|
|
359
412
|
export interface FollowEvent {
|
|
@@ -1492,6 +1545,61 @@ export interface DeleteAccountEvent {
|
|
|
1492
1545
|
user_id: string;
|
|
1493
1546
|
}
|
|
1494
1547
|
|
|
1548
|
+
export interface ListDataSocket {
|
|
1549
|
+
api_name: string;
|
|
1550
|
+
list_clan_req: ListClanDescRequest | undefined;
|
|
1551
|
+
clan_desc_list: ClanDescList | undefined;
|
|
1552
|
+
list_thread_req: ListThreadRequest | undefined;
|
|
1553
|
+
channel_desc_list: ChannelDescList | undefined;
|
|
1554
|
+
list_channel_users_uc_req: AllUsersAddChannelRequest | undefined;
|
|
1555
|
+
channel_users_uc_list: AllUsersAddChannelResponse | undefined;
|
|
1556
|
+
list_channel_detail_req: ListChannelDetailRequest | undefined;
|
|
1557
|
+
channel_desc: ChannelDescription1 | undefined;
|
|
1558
|
+
list_channel_req: ListChannelDescsRequest | undefined;
|
|
1559
|
+
list_channel_message_req: ListChannelMessagesRequest | undefined;
|
|
1560
|
+
channel_message_list: ChannelMessageList | undefined;
|
|
1561
|
+
list_channel_users_req: ListChannelUsersRequest | undefined;
|
|
1562
|
+
voice_user_list: VoiceChannelUserList | undefined;
|
|
1563
|
+
channel_user_list: ChannelUserList | undefined;
|
|
1564
|
+
list_channel_attachment_req: ListChannelAttachmentRequest | undefined;
|
|
1565
|
+
channel_attachment_list: ChannelAttachmentList | undefined;
|
|
1566
|
+
hashtag_dm_req: HashtagDmListRequest | undefined;
|
|
1567
|
+
hashtag_dm_list: HashtagDmList | undefined;
|
|
1568
|
+
channel_setting_req: ChannelSettingListRequest | undefined;
|
|
1569
|
+
channel_setting_list: ChannelSettingListResponse | undefined;
|
|
1570
|
+
favorite_channel_req: ListFavoriteChannelRequest | undefined;
|
|
1571
|
+
favorite_channel_list: ListFavoriteChannelResponse | undefined;
|
|
1572
|
+
search_thread_req: SearchThreadRequest | undefined;
|
|
1573
|
+
notification_channel: NotificationChannel | undefined;
|
|
1574
|
+
notificaion_user_channel: NotificationUserChannel | undefined;
|
|
1575
|
+
notification_category: DefaultNotificationCategory | undefined;
|
|
1576
|
+
notification_clan: NotificationClan | undefined;
|
|
1577
|
+
notification_setting: NotificationSetting | undefined;
|
|
1578
|
+
notification_message: NotifiReactMessage | undefined;
|
|
1579
|
+
noti_channel_cat_setting_list: NotificationChannelCategorySettingList | undefined;
|
|
1580
|
+
list_notification_req: ListNotificationsRequest | undefined;
|
|
1581
|
+
notification_list: NotificationList | undefined;
|
|
1582
|
+
sticker_list: StickerListedResponse | undefined;
|
|
1583
|
+
emoji_recent_list: EmojiRecentList | undefined;
|
|
1584
|
+
clan_webhook_req: ListClanWebhookRequest | undefined;
|
|
1585
|
+
clan_webhook_list: ListClanWebhookResponse | undefined;
|
|
1586
|
+
webhook_list_req: WebhookListRequest | undefined;
|
|
1587
|
+
webhook_list: WebhookListResponse | undefined;
|
|
1588
|
+
permission_list_req: ListPermissionsRequest | undefined;
|
|
1589
|
+
permission_list: PermissionList | undefined;
|
|
1590
|
+
role_user_req: ListRoleUsersRequest | undefined;
|
|
1591
|
+
role_user_list: RoleUserList | undefined;
|
|
1592
|
+
permission_user_req: ListPermissionOfUsersRequest | undefined;
|
|
1593
|
+
role_list: RoleList | undefined;
|
|
1594
|
+
role_list_event_req: RoleListEventRequest | undefined;
|
|
1595
|
+
role_event_list: RoleListEventResponse | undefined;
|
|
1596
|
+
user_permission_req: UserPermissionInChannelListRequest | undefined;
|
|
1597
|
+
user_permission_list: UserPermissionInChannelListResponse | undefined;
|
|
1598
|
+
permission_role_req: PermissionRoleChannelListEventRequest | undefined;
|
|
1599
|
+
permission_role_list: PermissionRoleChannelListEventResponse | undefined;
|
|
1600
|
+
emoji_list: EmojiListedResponse | undefined;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1495
1603
|
function createBaseEnvelope(): Envelope {
|
|
1496
1604
|
return {
|
|
1497
1605
|
cid: "",
|
|
@@ -1576,6 +1684,7 @@ function createBaseEnvelope(): Envelope {
|
|
|
1576
1684
|
block_friend: undefined,
|
|
1577
1685
|
voice_reaction_send: undefined,
|
|
1578
1686
|
mark_as_read: undefined,
|
|
1687
|
+
list_data_socket: undefined,
|
|
1579
1688
|
};
|
|
1580
1689
|
}
|
|
1581
1690
|
|
|
@@ -1828,6 +1937,9 @@ export const Envelope = {
|
|
|
1828
1937
|
if (message.mark_as_read !== undefined) {
|
|
1829
1938
|
MarkAsRead.encode(message.mark_as_read, writer.uint32(658).fork()).ldelim();
|
|
1830
1939
|
}
|
|
1940
|
+
if (message.list_data_socket !== undefined) {
|
|
1941
|
+
ListDataSocket.encode(message.list_data_socket, writer.uint32(666).fork()).ldelim();
|
|
1942
|
+
}
|
|
1831
1943
|
return writer;
|
|
1832
1944
|
},
|
|
1833
1945
|
|
|
@@ -2412,6 +2524,13 @@ export const Envelope = {
|
|
|
2412
2524
|
|
|
2413
2525
|
message.mark_as_read = MarkAsRead.decode(reader, reader.uint32());
|
|
2414
2526
|
continue;
|
|
2527
|
+
case 83:
|
|
2528
|
+
if (tag !== 666) {
|
|
2529
|
+
break;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
message.list_data_socket = ListDataSocket.decode(reader, reader.uint32());
|
|
2533
|
+
continue;
|
|
2415
2534
|
}
|
|
2416
2535
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2417
2536
|
break;
|
|
@@ -2611,6 +2730,7 @@ export const Envelope = {
|
|
|
2611
2730
|
? VoiceReactionSend.fromJSON(object.voice_reaction_send)
|
|
2612
2731
|
: undefined,
|
|
2613
2732
|
mark_as_read: isSet(object.mark_as_read) ? MarkAsRead.fromJSON(object.mark_as_read) : undefined,
|
|
2733
|
+
list_data_socket: isSet(object.list_data_socket) ? ListDataSocket.fromJSON(object.list_data_socket) : undefined,
|
|
2614
2734
|
};
|
|
2615
2735
|
},
|
|
2616
2736
|
|
|
@@ -2864,6 +2984,9 @@ export const Envelope = {
|
|
|
2864
2984
|
if (message.mark_as_read !== undefined) {
|
|
2865
2985
|
obj.mark_as_read = MarkAsRead.toJSON(message.mark_as_read);
|
|
2866
2986
|
}
|
|
2987
|
+
if (message.list_data_socket !== undefined) {
|
|
2988
|
+
obj.list_data_socket = ListDataSocket.toJSON(message.list_data_socket);
|
|
2989
|
+
}
|
|
2867
2990
|
return obj;
|
|
2868
2991
|
},
|
|
2869
2992
|
|
|
@@ -3135,6 +3258,9 @@ export const Envelope = {
|
|
|
3135
3258
|
message.mark_as_read = (object.mark_as_read !== undefined && object.mark_as_read !== null)
|
|
3136
3259
|
? MarkAsRead.fromPartial(object.mark_as_read)
|
|
3137
3260
|
: undefined;
|
|
3261
|
+
message.list_data_socket = (object.list_data_socket !== undefined && object.list_data_socket !== null)
|
|
3262
|
+
? ListDataSocket.fromPartial(object.list_data_socket)
|
|
3263
|
+
: undefined;
|
|
3138
3264
|
return message;
|
|
3139
3265
|
},
|
|
3140
3266
|
};
|
|
@@ -13235,6 +13361,1079 @@ export const DeleteAccountEvent = {
|
|
|
13235
13361
|
},
|
|
13236
13362
|
};
|
|
13237
13363
|
|
|
13364
|
+
function createBaseListDataSocket(): ListDataSocket {
|
|
13365
|
+
return {
|
|
13366
|
+
api_name: "",
|
|
13367
|
+
list_clan_req: undefined,
|
|
13368
|
+
clan_desc_list: undefined,
|
|
13369
|
+
list_thread_req: undefined,
|
|
13370
|
+
channel_desc_list: undefined,
|
|
13371
|
+
list_channel_users_uc_req: undefined,
|
|
13372
|
+
channel_users_uc_list: undefined,
|
|
13373
|
+
list_channel_detail_req: undefined,
|
|
13374
|
+
channel_desc: undefined,
|
|
13375
|
+
list_channel_req: undefined,
|
|
13376
|
+
list_channel_message_req: undefined,
|
|
13377
|
+
channel_message_list: undefined,
|
|
13378
|
+
list_channel_users_req: undefined,
|
|
13379
|
+
voice_user_list: undefined,
|
|
13380
|
+
channel_user_list: undefined,
|
|
13381
|
+
list_channel_attachment_req: undefined,
|
|
13382
|
+
channel_attachment_list: undefined,
|
|
13383
|
+
hashtag_dm_req: undefined,
|
|
13384
|
+
hashtag_dm_list: undefined,
|
|
13385
|
+
channel_setting_req: undefined,
|
|
13386
|
+
channel_setting_list: undefined,
|
|
13387
|
+
favorite_channel_req: undefined,
|
|
13388
|
+
favorite_channel_list: undefined,
|
|
13389
|
+
search_thread_req: undefined,
|
|
13390
|
+
notification_channel: undefined,
|
|
13391
|
+
notificaion_user_channel: undefined,
|
|
13392
|
+
notification_category: undefined,
|
|
13393
|
+
notification_clan: undefined,
|
|
13394
|
+
notification_setting: undefined,
|
|
13395
|
+
notification_message: undefined,
|
|
13396
|
+
noti_channel_cat_setting_list: undefined,
|
|
13397
|
+
list_notification_req: undefined,
|
|
13398
|
+
notification_list: undefined,
|
|
13399
|
+
sticker_list: undefined,
|
|
13400
|
+
emoji_recent_list: undefined,
|
|
13401
|
+
clan_webhook_req: undefined,
|
|
13402
|
+
clan_webhook_list: undefined,
|
|
13403
|
+
webhook_list_req: undefined,
|
|
13404
|
+
webhook_list: undefined,
|
|
13405
|
+
permission_list_req: undefined,
|
|
13406
|
+
permission_list: undefined,
|
|
13407
|
+
role_user_req: undefined,
|
|
13408
|
+
role_user_list: undefined,
|
|
13409
|
+
permission_user_req: undefined,
|
|
13410
|
+
role_list: undefined,
|
|
13411
|
+
role_list_event_req: undefined,
|
|
13412
|
+
role_event_list: undefined,
|
|
13413
|
+
user_permission_req: undefined,
|
|
13414
|
+
user_permission_list: undefined,
|
|
13415
|
+
permission_role_req: undefined,
|
|
13416
|
+
permission_role_list: undefined,
|
|
13417
|
+
emoji_list: undefined,
|
|
13418
|
+
};
|
|
13419
|
+
}
|
|
13420
|
+
|
|
13421
|
+
export const ListDataSocket = {
|
|
13422
|
+
encode(message: ListDataSocket, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
13423
|
+
if (message.api_name !== "") {
|
|
13424
|
+
writer.uint32(10).string(message.api_name);
|
|
13425
|
+
}
|
|
13426
|
+
if (message.list_clan_req !== undefined) {
|
|
13427
|
+
ListClanDescRequest.encode(message.list_clan_req, writer.uint32(18).fork()).ldelim();
|
|
13428
|
+
}
|
|
13429
|
+
if (message.clan_desc_list !== undefined) {
|
|
13430
|
+
ClanDescList.encode(message.clan_desc_list, writer.uint32(26).fork()).ldelim();
|
|
13431
|
+
}
|
|
13432
|
+
if (message.list_thread_req !== undefined) {
|
|
13433
|
+
ListThreadRequest.encode(message.list_thread_req, writer.uint32(34).fork()).ldelim();
|
|
13434
|
+
}
|
|
13435
|
+
if (message.channel_desc_list !== undefined) {
|
|
13436
|
+
ChannelDescList.encode(message.channel_desc_list, writer.uint32(42).fork()).ldelim();
|
|
13437
|
+
}
|
|
13438
|
+
if (message.list_channel_users_uc_req !== undefined) {
|
|
13439
|
+
AllUsersAddChannelRequest.encode(message.list_channel_users_uc_req, writer.uint32(50).fork()).ldelim();
|
|
13440
|
+
}
|
|
13441
|
+
if (message.channel_users_uc_list !== undefined) {
|
|
13442
|
+
AllUsersAddChannelResponse.encode(message.channel_users_uc_list, writer.uint32(58).fork()).ldelim();
|
|
13443
|
+
}
|
|
13444
|
+
if (message.list_channel_detail_req !== undefined) {
|
|
13445
|
+
ListChannelDetailRequest.encode(message.list_channel_detail_req, writer.uint32(66).fork()).ldelim();
|
|
13446
|
+
}
|
|
13447
|
+
if (message.channel_desc !== undefined) {
|
|
13448
|
+
ChannelDescription1.encode(message.channel_desc, writer.uint32(74).fork()).ldelim();
|
|
13449
|
+
}
|
|
13450
|
+
if (message.list_channel_req !== undefined) {
|
|
13451
|
+
ListChannelDescsRequest.encode(message.list_channel_req, writer.uint32(82).fork()).ldelim();
|
|
13452
|
+
}
|
|
13453
|
+
if (message.list_channel_message_req !== undefined) {
|
|
13454
|
+
ListChannelMessagesRequest.encode(message.list_channel_message_req, writer.uint32(90).fork()).ldelim();
|
|
13455
|
+
}
|
|
13456
|
+
if (message.channel_message_list !== undefined) {
|
|
13457
|
+
ChannelMessageList.encode(message.channel_message_list, writer.uint32(98).fork()).ldelim();
|
|
13458
|
+
}
|
|
13459
|
+
if (message.list_channel_users_req !== undefined) {
|
|
13460
|
+
ListChannelUsersRequest.encode(message.list_channel_users_req, writer.uint32(106).fork()).ldelim();
|
|
13461
|
+
}
|
|
13462
|
+
if (message.voice_user_list !== undefined) {
|
|
13463
|
+
VoiceChannelUserList.encode(message.voice_user_list, writer.uint32(114).fork()).ldelim();
|
|
13464
|
+
}
|
|
13465
|
+
if (message.channel_user_list !== undefined) {
|
|
13466
|
+
ChannelUserList.encode(message.channel_user_list, writer.uint32(122).fork()).ldelim();
|
|
13467
|
+
}
|
|
13468
|
+
if (message.list_channel_attachment_req !== undefined) {
|
|
13469
|
+
ListChannelAttachmentRequest.encode(message.list_channel_attachment_req, writer.uint32(130).fork()).ldelim();
|
|
13470
|
+
}
|
|
13471
|
+
if (message.channel_attachment_list !== undefined) {
|
|
13472
|
+
ChannelAttachmentList.encode(message.channel_attachment_list, writer.uint32(138).fork()).ldelim();
|
|
13473
|
+
}
|
|
13474
|
+
if (message.hashtag_dm_req !== undefined) {
|
|
13475
|
+
HashtagDmListRequest.encode(message.hashtag_dm_req, writer.uint32(146).fork()).ldelim();
|
|
13476
|
+
}
|
|
13477
|
+
if (message.hashtag_dm_list !== undefined) {
|
|
13478
|
+
HashtagDmList.encode(message.hashtag_dm_list, writer.uint32(154).fork()).ldelim();
|
|
13479
|
+
}
|
|
13480
|
+
if (message.channel_setting_req !== undefined) {
|
|
13481
|
+
ChannelSettingListRequest.encode(message.channel_setting_req, writer.uint32(162).fork()).ldelim();
|
|
13482
|
+
}
|
|
13483
|
+
if (message.channel_setting_list !== undefined) {
|
|
13484
|
+
ChannelSettingListResponse.encode(message.channel_setting_list, writer.uint32(170).fork()).ldelim();
|
|
13485
|
+
}
|
|
13486
|
+
if (message.favorite_channel_req !== undefined) {
|
|
13487
|
+
ListFavoriteChannelRequest.encode(message.favorite_channel_req, writer.uint32(178).fork()).ldelim();
|
|
13488
|
+
}
|
|
13489
|
+
if (message.favorite_channel_list !== undefined) {
|
|
13490
|
+
ListFavoriteChannelResponse.encode(message.favorite_channel_list, writer.uint32(186).fork()).ldelim();
|
|
13491
|
+
}
|
|
13492
|
+
if (message.search_thread_req !== undefined) {
|
|
13493
|
+
SearchThreadRequest.encode(message.search_thread_req, writer.uint32(194).fork()).ldelim();
|
|
13494
|
+
}
|
|
13495
|
+
if (message.notification_channel !== undefined) {
|
|
13496
|
+
NotificationChannel.encode(message.notification_channel, writer.uint32(202).fork()).ldelim();
|
|
13497
|
+
}
|
|
13498
|
+
if (message.notificaion_user_channel !== undefined) {
|
|
13499
|
+
NotificationUserChannel.encode(message.notificaion_user_channel, writer.uint32(210).fork()).ldelim();
|
|
13500
|
+
}
|
|
13501
|
+
if (message.notification_category !== undefined) {
|
|
13502
|
+
DefaultNotificationCategory.encode(message.notification_category, writer.uint32(218).fork()).ldelim();
|
|
13503
|
+
}
|
|
13504
|
+
if (message.notification_clan !== undefined) {
|
|
13505
|
+
NotificationClan.encode(message.notification_clan, writer.uint32(226).fork()).ldelim();
|
|
13506
|
+
}
|
|
13507
|
+
if (message.notification_setting !== undefined) {
|
|
13508
|
+
NotificationSetting.encode(message.notification_setting, writer.uint32(234).fork()).ldelim();
|
|
13509
|
+
}
|
|
13510
|
+
if (message.notification_message !== undefined) {
|
|
13511
|
+
NotifiReactMessage.encode(message.notification_message, writer.uint32(242).fork()).ldelim();
|
|
13512
|
+
}
|
|
13513
|
+
if (message.noti_channel_cat_setting_list !== undefined) {
|
|
13514
|
+
NotificationChannelCategorySettingList.encode(message.noti_channel_cat_setting_list, writer.uint32(250).fork())
|
|
13515
|
+
.ldelim();
|
|
13516
|
+
}
|
|
13517
|
+
if (message.list_notification_req !== undefined) {
|
|
13518
|
+
ListNotificationsRequest.encode(message.list_notification_req, writer.uint32(258).fork()).ldelim();
|
|
13519
|
+
}
|
|
13520
|
+
if (message.notification_list !== undefined) {
|
|
13521
|
+
NotificationList.encode(message.notification_list, writer.uint32(266).fork()).ldelim();
|
|
13522
|
+
}
|
|
13523
|
+
if (message.sticker_list !== undefined) {
|
|
13524
|
+
StickerListedResponse.encode(message.sticker_list, writer.uint32(274).fork()).ldelim();
|
|
13525
|
+
}
|
|
13526
|
+
if (message.emoji_recent_list !== undefined) {
|
|
13527
|
+
EmojiRecentList.encode(message.emoji_recent_list, writer.uint32(282).fork()).ldelim();
|
|
13528
|
+
}
|
|
13529
|
+
if (message.clan_webhook_req !== undefined) {
|
|
13530
|
+
ListClanWebhookRequest.encode(message.clan_webhook_req, writer.uint32(290).fork()).ldelim();
|
|
13531
|
+
}
|
|
13532
|
+
if (message.clan_webhook_list !== undefined) {
|
|
13533
|
+
ListClanWebhookResponse.encode(message.clan_webhook_list, writer.uint32(298).fork()).ldelim();
|
|
13534
|
+
}
|
|
13535
|
+
if (message.webhook_list_req !== undefined) {
|
|
13536
|
+
WebhookListRequest.encode(message.webhook_list_req, writer.uint32(306).fork()).ldelim();
|
|
13537
|
+
}
|
|
13538
|
+
if (message.webhook_list !== undefined) {
|
|
13539
|
+
WebhookListResponse.encode(message.webhook_list, writer.uint32(314).fork()).ldelim();
|
|
13540
|
+
}
|
|
13541
|
+
if (message.permission_list_req !== undefined) {
|
|
13542
|
+
ListPermissionsRequest.encode(message.permission_list_req, writer.uint32(322).fork()).ldelim();
|
|
13543
|
+
}
|
|
13544
|
+
if (message.permission_list !== undefined) {
|
|
13545
|
+
PermissionList.encode(message.permission_list, writer.uint32(330).fork()).ldelim();
|
|
13546
|
+
}
|
|
13547
|
+
if (message.role_user_req !== undefined) {
|
|
13548
|
+
ListRoleUsersRequest.encode(message.role_user_req, writer.uint32(338).fork()).ldelim();
|
|
13549
|
+
}
|
|
13550
|
+
if (message.role_user_list !== undefined) {
|
|
13551
|
+
RoleUserList.encode(message.role_user_list, writer.uint32(346).fork()).ldelim();
|
|
13552
|
+
}
|
|
13553
|
+
if (message.permission_user_req !== undefined) {
|
|
13554
|
+
ListPermissionOfUsersRequest.encode(message.permission_user_req, writer.uint32(354).fork()).ldelim();
|
|
13555
|
+
}
|
|
13556
|
+
if (message.role_list !== undefined) {
|
|
13557
|
+
RoleList.encode(message.role_list, writer.uint32(362).fork()).ldelim();
|
|
13558
|
+
}
|
|
13559
|
+
if (message.role_list_event_req !== undefined) {
|
|
13560
|
+
RoleListEventRequest.encode(message.role_list_event_req, writer.uint32(370).fork()).ldelim();
|
|
13561
|
+
}
|
|
13562
|
+
if (message.role_event_list !== undefined) {
|
|
13563
|
+
RoleListEventResponse.encode(message.role_event_list, writer.uint32(378).fork()).ldelim();
|
|
13564
|
+
}
|
|
13565
|
+
if (message.user_permission_req !== undefined) {
|
|
13566
|
+
UserPermissionInChannelListRequest.encode(message.user_permission_req, writer.uint32(386).fork()).ldelim();
|
|
13567
|
+
}
|
|
13568
|
+
if (message.user_permission_list !== undefined) {
|
|
13569
|
+
UserPermissionInChannelListResponse.encode(message.user_permission_list, writer.uint32(394).fork()).ldelim();
|
|
13570
|
+
}
|
|
13571
|
+
if (message.permission_role_req !== undefined) {
|
|
13572
|
+
PermissionRoleChannelListEventRequest.encode(message.permission_role_req, writer.uint32(402).fork()).ldelim();
|
|
13573
|
+
}
|
|
13574
|
+
if (message.permission_role_list !== undefined) {
|
|
13575
|
+
PermissionRoleChannelListEventResponse.encode(message.permission_role_list, writer.uint32(410).fork()).ldelim();
|
|
13576
|
+
}
|
|
13577
|
+
if (message.emoji_list !== undefined) {
|
|
13578
|
+
EmojiListedResponse.encode(message.emoji_list, writer.uint32(418).fork()).ldelim();
|
|
13579
|
+
}
|
|
13580
|
+
return writer;
|
|
13581
|
+
},
|
|
13582
|
+
|
|
13583
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListDataSocket {
|
|
13584
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
13585
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
13586
|
+
const message = createBaseListDataSocket();
|
|
13587
|
+
while (reader.pos < end) {
|
|
13588
|
+
const tag = reader.uint32();
|
|
13589
|
+
switch (tag >>> 3) {
|
|
13590
|
+
case 1:
|
|
13591
|
+
if (tag !== 10) {
|
|
13592
|
+
break;
|
|
13593
|
+
}
|
|
13594
|
+
|
|
13595
|
+
message.api_name = reader.string();
|
|
13596
|
+
continue;
|
|
13597
|
+
case 2:
|
|
13598
|
+
if (tag !== 18) {
|
|
13599
|
+
break;
|
|
13600
|
+
}
|
|
13601
|
+
|
|
13602
|
+
message.list_clan_req = ListClanDescRequest.decode(reader, reader.uint32());
|
|
13603
|
+
continue;
|
|
13604
|
+
case 3:
|
|
13605
|
+
if (tag !== 26) {
|
|
13606
|
+
break;
|
|
13607
|
+
}
|
|
13608
|
+
|
|
13609
|
+
message.clan_desc_list = ClanDescList.decode(reader, reader.uint32());
|
|
13610
|
+
continue;
|
|
13611
|
+
case 4:
|
|
13612
|
+
if (tag !== 34) {
|
|
13613
|
+
break;
|
|
13614
|
+
}
|
|
13615
|
+
|
|
13616
|
+
message.list_thread_req = ListThreadRequest.decode(reader, reader.uint32());
|
|
13617
|
+
continue;
|
|
13618
|
+
case 5:
|
|
13619
|
+
if (tag !== 42) {
|
|
13620
|
+
break;
|
|
13621
|
+
}
|
|
13622
|
+
|
|
13623
|
+
message.channel_desc_list = ChannelDescList.decode(reader, reader.uint32());
|
|
13624
|
+
continue;
|
|
13625
|
+
case 6:
|
|
13626
|
+
if (tag !== 50) {
|
|
13627
|
+
break;
|
|
13628
|
+
}
|
|
13629
|
+
|
|
13630
|
+
message.list_channel_users_uc_req = AllUsersAddChannelRequest.decode(reader, reader.uint32());
|
|
13631
|
+
continue;
|
|
13632
|
+
case 7:
|
|
13633
|
+
if (tag !== 58) {
|
|
13634
|
+
break;
|
|
13635
|
+
}
|
|
13636
|
+
|
|
13637
|
+
message.channel_users_uc_list = AllUsersAddChannelResponse.decode(reader, reader.uint32());
|
|
13638
|
+
continue;
|
|
13639
|
+
case 8:
|
|
13640
|
+
if (tag !== 66) {
|
|
13641
|
+
break;
|
|
13642
|
+
}
|
|
13643
|
+
|
|
13644
|
+
message.list_channel_detail_req = ListChannelDetailRequest.decode(reader, reader.uint32());
|
|
13645
|
+
continue;
|
|
13646
|
+
case 9:
|
|
13647
|
+
if (tag !== 74) {
|
|
13648
|
+
break;
|
|
13649
|
+
}
|
|
13650
|
+
|
|
13651
|
+
message.channel_desc = ChannelDescription1.decode(reader, reader.uint32());
|
|
13652
|
+
continue;
|
|
13653
|
+
case 10:
|
|
13654
|
+
if (tag !== 82) {
|
|
13655
|
+
break;
|
|
13656
|
+
}
|
|
13657
|
+
|
|
13658
|
+
message.list_channel_req = ListChannelDescsRequest.decode(reader, reader.uint32());
|
|
13659
|
+
continue;
|
|
13660
|
+
case 11:
|
|
13661
|
+
if (tag !== 90) {
|
|
13662
|
+
break;
|
|
13663
|
+
}
|
|
13664
|
+
|
|
13665
|
+
message.list_channel_message_req = ListChannelMessagesRequest.decode(reader, reader.uint32());
|
|
13666
|
+
continue;
|
|
13667
|
+
case 12:
|
|
13668
|
+
if (tag !== 98) {
|
|
13669
|
+
break;
|
|
13670
|
+
}
|
|
13671
|
+
|
|
13672
|
+
message.channel_message_list = ChannelMessageList.decode(reader, reader.uint32());
|
|
13673
|
+
continue;
|
|
13674
|
+
case 13:
|
|
13675
|
+
if (tag !== 106) {
|
|
13676
|
+
break;
|
|
13677
|
+
}
|
|
13678
|
+
|
|
13679
|
+
message.list_channel_users_req = ListChannelUsersRequest.decode(reader, reader.uint32());
|
|
13680
|
+
continue;
|
|
13681
|
+
case 14:
|
|
13682
|
+
if (tag !== 114) {
|
|
13683
|
+
break;
|
|
13684
|
+
}
|
|
13685
|
+
|
|
13686
|
+
message.voice_user_list = VoiceChannelUserList.decode(reader, reader.uint32());
|
|
13687
|
+
continue;
|
|
13688
|
+
case 15:
|
|
13689
|
+
if (tag !== 122) {
|
|
13690
|
+
break;
|
|
13691
|
+
}
|
|
13692
|
+
|
|
13693
|
+
message.channel_user_list = ChannelUserList.decode(reader, reader.uint32());
|
|
13694
|
+
continue;
|
|
13695
|
+
case 16:
|
|
13696
|
+
if (tag !== 130) {
|
|
13697
|
+
break;
|
|
13698
|
+
}
|
|
13699
|
+
|
|
13700
|
+
message.list_channel_attachment_req = ListChannelAttachmentRequest.decode(reader, reader.uint32());
|
|
13701
|
+
continue;
|
|
13702
|
+
case 17:
|
|
13703
|
+
if (tag !== 138) {
|
|
13704
|
+
break;
|
|
13705
|
+
}
|
|
13706
|
+
|
|
13707
|
+
message.channel_attachment_list = ChannelAttachmentList.decode(reader, reader.uint32());
|
|
13708
|
+
continue;
|
|
13709
|
+
case 18:
|
|
13710
|
+
if (tag !== 146) {
|
|
13711
|
+
break;
|
|
13712
|
+
}
|
|
13713
|
+
|
|
13714
|
+
message.hashtag_dm_req = HashtagDmListRequest.decode(reader, reader.uint32());
|
|
13715
|
+
continue;
|
|
13716
|
+
case 19:
|
|
13717
|
+
if (tag !== 154) {
|
|
13718
|
+
break;
|
|
13719
|
+
}
|
|
13720
|
+
|
|
13721
|
+
message.hashtag_dm_list = HashtagDmList.decode(reader, reader.uint32());
|
|
13722
|
+
continue;
|
|
13723
|
+
case 20:
|
|
13724
|
+
if (tag !== 162) {
|
|
13725
|
+
break;
|
|
13726
|
+
}
|
|
13727
|
+
|
|
13728
|
+
message.channel_setting_req = ChannelSettingListRequest.decode(reader, reader.uint32());
|
|
13729
|
+
continue;
|
|
13730
|
+
case 21:
|
|
13731
|
+
if (tag !== 170) {
|
|
13732
|
+
break;
|
|
13733
|
+
}
|
|
13734
|
+
|
|
13735
|
+
message.channel_setting_list = ChannelSettingListResponse.decode(reader, reader.uint32());
|
|
13736
|
+
continue;
|
|
13737
|
+
case 22:
|
|
13738
|
+
if (tag !== 178) {
|
|
13739
|
+
break;
|
|
13740
|
+
}
|
|
13741
|
+
|
|
13742
|
+
message.favorite_channel_req = ListFavoriteChannelRequest.decode(reader, reader.uint32());
|
|
13743
|
+
continue;
|
|
13744
|
+
case 23:
|
|
13745
|
+
if (tag !== 186) {
|
|
13746
|
+
break;
|
|
13747
|
+
}
|
|
13748
|
+
|
|
13749
|
+
message.favorite_channel_list = ListFavoriteChannelResponse.decode(reader, reader.uint32());
|
|
13750
|
+
continue;
|
|
13751
|
+
case 24:
|
|
13752
|
+
if (tag !== 194) {
|
|
13753
|
+
break;
|
|
13754
|
+
}
|
|
13755
|
+
|
|
13756
|
+
message.search_thread_req = SearchThreadRequest.decode(reader, reader.uint32());
|
|
13757
|
+
continue;
|
|
13758
|
+
case 25:
|
|
13759
|
+
if (tag !== 202) {
|
|
13760
|
+
break;
|
|
13761
|
+
}
|
|
13762
|
+
|
|
13763
|
+
message.notification_channel = NotificationChannel.decode(reader, reader.uint32());
|
|
13764
|
+
continue;
|
|
13765
|
+
case 26:
|
|
13766
|
+
if (tag !== 210) {
|
|
13767
|
+
break;
|
|
13768
|
+
}
|
|
13769
|
+
|
|
13770
|
+
message.notificaion_user_channel = NotificationUserChannel.decode(reader, reader.uint32());
|
|
13771
|
+
continue;
|
|
13772
|
+
case 27:
|
|
13773
|
+
if (tag !== 218) {
|
|
13774
|
+
break;
|
|
13775
|
+
}
|
|
13776
|
+
|
|
13777
|
+
message.notification_category = DefaultNotificationCategory.decode(reader, reader.uint32());
|
|
13778
|
+
continue;
|
|
13779
|
+
case 28:
|
|
13780
|
+
if (tag !== 226) {
|
|
13781
|
+
break;
|
|
13782
|
+
}
|
|
13783
|
+
|
|
13784
|
+
message.notification_clan = NotificationClan.decode(reader, reader.uint32());
|
|
13785
|
+
continue;
|
|
13786
|
+
case 29:
|
|
13787
|
+
if (tag !== 234) {
|
|
13788
|
+
break;
|
|
13789
|
+
}
|
|
13790
|
+
|
|
13791
|
+
message.notification_setting = NotificationSetting.decode(reader, reader.uint32());
|
|
13792
|
+
continue;
|
|
13793
|
+
case 30:
|
|
13794
|
+
if (tag !== 242) {
|
|
13795
|
+
break;
|
|
13796
|
+
}
|
|
13797
|
+
|
|
13798
|
+
message.notification_message = NotifiReactMessage.decode(reader, reader.uint32());
|
|
13799
|
+
continue;
|
|
13800
|
+
case 31:
|
|
13801
|
+
if (tag !== 250) {
|
|
13802
|
+
break;
|
|
13803
|
+
}
|
|
13804
|
+
|
|
13805
|
+
message.noti_channel_cat_setting_list = NotificationChannelCategorySettingList.decode(
|
|
13806
|
+
reader,
|
|
13807
|
+
reader.uint32(),
|
|
13808
|
+
);
|
|
13809
|
+
continue;
|
|
13810
|
+
case 32:
|
|
13811
|
+
if (tag !== 258) {
|
|
13812
|
+
break;
|
|
13813
|
+
}
|
|
13814
|
+
|
|
13815
|
+
message.list_notification_req = ListNotificationsRequest.decode(reader, reader.uint32());
|
|
13816
|
+
continue;
|
|
13817
|
+
case 33:
|
|
13818
|
+
if (tag !== 266) {
|
|
13819
|
+
break;
|
|
13820
|
+
}
|
|
13821
|
+
|
|
13822
|
+
message.notification_list = NotificationList.decode(reader, reader.uint32());
|
|
13823
|
+
continue;
|
|
13824
|
+
case 34:
|
|
13825
|
+
if (tag !== 274) {
|
|
13826
|
+
break;
|
|
13827
|
+
}
|
|
13828
|
+
|
|
13829
|
+
message.sticker_list = StickerListedResponse.decode(reader, reader.uint32());
|
|
13830
|
+
continue;
|
|
13831
|
+
case 35:
|
|
13832
|
+
if (tag !== 282) {
|
|
13833
|
+
break;
|
|
13834
|
+
}
|
|
13835
|
+
|
|
13836
|
+
message.emoji_recent_list = EmojiRecentList.decode(reader, reader.uint32());
|
|
13837
|
+
continue;
|
|
13838
|
+
case 36:
|
|
13839
|
+
if (tag !== 290) {
|
|
13840
|
+
break;
|
|
13841
|
+
}
|
|
13842
|
+
|
|
13843
|
+
message.clan_webhook_req = ListClanWebhookRequest.decode(reader, reader.uint32());
|
|
13844
|
+
continue;
|
|
13845
|
+
case 37:
|
|
13846
|
+
if (tag !== 298) {
|
|
13847
|
+
break;
|
|
13848
|
+
}
|
|
13849
|
+
|
|
13850
|
+
message.clan_webhook_list = ListClanWebhookResponse.decode(reader, reader.uint32());
|
|
13851
|
+
continue;
|
|
13852
|
+
case 38:
|
|
13853
|
+
if (tag !== 306) {
|
|
13854
|
+
break;
|
|
13855
|
+
}
|
|
13856
|
+
|
|
13857
|
+
message.webhook_list_req = WebhookListRequest.decode(reader, reader.uint32());
|
|
13858
|
+
continue;
|
|
13859
|
+
case 39:
|
|
13860
|
+
if (tag !== 314) {
|
|
13861
|
+
break;
|
|
13862
|
+
}
|
|
13863
|
+
|
|
13864
|
+
message.webhook_list = WebhookListResponse.decode(reader, reader.uint32());
|
|
13865
|
+
continue;
|
|
13866
|
+
case 40:
|
|
13867
|
+
if (tag !== 322) {
|
|
13868
|
+
break;
|
|
13869
|
+
}
|
|
13870
|
+
|
|
13871
|
+
message.permission_list_req = ListPermissionsRequest.decode(reader, reader.uint32());
|
|
13872
|
+
continue;
|
|
13873
|
+
case 41:
|
|
13874
|
+
if (tag !== 330) {
|
|
13875
|
+
break;
|
|
13876
|
+
}
|
|
13877
|
+
|
|
13878
|
+
message.permission_list = PermissionList.decode(reader, reader.uint32());
|
|
13879
|
+
continue;
|
|
13880
|
+
case 42:
|
|
13881
|
+
if (tag !== 338) {
|
|
13882
|
+
break;
|
|
13883
|
+
}
|
|
13884
|
+
|
|
13885
|
+
message.role_user_req = ListRoleUsersRequest.decode(reader, reader.uint32());
|
|
13886
|
+
continue;
|
|
13887
|
+
case 43:
|
|
13888
|
+
if (tag !== 346) {
|
|
13889
|
+
break;
|
|
13890
|
+
}
|
|
13891
|
+
|
|
13892
|
+
message.role_user_list = RoleUserList.decode(reader, reader.uint32());
|
|
13893
|
+
continue;
|
|
13894
|
+
case 44:
|
|
13895
|
+
if (tag !== 354) {
|
|
13896
|
+
break;
|
|
13897
|
+
}
|
|
13898
|
+
|
|
13899
|
+
message.permission_user_req = ListPermissionOfUsersRequest.decode(reader, reader.uint32());
|
|
13900
|
+
continue;
|
|
13901
|
+
case 45:
|
|
13902
|
+
if (tag !== 362) {
|
|
13903
|
+
break;
|
|
13904
|
+
}
|
|
13905
|
+
|
|
13906
|
+
message.role_list = RoleList.decode(reader, reader.uint32());
|
|
13907
|
+
continue;
|
|
13908
|
+
case 46:
|
|
13909
|
+
if (tag !== 370) {
|
|
13910
|
+
break;
|
|
13911
|
+
}
|
|
13912
|
+
|
|
13913
|
+
message.role_list_event_req = RoleListEventRequest.decode(reader, reader.uint32());
|
|
13914
|
+
continue;
|
|
13915
|
+
case 47:
|
|
13916
|
+
if (tag !== 378) {
|
|
13917
|
+
break;
|
|
13918
|
+
}
|
|
13919
|
+
|
|
13920
|
+
message.role_event_list = RoleListEventResponse.decode(reader, reader.uint32());
|
|
13921
|
+
continue;
|
|
13922
|
+
case 48:
|
|
13923
|
+
if (tag !== 386) {
|
|
13924
|
+
break;
|
|
13925
|
+
}
|
|
13926
|
+
|
|
13927
|
+
message.user_permission_req = UserPermissionInChannelListRequest.decode(reader, reader.uint32());
|
|
13928
|
+
continue;
|
|
13929
|
+
case 49:
|
|
13930
|
+
if (tag !== 394) {
|
|
13931
|
+
break;
|
|
13932
|
+
}
|
|
13933
|
+
|
|
13934
|
+
message.user_permission_list = UserPermissionInChannelListResponse.decode(reader, reader.uint32());
|
|
13935
|
+
continue;
|
|
13936
|
+
case 50:
|
|
13937
|
+
if (tag !== 402) {
|
|
13938
|
+
break;
|
|
13939
|
+
}
|
|
13940
|
+
|
|
13941
|
+
message.permission_role_req = PermissionRoleChannelListEventRequest.decode(reader, reader.uint32());
|
|
13942
|
+
continue;
|
|
13943
|
+
case 51:
|
|
13944
|
+
if (tag !== 410) {
|
|
13945
|
+
break;
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13948
|
+
message.permission_role_list = PermissionRoleChannelListEventResponse.decode(reader, reader.uint32());
|
|
13949
|
+
continue;
|
|
13950
|
+
case 52:
|
|
13951
|
+
if (tag !== 418) {
|
|
13952
|
+
break;
|
|
13953
|
+
}
|
|
13954
|
+
|
|
13955
|
+
message.emoji_list = EmojiListedResponse.decode(reader, reader.uint32());
|
|
13956
|
+
continue;
|
|
13957
|
+
}
|
|
13958
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13959
|
+
break;
|
|
13960
|
+
}
|
|
13961
|
+
reader.skipType(tag & 7);
|
|
13962
|
+
}
|
|
13963
|
+
return message;
|
|
13964
|
+
},
|
|
13965
|
+
|
|
13966
|
+
fromJSON(object: any): ListDataSocket {
|
|
13967
|
+
return {
|
|
13968
|
+
api_name: isSet(object.api_name) ? globalThis.String(object.api_name) : "",
|
|
13969
|
+
list_clan_req: isSet(object.list_clan_req) ? ListClanDescRequest.fromJSON(object.list_clan_req) : undefined,
|
|
13970
|
+
clan_desc_list: isSet(object.clan_desc_list) ? ClanDescList.fromJSON(object.clan_desc_list) : undefined,
|
|
13971
|
+
list_thread_req: isSet(object.list_thread_req) ? ListThreadRequest.fromJSON(object.list_thread_req) : undefined,
|
|
13972
|
+
channel_desc_list: isSet(object.channel_desc_list)
|
|
13973
|
+
? ChannelDescList.fromJSON(object.channel_desc_list)
|
|
13974
|
+
: undefined,
|
|
13975
|
+
list_channel_users_uc_req: isSet(object.list_channel_users_uc_req)
|
|
13976
|
+
? AllUsersAddChannelRequest.fromJSON(object.list_channel_users_uc_req)
|
|
13977
|
+
: undefined,
|
|
13978
|
+
channel_users_uc_list: isSet(object.channel_users_uc_list)
|
|
13979
|
+
? AllUsersAddChannelResponse.fromJSON(object.channel_users_uc_list)
|
|
13980
|
+
: undefined,
|
|
13981
|
+
list_channel_detail_req: isSet(object.list_channel_detail_req)
|
|
13982
|
+
? ListChannelDetailRequest.fromJSON(object.list_channel_detail_req)
|
|
13983
|
+
: undefined,
|
|
13984
|
+
channel_desc: isSet(object.channel_desc) ? ChannelDescription1.fromJSON(object.channel_desc) : undefined,
|
|
13985
|
+
list_channel_req: isSet(object.list_channel_req)
|
|
13986
|
+
? ListChannelDescsRequest.fromJSON(object.list_channel_req)
|
|
13987
|
+
: undefined,
|
|
13988
|
+
list_channel_message_req: isSet(object.list_channel_message_req)
|
|
13989
|
+
? ListChannelMessagesRequest.fromJSON(object.list_channel_message_req)
|
|
13990
|
+
: undefined,
|
|
13991
|
+
channel_message_list: isSet(object.channel_message_list)
|
|
13992
|
+
? ChannelMessageList.fromJSON(object.channel_message_list)
|
|
13993
|
+
: undefined,
|
|
13994
|
+
list_channel_users_req: isSet(object.list_channel_users_req)
|
|
13995
|
+
? ListChannelUsersRequest.fromJSON(object.list_channel_users_req)
|
|
13996
|
+
: undefined,
|
|
13997
|
+
voice_user_list: isSet(object.voice_user_list)
|
|
13998
|
+
? VoiceChannelUserList.fromJSON(object.voice_user_list)
|
|
13999
|
+
: undefined,
|
|
14000
|
+
channel_user_list: isSet(object.channel_user_list)
|
|
14001
|
+
? ChannelUserList.fromJSON(object.channel_user_list)
|
|
14002
|
+
: undefined,
|
|
14003
|
+
list_channel_attachment_req: isSet(object.list_channel_attachment_req)
|
|
14004
|
+
? ListChannelAttachmentRequest.fromJSON(object.list_channel_attachment_req)
|
|
14005
|
+
: undefined,
|
|
14006
|
+
channel_attachment_list: isSet(object.channel_attachment_list)
|
|
14007
|
+
? ChannelAttachmentList.fromJSON(object.channel_attachment_list)
|
|
14008
|
+
: undefined,
|
|
14009
|
+
hashtag_dm_req: isSet(object.hashtag_dm_req) ? HashtagDmListRequest.fromJSON(object.hashtag_dm_req) : undefined,
|
|
14010
|
+
hashtag_dm_list: isSet(object.hashtag_dm_list) ? HashtagDmList.fromJSON(object.hashtag_dm_list) : undefined,
|
|
14011
|
+
channel_setting_req: isSet(object.channel_setting_req)
|
|
14012
|
+
? ChannelSettingListRequest.fromJSON(object.channel_setting_req)
|
|
14013
|
+
: undefined,
|
|
14014
|
+
channel_setting_list: isSet(object.channel_setting_list)
|
|
14015
|
+
? ChannelSettingListResponse.fromJSON(object.channel_setting_list)
|
|
14016
|
+
: undefined,
|
|
14017
|
+
favorite_channel_req: isSet(object.favorite_channel_req)
|
|
14018
|
+
? ListFavoriteChannelRequest.fromJSON(object.favorite_channel_req)
|
|
14019
|
+
: undefined,
|
|
14020
|
+
favorite_channel_list: isSet(object.favorite_channel_list)
|
|
14021
|
+
? ListFavoriteChannelResponse.fromJSON(object.favorite_channel_list)
|
|
14022
|
+
: undefined,
|
|
14023
|
+
search_thread_req: isSet(object.search_thread_req)
|
|
14024
|
+
? SearchThreadRequest.fromJSON(object.search_thread_req)
|
|
14025
|
+
: undefined,
|
|
14026
|
+
notification_channel: isSet(object.notification_channel)
|
|
14027
|
+
? NotificationChannel.fromJSON(object.notification_channel)
|
|
14028
|
+
: undefined,
|
|
14029
|
+
notificaion_user_channel: isSet(object.notificaion_user_channel)
|
|
14030
|
+
? NotificationUserChannel.fromJSON(object.notificaion_user_channel)
|
|
14031
|
+
: undefined,
|
|
14032
|
+
notification_category: isSet(object.notification_category)
|
|
14033
|
+
? DefaultNotificationCategory.fromJSON(object.notification_category)
|
|
14034
|
+
: undefined,
|
|
14035
|
+
notification_clan: isSet(object.notification_clan)
|
|
14036
|
+
? NotificationClan.fromJSON(object.notification_clan)
|
|
14037
|
+
: undefined,
|
|
14038
|
+
notification_setting: isSet(object.notification_setting)
|
|
14039
|
+
? NotificationSetting.fromJSON(object.notification_setting)
|
|
14040
|
+
: undefined,
|
|
14041
|
+
notification_message: isSet(object.notification_message)
|
|
14042
|
+
? NotifiReactMessage.fromJSON(object.notification_message)
|
|
14043
|
+
: undefined,
|
|
14044
|
+
noti_channel_cat_setting_list: isSet(object.noti_channel_cat_setting_list)
|
|
14045
|
+
? NotificationChannelCategorySettingList.fromJSON(object.noti_channel_cat_setting_list)
|
|
14046
|
+
: undefined,
|
|
14047
|
+
list_notification_req: isSet(object.list_notification_req)
|
|
14048
|
+
? ListNotificationsRequest.fromJSON(object.list_notification_req)
|
|
14049
|
+
: undefined,
|
|
14050
|
+
notification_list: isSet(object.notification_list)
|
|
14051
|
+
? NotificationList.fromJSON(object.notification_list)
|
|
14052
|
+
: undefined,
|
|
14053
|
+
sticker_list: isSet(object.sticker_list) ? StickerListedResponse.fromJSON(object.sticker_list) : undefined,
|
|
14054
|
+
emoji_recent_list: isSet(object.emoji_recent_list)
|
|
14055
|
+
? EmojiRecentList.fromJSON(object.emoji_recent_list)
|
|
14056
|
+
: undefined,
|
|
14057
|
+
clan_webhook_req: isSet(object.clan_webhook_req)
|
|
14058
|
+
? ListClanWebhookRequest.fromJSON(object.clan_webhook_req)
|
|
14059
|
+
: undefined,
|
|
14060
|
+
clan_webhook_list: isSet(object.clan_webhook_list)
|
|
14061
|
+
? ListClanWebhookResponse.fromJSON(object.clan_webhook_list)
|
|
14062
|
+
: undefined,
|
|
14063
|
+
webhook_list_req: isSet(object.webhook_list_req)
|
|
14064
|
+
? WebhookListRequest.fromJSON(object.webhook_list_req)
|
|
14065
|
+
: undefined,
|
|
14066
|
+
webhook_list: isSet(object.webhook_list) ? WebhookListResponse.fromJSON(object.webhook_list) : undefined,
|
|
14067
|
+
permission_list_req: isSet(object.permission_list_req)
|
|
14068
|
+
? ListPermissionsRequest.fromJSON(object.permission_list_req)
|
|
14069
|
+
: undefined,
|
|
14070
|
+
permission_list: isSet(object.permission_list) ? PermissionList.fromJSON(object.permission_list) : undefined,
|
|
14071
|
+
role_user_req: isSet(object.role_user_req) ? ListRoleUsersRequest.fromJSON(object.role_user_req) : undefined,
|
|
14072
|
+
role_user_list: isSet(object.role_user_list) ? RoleUserList.fromJSON(object.role_user_list) : undefined,
|
|
14073
|
+
permission_user_req: isSet(object.permission_user_req)
|
|
14074
|
+
? ListPermissionOfUsersRequest.fromJSON(object.permission_user_req)
|
|
14075
|
+
: undefined,
|
|
14076
|
+
role_list: isSet(object.role_list) ? RoleList.fromJSON(object.role_list) : undefined,
|
|
14077
|
+
role_list_event_req: isSet(object.role_list_event_req)
|
|
14078
|
+
? RoleListEventRequest.fromJSON(object.role_list_event_req)
|
|
14079
|
+
: undefined,
|
|
14080
|
+
role_event_list: isSet(object.role_event_list)
|
|
14081
|
+
? RoleListEventResponse.fromJSON(object.role_event_list)
|
|
14082
|
+
: undefined,
|
|
14083
|
+
user_permission_req: isSet(object.user_permission_req)
|
|
14084
|
+
? UserPermissionInChannelListRequest.fromJSON(object.user_permission_req)
|
|
14085
|
+
: undefined,
|
|
14086
|
+
user_permission_list: isSet(object.user_permission_list)
|
|
14087
|
+
? UserPermissionInChannelListResponse.fromJSON(object.user_permission_list)
|
|
14088
|
+
: undefined,
|
|
14089
|
+
permission_role_req: isSet(object.permission_role_req)
|
|
14090
|
+
? PermissionRoleChannelListEventRequest.fromJSON(object.permission_role_req)
|
|
14091
|
+
: undefined,
|
|
14092
|
+
permission_role_list: isSet(object.permission_role_list)
|
|
14093
|
+
? PermissionRoleChannelListEventResponse.fromJSON(object.permission_role_list)
|
|
14094
|
+
: undefined,
|
|
14095
|
+
emoji_list: isSet(object.emoji_list) ? EmojiListedResponse.fromJSON(object.emoji_list) : undefined,
|
|
14096
|
+
};
|
|
14097
|
+
},
|
|
14098
|
+
|
|
14099
|
+
toJSON(message: ListDataSocket): unknown {
|
|
14100
|
+
const obj: any = {};
|
|
14101
|
+
if (message.api_name !== "") {
|
|
14102
|
+
obj.api_name = message.api_name;
|
|
14103
|
+
}
|
|
14104
|
+
if (message.list_clan_req !== undefined) {
|
|
14105
|
+
obj.list_clan_req = ListClanDescRequest.toJSON(message.list_clan_req);
|
|
14106
|
+
}
|
|
14107
|
+
if (message.clan_desc_list !== undefined) {
|
|
14108
|
+
obj.clan_desc_list = ClanDescList.toJSON(message.clan_desc_list);
|
|
14109
|
+
}
|
|
14110
|
+
if (message.list_thread_req !== undefined) {
|
|
14111
|
+
obj.list_thread_req = ListThreadRequest.toJSON(message.list_thread_req);
|
|
14112
|
+
}
|
|
14113
|
+
if (message.channel_desc_list !== undefined) {
|
|
14114
|
+
obj.channel_desc_list = ChannelDescList.toJSON(message.channel_desc_list);
|
|
14115
|
+
}
|
|
14116
|
+
if (message.list_channel_users_uc_req !== undefined) {
|
|
14117
|
+
obj.list_channel_users_uc_req = AllUsersAddChannelRequest.toJSON(message.list_channel_users_uc_req);
|
|
14118
|
+
}
|
|
14119
|
+
if (message.channel_users_uc_list !== undefined) {
|
|
14120
|
+
obj.channel_users_uc_list = AllUsersAddChannelResponse.toJSON(message.channel_users_uc_list);
|
|
14121
|
+
}
|
|
14122
|
+
if (message.list_channel_detail_req !== undefined) {
|
|
14123
|
+
obj.list_channel_detail_req = ListChannelDetailRequest.toJSON(message.list_channel_detail_req);
|
|
14124
|
+
}
|
|
14125
|
+
if (message.channel_desc !== undefined) {
|
|
14126
|
+
obj.channel_desc = ChannelDescription1.toJSON(message.channel_desc);
|
|
14127
|
+
}
|
|
14128
|
+
if (message.list_channel_req !== undefined) {
|
|
14129
|
+
obj.list_channel_req = ListChannelDescsRequest.toJSON(message.list_channel_req);
|
|
14130
|
+
}
|
|
14131
|
+
if (message.list_channel_message_req !== undefined) {
|
|
14132
|
+
obj.list_channel_message_req = ListChannelMessagesRequest.toJSON(message.list_channel_message_req);
|
|
14133
|
+
}
|
|
14134
|
+
if (message.channel_message_list !== undefined) {
|
|
14135
|
+
obj.channel_message_list = ChannelMessageList.toJSON(message.channel_message_list);
|
|
14136
|
+
}
|
|
14137
|
+
if (message.list_channel_users_req !== undefined) {
|
|
14138
|
+
obj.list_channel_users_req = ListChannelUsersRequest.toJSON(message.list_channel_users_req);
|
|
14139
|
+
}
|
|
14140
|
+
if (message.voice_user_list !== undefined) {
|
|
14141
|
+
obj.voice_user_list = VoiceChannelUserList.toJSON(message.voice_user_list);
|
|
14142
|
+
}
|
|
14143
|
+
if (message.channel_user_list !== undefined) {
|
|
14144
|
+
obj.channel_user_list = ChannelUserList.toJSON(message.channel_user_list);
|
|
14145
|
+
}
|
|
14146
|
+
if (message.list_channel_attachment_req !== undefined) {
|
|
14147
|
+
obj.list_channel_attachment_req = ListChannelAttachmentRequest.toJSON(message.list_channel_attachment_req);
|
|
14148
|
+
}
|
|
14149
|
+
if (message.channel_attachment_list !== undefined) {
|
|
14150
|
+
obj.channel_attachment_list = ChannelAttachmentList.toJSON(message.channel_attachment_list);
|
|
14151
|
+
}
|
|
14152
|
+
if (message.hashtag_dm_req !== undefined) {
|
|
14153
|
+
obj.hashtag_dm_req = HashtagDmListRequest.toJSON(message.hashtag_dm_req);
|
|
14154
|
+
}
|
|
14155
|
+
if (message.hashtag_dm_list !== undefined) {
|
|
14156
|
+
obj.hashtag_dm_list = HashtagDmList.toJSON(message.hashtag_dm_list);
|
|
14157
|
+
}
|
|
14158
|
+
if (message.channel_setting_req !== undefined) {
|
|
14159
|
+
obj.channel_setting_req = ChannelSettingListRequest.toJSON(message.channel_setting_req);
|
|
14160
|
+
}
|
|
14161
|
+
if (message.channel_setting_list !== undefined) {
|
|
14162
|
+
obj.channel_setting_list = ChannelSettingListResponse.toJSON(message.channel_setting_list);
|
|
14163
|
+
}
|
|
14164
|
+
if (message.favorite_channel_req !== undefined) {
|
|
14165
|
+
obj.favorite_channel_req = ListFavoriteChannelRequest.toJSON(message.favorite_channel_req);
|
|
14166
|
+
}
|
|
14167
|
+
if (message.favorite_channel_list !== undefined) {
|
|
14168
|
+
obj.favorite_channel_list = ListFavoriteChannelResponse.toJSON(message.favorite_channel_list);
|
|
14169
|
+
}
|
|
14170
|
+
if (message.search_thread_req !== undefined) {
|
|
14171
|
+
obj.search_thread_req = SearchThreadRequest.toJSON(message.search_thread_req);
|
|
14172
|
+
}
|
|
14173
|
+
if (message.notification_channel !== undefined) {
|
|
14174
|
+
obj.notification_channel = NotificationChannel.toJSON(message.notification_channel);
|
|
14175
|
+
}
|
|
14176
|
+
if (message.notificaion_user_channel !== undefined) {
|
|
14177
|
+
obj.notificaion_user_channel = NotificationUserChannel.toJSON(message.notificaion_user_channel);
|
|
14178
|
+
}
|
|
14179
|
+
if (message.notification_category !== undefined) {
|
|
14180
|
+
obj.notification_category = DefaultNotificationCategory.toJSON(message.notification_category);
|
|
14181
|
+
}
|
|
14182
|
+
if (message.notification_clan !== undefined) {
|
|
14183
|
+
obj.notification_clan = NotificationClan.toJSON(message.notification_clan);
|
|
14184
|
+
}
|
|
14185
|
+
if (message.notification_setting !== undefined) {
|
|
14186
|
+
obj.notification_setting = NotificationSetting.toJSON(message.notification_setting);
|
|
14187
|
+
}
|
|
14188
|
+
if (message.notification_message !== undefined) {
|
|
14189
|
+
obj.notification_message = NotifiReactMessage.toJSON(message.notification_message);
|
|
14190
|
+
}
|
|
14191
|
+
if (message.noti_channel_cat_setting_list !== undefined) {
|
|
14192
|
+
obj.noti_channel_cat_setting_list = NotificationChannelCategorySettingList.toJSON(
|
|
14193
|
+
message.noti_channel_cat_setting_list,
|
|
14194
|
+
);
|
|
14195
|
+
}
|
|
14196
|
+
if (message.list_notification_req !== undefined) {
|
|
14197
|
+
obj.list_notification_req = ListNotificationsRequest.toJSON(message.list_notification_req);
|
|
14198
|
+
}
|
|
14199
|
+
if (message.notification_list !== undefined) {
|
|
14200
|
+
obj.notification_list = NotificationList.toJSON(message.notification_list);
|
|
14201
|
+
}
|
|
14202
|
+
if (message.sticker_list !== undefined) {
|
|
14203
|
+
obj.sticker_list = StickerListedResponse.toJSON(message.sticker_list);
|
|
14204
|
+
}
|
|
14205
|
+
if (message.emoji_recent_list !== undefined) {
|
|
14206
|
+
obj.emoji_recent_list = EmojiRecentList.toJSON(message.emoji_recent_list);
|
|
14207
|
+
}
|
|
14208
|
+
if (message.clan_webhook_req !== undefined) {
|
|
14209
|
+
obj.clan_webhook_req = ListClanWebhookRequest.toJSON(message.clan_webhook_req);
|
|
14210
|
+
}
|
|
14211
|
+
if (message.clan_webhook_list !== undefined) {
|
|
14212
|
+
obj.clan_webhook_list = ListClanWebhookResponse.toJSON(message.clan_webhook_list);
|
|
14213
|
+
}
|
|
14214
|
+
if (message.webhook_list_req !== undefined) {
|
|
14215
|
+
obj.webhook_list_req = WebhookListRequest.toJSON(message.webhook_list_req);
|
|
14216
|
+
}
|
|
14217
|
+
if (message.webhook_list !== undefined) {
|
|
14218
|
+
obj.webhook_list = WebhookListResponse.toJSON(message.webhook_list);
|
|
14219
|
+
}
|
|
14220
|
+
if (message.permission_list_req !== undefined) {
|
|
14221
|
+
obj.permission_list_req = ListPermissionsRequest.toJSON(message.permission_list_req);
|
|
14222
|
+
}
|
|
14223
|
+
if (message.permission_list !== undefined) {
|
|
14224
|
+
obj.permission_list = PermissionList.toJSON(message.permission_list);
|
|
14225
|
+
}
|
|
14226
|
+
if (message.role_user_req !== undefined) {
|
|
14227
|
+
obj.role_user_req = ListRoleUsersRequest.toJSON(message.role_user_req);
|
|
14228
|
+
}
|
|
14229
|
+
if (message.role_user_list !== undefined) {
|
|
14230
|
+
obj.role_user_list = RoleUserList.toJSON(message.role_user_list);
|
|
14231
|
+
}
|
|
14232
|
+
if (message.permission_user_req !== undefined) {
|
|
14233
|
+
obj.permission_user_req = ListPermissionOfUsersRequest.toJSON(message.permission_user_req);
|
|
14234
|
+
}
|
|
14235
|
+
if (message.role_list !== undefined) {
|
|
14236
|
+
obj.role_list = RoleList.toJSON(message.role_list);
|
|
14237
|
+
}
|
|
14238
|
+
if (message.role_list_event_req !== undefined) {
|
|
14239
|
+
obj.role_list_event_req = RoleListEventRequest.toJSON(message.role_list_event_req);
|
|
14240
|
+
}
|
|
14241
|
+
if (message.role_event_list !== undefined) {
|
|
14242
|
+
obj.role_event_list = RoleListEventResponse.toJSON(message.role_event_list);
|
|
14243
|
+
}
|
|
14244
|
+
if (message.user_permission_req !== undefined) {
|
|
14245
|
+
obj.user_permission_req = UserPermissionInChannelListRequest.toJSON(message.user_permission_req);
|
|
14246
|
+
}
|
|
14247
|
+
if (message.user_permission_list !== undefined) {
|
|
14248
|
+
obj.user_permission_list = UserPermissionInChannelListResponse.toJSON(message.user_permission_list);
|
|
14249
|
+
}
|
|
14250
|
+
if (message.permission_role_req !== undefined) {
|
|
14251
|
+
obj.permission_role_req = PermissionRoleChannelListEventRequest.toJSON(message.permission_role_req);
|
|
14252
|
+
}
|
|
14253
|
+
if (message.permission_role_list !== undefined) {
|
|
14254
|
+
obj.permission_role_list = PermissionRoleChannelListEventResponse.toJSON(message.permission_role_list);
|
|
14255
|
+
}
|
|
14256
|
+
if (message.emoji_list !== undefined) {
|
|
14257
|
+
obj.emoji_list = EmojiListedResponse.toJSON(message.emoji_list);
|
|
14258
|
+
}
|
|
14259
|
+
return obj;
|
|
14260
|
+
},
|
|
14261
|
+
|
|
14262
|
+
create<I extends Exact<DeepPartial<ListDataSocket>, I>>(base?: I): ListDataSocket {
|
|
14263
|
+
return ListDataSocket.fromPartial(base ?? ({} as any));
|
|
14264
|
+
},
|
|
14265
|
+
fromPartial<I extends Exact<DeepPartial<ListDataSocket>, I>>(object: I): ListDataSocket {
|
|
14266
|
+
const message = createBaseListDataSocket();
|
|
14267
|
+
message.api_name = object.api_name ?? "";
|
|
14268
|
+
message.list_clan_req = (object.list_clan_req !== undefined && object.list_clan_req !== null)
|
|
14269
|
+
? ListClanDescRequest.fromPartial(object.list_clan_req)
|
|
14270
|
+
: undefined;
|
|
14271
|
+
message.clan_desc_list = (object.clan_desc_list !== undefined && object.clan_desc_list !== null)
|
|
14272
|
+
? ClanDescList.fromPartial(object.clan_desc_list)
|
|
14273
|
+
: undefined;
|
|
14274
|
+
message.list_thread_req = (object.list_thread_req !== undefined && object.list_thread_req !== null)
|
|
14275
|
+
? ListThreadRequest.fromPartial(object.list_thread_req)
|
|
14276
|
+
: undefined;
|
|
14277
|
+
message.channel_desc_list = (object.channel_desc_list !== undefined && object.channel_desc_list !== null)
|
|
14278
|
+
? ChannelDescList.fromPartial(object.channel_desc_list)
|
|
14279
|
+
: undefined;
|
|
14280
|
+
message.list_channel_users_uc_req =
|
|
14281
|
+
(object.list_channel_users_uc_req !== undefined && object.list_channel_users_uc_req !== null)
|
|
14282
|
+
? AllUsersAddChannelRequest.fromPartial(object.list_channel_users_uc_req)
|
|
14283
|
+
: undefined;
|
|
14284
|
+
message.channel_users_uc_list =
|
|
14285
|
+
(object.channel_users_uc_list !== undefined && object.channel_users_uc_list !== null)
|
|
14286
|
+
? AllUsersAddChannelResponse.fromPartial(object.channel_users_uc_list)
|
|
14287
|
+
: undefined;
|
|
14288
|
+
message.list_channel_detail_req =
|
|
14289
|
+
(object.list_channel_detail_req !== undefined && object.list_channel_detail_req !== null)
|
|
14290
|
+
? ListChannelDetailRequest.fromPartial(object.list_channel_detail_req)
|
|
14291
|
+
: undefined;
|
|
14292
|
+
message.channel_desc = (object.channel_desc !== undefined && object.channel_desc !== null)
|
|
14293
|
+
? ChannelDescription1.fromPartial(object.channel_desc)
|
|
14294
|
+
: undefined;
|
|
14295
|
+
message.list_channel_req = (object.list_channel_req !== undefined && object.list_channel_req !== null)
|
|
14296
|
+
? ListChannelDescsRequest.fromPartial(object.list_channel_req)
|
|
14297
|
+
: undefined;
|
|
14298
|
+
message.list_channel_message_req =
|
|
14299
|
+
(object.list_channel_message_req !== undefined && object.list_channel_message_req !== null)
|
|
14300
|
+
? ListChannelMessagesRequest.fromPartial(object.list_channel_message_req)
|
|
14301
|
+
: undefined;
|
|
14302
|
+
message.channel_message_list = (object.channel_message_list !== undefined && object.channel_message_list !== null)
|
|
14303
|
+
? ChannelMessageList.fromPartial(object.channel_message_list)
|
|
14304
|
+
: undefined;
|
|
14305
|
+
message.list_channel_users_req =
|
|
14306
|
+
(object.list_channel_users_req !== undefined && object.list_channel_users_req !== null)
|
|
14307
|
+
? ListChannelUsersRequest.fromPartial(object.list_channel_users_req)
|
|
14308
|
+
: undefined;
|
|
14309
|
+
message.voice_user_list = (object.voice_user_list !== undefined && object.voice_user_list !== null)
|
|
14310
|
+
? VoiceChannelUserList.fromPartial(object.voice_user_list)
|
|
14311
|
+
: undefined;
|
|
14312
|
+
message.channel_user_list = (object.channel_user_list !== undefined && object.channel_user_list !== null)
|
|
14313
|
+
? ChannelUserList.fromPartial(object.channel_user_list)
|
|
14314
|
+
: undefined;
|
|
14315
|
+
message.list_channel_attachment_req =
|
|
14316
|
+
(object.list_channel_attachment_req !== undefined && object.list_channel_attachment_req !== null)
|
|
14317
|
+
? ListChannelAttachmentRequest.fromPartial(object.list_channel_attachment_req)
|
|
14318
|
+
: undefined;
|
|
14319
|
+
message.channel_attachment_list =
|
|
14320
|
+
(object.channel_attachment_list !== undefined && object.channel_attachment_list !== null)
|
|
14321
|
+
? ChannelAttachmentList.fromPartial(object.channel_attachment_list)
|
|
14322
|
+
: undefined;
|
|
14323
|
+
message.hashtag_dm_req = (object.hashtag_dm_req !== undefined && object.hashtag_dm_req !== null)
|
|
14324
|
+
? HashtagDmListRequest.fromPartial(object.hashtag_dm_req)
|
|
14325
|
+
: undefined;
|
|
14326
|
+
message.hashtag_dm_list = (object.hashtag_dm_list !== undefined && object.hashtag_dm_list !== null)
|
|
14327
|
+
? HashtagDmList.fromPartial(object.hashtag_dm_list)
|
|
14328
|
+
: undefined;
|
|
14329
|
+
message.channel_setting_req = (object.channel_setting_req !== undefined && object.channel_setting_req !== null)
|
|
14330
|
+
? ChannelSettingListRequest.fromPartial(object.channel_setting_req)
|
|
14331
|
+
: undefined;
|
|
14332
|
+
message.channel_setting_list = (object.channel_setting_list !== undefined && object.channel_setting_list !== null)
|
|
14333
|
+
? ChannelSettingListResponse.fromPartial(object.channel_setting_list)
|
|
14334
|
+
: undefined;
|
|
14335
|
+
message.favorite_channel_req = (object.favorite_channel_req !== undefined && object.favorite_channel_req !== null)
|
|
14336
|
+
? ListFavoriteChannelRequest.fromPartial(object.favorite_channel_req)
|
|
14337
|
+
: undefined;
|
|
14338
|
+
message.favorite_channel_list =
|
|
14339
|
+
(object.favorite_channel_list !== undefined && object.favorite_channel_list !== null)
|
|
14340
|
+
? ListFavoriteChannelResponse.fromPartial(object.favorite_channel_list)
|
|
14341
|
+
: undefined;
|
|
14342
|
+
message.search_thread_req = (object.search_thread_req !== undefined && object.search_thread_req !== null)
|
|
14343
|
+
? SearchThreadRequest.fromPartial(object.search_thread_req)
|
|
14344
|
+
: undefined;
|
|
14345
|
+
message.notification_channel = (object.notification_channel !== undefined && object.notification_channel !== null)
|
|
14346
|
+
? NotificationChannel.fromPartial(object.notification_channel)
|
|
14347
|
+
: undefined;
|
|
14348
|
+
message.notificaion_user_channel =
|
|
14349
|
+
(object.notificaion_user_channel !== undefined && object.notificaion_user_channel !== null)
|
|
14350
|
+
? NotificationUserChannel.fromPartial(object.notificaion_user_channel)
|
|
14351
|
+
: undefined;
|
|
14352
|
+
message.notification_category =
|
|
14353
|
+
(object.notification_category !== undefined && object.notification_category !== null)
|
|
14354
|
+
? DefaultNotificationCategory.fromPartial(object.notification_category)
|
|
14355
|
+
: undefined;
|
|
14356
|
+
message.notification_clan = (object.notification_clan !== undefined && object.notification_clan !== null)
|
|
14357
|
+
? NotificationClan.fromPartial(object.notification_clan)
|
|
14358
|
+
: undefined;
|
|
14359
|
+
message.notification_setting = (object.notification_setting !== undefined && object.notification_setting !== null)
|
|
14360
|
+
? NotificationSetting.fromPartial(object.notification_setting)
|
|
14361
|
+
: undefined;
|
|
14362
|
+
message.notification_message = (object.notification_message !== undefined && object.notification_message !== null)
|
|
14363
|
+
? NotifiReactMessage.fromPartial(object.notification_message)
|
|
14364
|
+
: undefined;
|
|
14365
|
+
message.noti_channel_cat_setting_list =
|
|
14366
|
+
(object.noti_channel_cat_setting_list !== undefined && object.noti_channel_cat_setting_list !== null)
|
|
14367
|
+
? NotificationChannelCategorySettingList.fromPartial(object.noti_channel_cat_setting_list)
|
|
14368
|
+
: undefined;
|
|
14369
|
+
message.list_notification_req =
|
|
14370
|
+
(object.list_notification_req !== undefined && object.list_notification_req !== null)
|
|
14371
|
+
? ListNotificationsRequest.fromPartial(object.list_notification_req)
|
|
14372
|
+
: undefined;
|
|
14373
|
+
message.notification_list = (object.notification_list !== undefined && object.notification_list !== null)
|
|
14374
|
+
? NotificationList.fromPartial(object.notification_list)
|
|
14375
|
+
: undefined;
|
|
14376
|
+
message.sticker_list = (object.sticker_list !== undefined && object.sticker_list !== null)
|
|
14377
|
+
? StickerListedResponse.fromPartial(object.sticker_list)
|
|
14378
|
+
: undefined;
|
|
14379
|
+
message.emoji_recent_list = (object.emoji_recent_list !== undefined && object.emoji_recent_list !== null)
|
|
14380
|
+
? EmojiRecentList.fromPartial(object.emoji_recent_list)
|
|
14381
|
+
: undefined;
|
|
14382
|
+
message.clan_webhook_req = (object.clan_webhook_req !== undefined && object.clan_webhook_req !== null)
|
|
14383
|
+
? ListClanWebhookRequest.fromPartial(object.clan_webhook_req)
|
|
14384
|
+
: undefined;
|
|
14385
|
+
message.clan_webhook_list = (object.clan_webhook_list !== undefined && object.clan_webhook_list !== null)
|
|
14386
|
+
? ListClanWebhookResponse.fromPartial(object.clan_webhook_list)
|
|
14387
|
+
: undefined;
|
|
14388
|
+
message.webhook_list_req = (object.webhook_list_req !== undefined && object.webhook_list_req !== null)
|
|
14389
|
+
? WebhookListRequest.fromPartial(object.webhook_list_req)
|
|
14390
|
+
: undefined;
|
|
14391
|
+
message.webhook_list = (object.webhook_list !== undefined && object.webhook_list !== null)
|
|
14392
|
+
? WebhookListResponse.fromPartial(object.webhook_list)
|
|
14393
|
+
: undefined;
|
|
14394
|
+
message.permission_list_req = (object.permission_list_req !== undefined && object.permission_list_req !== null)
|
|
14395
|
+
? ListPermissionsRequest.fromPartial(object.permission_list_req)
|
|
14396
|
+
: undefined;
|
|
14397
|
+
message.permission_list = (object.permission_list !== undefined && object.permission_list !== null)
|
|
14398
|
+
? PermissionList.fromPartial(object.permission_list)
|
|
14399
|
+
: undefined;
|
|
14400
|
+
message.role_user_req = (object.role_user_req !== undefined && object.role_user_req !== null)
|
|
14401
|
+
? ListRoleUsersRequest.fromPartial(object.role_user_req)
|
|
14402
|
+
: undefined;
|
|
14403
|
+
message.role_user_list = (object.role_user_list !== undefined && object.role_user_list !== null)
|
|
14404
|
+
? RoleUserList.fromPartial(object.role_user_list)
|
|
14405
|
+
: undefined;
|
|
14406
|
+
message.permission_user_req = (object.permission_user_req !== undefined && object.permission_user_req !== null)
|
|
14407
|
+
? ListPermissionOfUsersRequest.fromPartial(object.permission_user_req)
|
|
14408
|
+
: undefined;
|
|
14409
|
+
message.role_list = (object.role_list !== undefined && object.role_list !== null)
|
|
14410
|
+
? RoleList.fromPartial(object.role_list)
|
|
14411
|
+
: undefined;
|
|
14412
|
+
message.role_list_event_req = (object.role_list_event_req !== undefined && object.role_list_event_req !== null)
|
|
14413
|
+
? RoleListEventRequest.fromPartial(object.role_list_event_req)
|
|
14414
|
+
: undefined;
|
|
14415
|
+
message.role_event_list = (object.role_event_list !== undefined && object.role_event_list !== null)
|
|
14416
|
+
? RoleListEventResponse.fromPartial(object.role_event_list)
|
|
14417
|
+
: undefined;
|
|
14418
|
+
message.user_permission_req = (object.user_permission_req !== undefined && object.user_permission_req !== null)
|
|
14419
|
+
? UserPermissionInChannelListRequest.fromPartial(object.user_permission_req)
|
|
14420
|
+
: undefined;
|
|
14421
|
+
message.user_permission_list = (object.user_permission_list !== undefined && object.user_permission_list !== null)
|
|
14422
|
+
? UserPermissionInChannelListResponse.fromPartial(object.user_permission_list)
|
|
14423
|
+
: undefined;
|
|
14424
|
+
message.permission_role_req = (object.permission_role_req !== undefined && object.permission_role_req !== null)
|
|
14425
|
+
? PermissionRoleChannelListEventRequest.fromPartial(object.permission_role_req)
|
|
14426
|
+
: undefined;
|
|
14427
|
+
message.permission_role_list = (object.permission_role_list !== undefined && object.permission_role_list !== null)
|
|
14428
|
+
? PermissionRoleChannelListEventResponse.fromPartial(object.permission_role_list)
|
|
14429
|
+
: undefined;
|
|
14430
|
+
message.emoji_list = (object.emoji_list !== undefined && object.emoji_list !== null)
|
|
14431
|
+
? EmojiListedResponse.fromPartial(object.emoji_list)
|
|
14432
|
+
: undefined;
|
|
14433
|
+
return message;
|
|
14434
|
+
},
|
|
14435
|
+
};
|
|
14436
|
+
|
|
13238
14437
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
13239
14438
|
|
|
13240
14439
|
export type DeepPartial<T> = T extends Builtin ? T
|