@wildix/stream-client 4.1.3 → 4.1.5
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/dist-cjs/models/enums.js +10 -1
- package/dist-cjs/schemas/schemas_0.js +23 -18
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +23 -18
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +9 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +5 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelCommand.d.ts +5 -0
- package/dist-types/commands/GetInboxCommand.d.ts +5 -0
- package/dist-types/commands/GetMessageCommand.d.ts +2 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +5 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +5 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +5 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +5 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +5 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +5 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +3 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +2 -0
- package/dist-types/commands/PinMessageCommand.d.ts +2 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +5 -0
- package/dist-types/commands/SearchChannelsCommand.d.ts +5 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +2 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
- package/dist-types/commands/SendMessageCommand.d.ts +2 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +2 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +9 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +338 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, SearchSort, SectionType } from "./enums";
|
|
1
|
+
import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessengerStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessengerStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, SearchSort, SectionType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -158,6 +158,10 @@ export interface AddChannelMemberInput {
|
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
160
|
userId?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
161
165
|
channelId: string;
|
|
162
166
|
silent?: boolean | undefined;
|
|
163
167
|
memberId?: string | undefined;
|
|
@@ -205,6 +209,10 @@ export interface AddChannelMembersInput {
|
|
|
205
209
|
* @public
|
|
206
210
|
*/
|
|
207
211
|
userId?: string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
208
216
|
channelId: string;
|
|
209
217
|
silent?: boolean | undefined;
|
|
210
218
|
members?: string[] | undefined;
|
|
@@ -304,6 +312,10 @@ export interface AssignChannelInput {
|
|
|
304
312
|
* @public
|
|
305
313
|
*/
|
|
306
314
|
userId?: string | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
307
319
|
channelId: string;
|
|
308
320
|
silent?: boolean | undefined;
|
|
309
321
|
service?: AssignChannelServiceRequest | undefined;
|
|
@@ -396,6 +408,10 @@ export interface LastMessagePreview {
|
|
|
396
408
|
* @public
|
|
397
409
|
*/
|
|
398
410
|
export interface Channel {
|
|
411
|
+
/**
|
|
412
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
399
415
|
channelId: string;
|
|
400
416
|
/**
|
|
401
417
|
* Type of channel.
|
|
@@ -452,6 +468,11 @@ export interface Channel {
|
|
|
452
468
|
* @public
|
|
453
469
|
*/
|
|
454
470
|
pinnedMessageIds?: string[] | undefined;
|
|
471
|
+
/**
|
|
472
|
+
* Direct channels only: the other member's user id, relative to the caller. Absent for group channels and for direct channels that do not have exactly two members.
|
|
473
|
+
* @public
|
|
474
|
+
*/
|
|
475
|
+
peerId?: string | undefined;
|
|
455
476
|
/**
|
|
456
477
|
* The subject of the channel.
|
|
457
478
|
* @public
|
|
@@ -529,6 +550,26 @@ export interface Channel {
|
|
|
529
550
|
* @public
|
|
530
551
|
*/
|
|
531
552
|
wizyGuestViewOnly?: boolean | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
messenger?: boolean | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
messengerPageId?: string | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
messengerReplyUntil?: number | undefined;
|
|
532
573
|
}
|
|
533
574
|
/**
|
|
534
575
|
* Read pointer for one channel member.
|
|
@@ -645,6 +686,26 @@ export interface CreateGroupChannelInput {
|
|
|
645
686
|
* @public
|
|
646
687
|
*/
|
|
647
688
|
wizyGuestViewOnly?: boolean | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
messenger?: boolean | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
696
|
+
* @public
|
|
697
|
+
*/
|
|
698
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
699
|
+
/**
|
|
700
|
+
* The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
|
|
701
|
+
* @public
|
|
702
|
+
*/
|
|
703
|
+
messengerPageId?: string | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
messengerReplyUntil?: number | undefined;
|
|
648
709
|
/**
|
|
649
710
|
* Optional client-supplied channel id.
|
|
650
711
|
* @public
|
|
@@ -760,6 +821,10 @@ export declare namespace Element {
|
|
|
760
821
|
* @public
|
|
761
822
|
*/
|
|
762
823
|
export interface MessageForwardRef {
|
|
824
|
+
/**
|
|
825
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
763
828
|
channelId: string;
|
|
764
829
|
messageId: string;
|
|
765
830
|
}
|
|
@@ -768,6 +833,10 @@ export interface MessageForwardRef {
|
|
|
768
833
|
* @public
|
|
769
834
|
*/
|
|
770
835
|
export interface MessageQuoteRef {
|
|
836
|
+
/**
|
|
837
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
771
840
|
channelId: string;
|
|
772
841
|
messageId: string;
|
|
773
842
|
}
|
|
@@ -912,6 +981,10 @@ export interface CreateKiteChannelInput {
|
|
|
912
981
|
* @public
|
|
913
982
|
*/
|
|
914
983
|
userId?: string | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
915
988
|
channelId?: string | undefined;
|
|
916
989
|
/**
|
|
917
990
|
* Kite widget id or agent email.
|
|
@@ -1023,6 +1096,10 @@ export interface DeleteChannelInput {
|
|
|
1023
1096
|
* @public
|
|
1024
1097
|
*/
|
|
1025
1098
|
userId?: string | undefined;
|
|
1099
|
+
/**
|
|
1100
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1101
|
+
* @public
|
|
1102
|
+
*/
|
|
1026
1103
|
channelId: string;
|
|
1027
1104
|
}
|
|
1028
1105
|
/**
|
|
@@ -1039,6 +1116,10 @@ export interface DeleteChannelMemberInput {
|
|
|
1039
1116
|
* @public
|
|
1040
1117
|
*/
|
|
1041
1118
|
userId?: string | undefined;
|
|
1119
|
+
/**
|
|
1120
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1121
|
+
* @public
|
|
1122
|
+
*/
|
|
1042
1123
|
channelId: string;
|
|
1043
1124
|
memberId: string;
|
|
1044
1125
|
silent?: boolean | undefined;
|
|
@@ -1062,6 +1143,10 @@ export interface DeleteMessageInput {
|
|
|
1062
1143
|
* @public
|
|
1063
1144
|
*/
|
|
1064
1145
|
userId?: string | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1065
1150
|
channelId: string;
|
|
1066
1151
|
messageId: string;
|
|
1067
1152
|
}
|
|
@@ -1084,6 +1169,10 @@ export interface DeleteMessageReactionInput {
|
|
|
1084
1169
|
* @public
|
|
1085
1170
|
*/
|
|
1086
1171
|
userId?: string | undefined;
|
|
1172
|
+
/**
|
|
1173
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1174
|
+
* @public
|
|
1175
|
+
*/
|
|
1087
1176
|
channelId: string;
|
|
1088
1177
|
messageId: string;
|
|
1089
1178
|
/**
|
|
@@ -1197,6 +1286,10 @@ export interface Reaction {
|
|
|
1197
1286
|
* @public
|
|
1198
1287
|
*/
|
|
1199
1288
|
export interface MessageQuote {
|
|
1289
|
+
/**
|
|
1290
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1291
|
+
* @public
|
|
1292
|
+
*/
|
|
1200
1293
|
channelId: string;
|
|
1201
1294
|
messageId: string;
|
|
1202
1295
|
/**
|
|
@@ -1339,6 +1432,12 @@ export interface Message {
|
|
|
1339
1432
|
* @public
|
|
1340
1433
|
*/
|
|
1341
1434
|
pollId?: string | undefined;
|
|
1435
|
+
messenger?: boolean | undefined;
|
|
1436
|
+
/**
|
|
1437
|
+
* The delivery state of a Facebook Messenger message an agent sent, the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the MESSENGER.STATUS stream event. A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
|
|
1438
|
+
* @public
|
|
1439
|
+
*/
|
|
1440
|
+
messengerStatus?: MessageMessengerStatus | undefined;
|
|
1342
1441
|
}
|
|
1343
1442
|
/**
|
|
1344
1443
|
* @public
|
|
@@ -1389,6 +1488,10 @@ export interface GetChannelInput {
|
|
|
1389
1488
|
* @public
|
|
1390
1489
|
*/
|
|
1391
1490
|
userId?: string | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1392
1495
|
channelId: string;
|
|
1393
1496
|
}
|
|
1394
1497
|
/**
|
|
@@ -1411,6 +1514,10 @@ export interface GetChannelMemberInput {
|
|
|
1411
1514
|
* @public
|
|
1412
1515
|
*/
|
|
1413
1516
|
userId?: string | undefined;
|
|
1517
|
+
/**
|
|
1518
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1414
1521
|
channelId: string;
|
|
1415
1522
|
memberId: string;
|
|
1416
1523
|
}
|
|
@@ -1449,6 +1556,10 @@ export interface GetDirectChannelIdInput {
|
|
|
1449
1556
|
* @public
|
|
1450
1557
|
*/
|
|
1451
1558
|
export interface GetDirectChannelIdOutput {
|
|
1559
|
+
/**
|
|
1560
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1561
|
+
* @public
|
|
1562
|
+
*/
|
|
1452
1563
|
channelId: string;
|
|
1453
1564
|
}
|
|
1454
1565
|
/**
|
|
@@ -1465,6 +1576,10 @@ export interface GetFilePresignedDownloadUrlInput {
|
|
|
1465
1576
|
* @public
|
|
1466
1577
|
*/
|
|
1467
1578
|
userId?: string | undefined;
|
|
1579
|
+
/**
|
|
1580
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1468
1583
|
channelId: string;
|
|
1469
1584
|
messageId: string;
|
|
1470
1585
|
/**
|
|
@@ -1579,6 +1694,10 @@ export interface InboxState {
|
|
|
1579
1694
|
* @public
|
|
1580
1695
|
*/
|
|
1581
1696
|
export interface InboxChannel {
|
|
1697
|
+
/**
|
|
1698
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1699
|
+
* @public
|
|
1700
|
+
*/
|
|
1582
1701
|
channelId: string;
|
|
1583
1702
|
/**
|
|
1584
1703
|
* Type of channel.
|
|
@@ -1635,6 +1754,11 @@ export interface InboxChannel {
|
|
|
1635
1754
|
* @public
|
|
1636
1755
|
*/
|
|
1637
1756
|
pinnedMessageIds?: string[] | undefined;
|
|
1757
|
+
/**
|
|
1758
|
+
* Direct channels only: the other member's user id, relative to the caller. Absent for group channels and for direct channels that do not have exactly two members.
|
|
1759
|
+
* @public
|
|
1760
|
+
*/
|
|
1761
|
+
peerId?: string | undefined;
|
|
1638
1762
|
/**
|
|
1639
1763
|
* The subject of the channel.
|
|
1640
1764
|
* @public
|
|
@@ -1712,6 +1836,26 @@ export interface InboxChannel {
|
|
|
1712
1836
|
* @public
|
|
1713
1837
|
*/
|
|
1714
1838
|
wizyGuestViewOnly?: boolean | undefined;
|
|
1839
|
+
/**
|
|
1840
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
1841
|
+
* @public
|
|
1842
|
+
*/
|
|
1843
|
+
messenger?: boolean | undefined;
|
|
1844
|
+
/**
|
|
1845
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1848
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
1849
|
+
/**
|
|
1850
|
+
* The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
|
|
1851
|
+
* @public
|
|
1852
|
+
*/
|
|
1853
|
+
messengerPageId?: string | undefined;
|
|
1854
|
+
/**
|
|
1855
|
+
* Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
|
|
1856
|
+
* @public
|
|
1857
|
+
*/
|
|
1858
|
+
messengerReplyUntil?: number | undefined;
|
|
1715
1859
|
/**
|
|
1716
1860
|
* Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
|
|
1717
1861
|
* @public
|
|
@@ -1747,6 +1891,10 @@ export interface GetMessageInput {
|
|
|
1747
1891
|
* @public
|
|
1748
1892
|
*/
|
|
1749
1893
|
userId?: string | undefined;
|
|
1894
|
+
/**
|
|
1895
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
1896
|
+
* @public
|
|
1897
|
+
*/
|
|
1750
1898
|
channelId: string;
|
|
1751
1899
|
messageId: string;
|
|
1752
1900
|
}
|
|
@@ -1931,6 +2079,10 @@ export interface GetSmsChannelIdInput {
|
|
|
1931
2079
|
* @public
|
|
1932
2080
|
*/
|
|
1933
2081
|
export interface GetSmsChannelIdOutput {
|
|
2082
|
+
/**
|
|
2083
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2084
|
+
* @public
|
|
2085
|
+
*/
|
|
1934
2086
|
channelId: string;
|
|
1935
2087
|
}
|
|
1936
2088
|
/**
|
|
@@ -1967,6 +2119,10 @@ export interface GetTelephonyChannelIdInput {
|
|
|
1967
2119
|
* @public
|
|
1968
2120
|
*/
|
|
1969
2121
|
export interface GetTelephonyChannelIdOutput {
|
|
2122
|
+
/**
|
|
2123
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2124
|
+
* @public
|
|
2125
|
+
*/
|
|
1970
2126
|
channelId: string;
|
|
1971
2127
|
}
|
|
1972
2128
|
/**
|
|
@@ -2018,6 +2174,10 @@ export interface GetUploadedFileInfoInput {
|
|
|
2018
2174
|
* @public
|
|
2019
2175
|
*/
|
|
2020
2176
|
userId?: string | undefined;
|
|
2177
|
+
/**
|
|
2178
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2179
|
+
* @public
|
|
2180
|
+
*/
|
|
2021
2181
|
channelId: string;
|
|
2022
2182
|
/**
|
|
2023
2183
|
* File service identifier returned by `UploadFile`.
|
|
@@ -2115,6 +2275,10 @@ export interface GetWhatsAppChannelIdInput {
|
|
|
2115
2275
|
* @public
|
|
2116
2276
|
*/
|
|
2117
2277
|
export interface GetWhatsAppChannelIdOutput {
|
|
2278
|
+
/**
|
|
2279
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2280
|
+
* @public
|
|
2281
|
+
*/
|
|
2118
2282
|
channelId: string;
|
|
2119
2283
|
}
|
|
2120
2284
|
/**
|
|
@@ -2131,6 +2295,10 @@ export interface HardDeleteChannelInput {
|
|
|
2131
2295
|
* @public
|
|
2132
2296
|
*/
|
|
2133
2297
|
userId?: string | undefined;
|
|
2298
|
+
/**
|
|
2299
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2300
|
+
* @public
|
|
2301
|
+
*/
|
|
2134
2302
|
channelId: string;
|
|
2135
2303
|
}
|
|
2136
2304
|
/**
|
|
@@ -2147,6 +2315,10 @@ export interface HideChannelInput {
|
|
|
2147
2315
|
* @public
|
|
2148
2316
|
*/
|
|
2149
2317
|
userId?: string | undefined;
|
|
2318
|
+
/**
|
|
2319
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2320
|
+
* @public
|
|
2321
|
+
*/
|
|
2150
2322
|
channelId: string;
|
|
2151
2323
|
}
|
|
2152
2324
|
/**
|
|
@@ -2168,6 +2340,10 @@ export interface JoinChannelInput {
|
|
|
2168
2340
|
* @public
|
|
2169
2341
|
*/
|
|
2170
2342
|
userId?: string | undefined;
|
|
2343
|
+
/**
|
|
2344
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2345
|
+
* @public
|
|
2346
|
+
*/
|
|
2171
2347
|
channelId: string;
|
|
2172
2348
|
silent?: boolean | undefined;
|
|
2173
2349
|
}
|
|
@@ -2191,6 +2367,10 @@ export interface LeaveChannelInput {
|
|
|
2191
2367
|
* @public
|
|
2192
2368
|
*/
|
|
2193
2369
|
userId?: string | undefined;
|
|
2370
|
+
/**
|
|
2371
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2372
|
+
* @public
|
|
2373
|
+
*/
|
|
2194
2374
|
channelId: string;
|
|
2195
2375
|
silent?: boolean | undefined;
|
|
2196
2376
|
}
|
|
@@ -2213,6 +2393,10 @@ export interface ListChannelMembersInput {
|
|
|
2213
2393
|
* @public
|
|
2214
2394
|
*/
|
|
2215
2395
|
userId?: string | undefined;
|
|
2396
|
+
/**
|
|
2397
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2398
|
+
* @public
|
|
2399
|
+
*/
|
|
2216
2400
|
channelId: string;
|
|
2217
2401
|
limit?: number | undefined;
|
|
2218
2402
|
offset?: number | undefined;
|
|
@@ -2237,6 +2421,10 @@ export interface ListChannelMembersReadStatusInput {
|
|
|
2237
2421
|
* @public
|
|
2238
2422
|
*/
|
|
2239
2423
|
userId?: string | undefined;
|
|
2424
|
+
/**
|
|
2425
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2426
|
+
* @public
|
|
2427
|
+
*/
|
|
2240
2428
|
channelId: string;
|
|
2241
2429
|
}
|
|
2242
2430
|
/**
|
|
@@ -2320,6 +2508,10 @@ export interface ListMentionsInput {
|
|
|
2320
2508
|
* @public
|
|
2321
2509
|
*/
|
|
2322
2510
|
export interface MentionChannelPreview {
|
|
2511
|
+
/**
|
|
2512
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2513
|
+
* @public
|
|
2514
|
+
*/
|
|
2323
2515
|
channelId: string;
|
|
2324
2516
|
/**
|
|
2325
2517
|
* Type of channel.
|
|
@@ -2351,12 +2543,21 @@ export interface MentionChannelPreview {
|
|
|
2351
2543
|
* @public
|
|
2352
2544
|
*/
|
|
2353
2545
|
lastActivityAt: string;
|
|
2546
|
+
/**
|
|
2547
|
+
* Direct channels only: the other member's user id, relative to the caller. Absent for group channels and for direct channels that do not have exactly two members.
|
|
2548
|
+
* @public
|
|
2549
|
+
*/
|
|
2550
|
+
peerId?: string | undefined;
|
|
2354
2551
|
}
|
|
2355
2552
|
/**
|
|
2356
2553
|
* Mention entry. Identifies a message that mentioned the current user, with the user's read state and an embedded copy of the message and its channel.
|
|
2357
2554
|
* @public
|
|
2358
2555
|
*/
|
|
2359
2556
|
export interface MentionEntry {
|
|
2557
|
+
/**
|
|
2558
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2559
|
+
* @public
|
|
2560
|
+
*/
|
|
2360
2561
|
channelId: string;
|
|
2361
2562
|
messageId: string;
|
|
2362
2563
|
/**
|
|
@@ -2424,6 +2625,10 @@ export interface ListMessagesInput {
|
|
|
2424
2625
|
* @public
|
|
2425
2626
|
*/
|
|
2426
2627
|
userId?: string | undefined;
|
|
2628
|
+
/**
|
|
2629
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2630
|
+
* @public
|
|
2631
|
+
*/
|
|
2427
2632
|
channelId: string;
|
|
2428
2633
|
/**
|
|
2429
2634
|
* Optional inclusive lower bound on `timelineSeq`. Combine with `to` for a bounded window, or use alone to scroll forward from a known anchor.
|
|
@@ -2470,6 +2675,10 @@ export interface MarkReadInput {
|
|
|
2470
2675
|
* @public
|
|
2471
2676
|
*/
|
|
2472
2677
|
userId?: string | undefined;
|
|
2678
|
+
/**
|
|
2679
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2680
|
+
* @public
|
|
2681
|
+
*/
|
|
2473
2682
|
channelId: string;
|
|
2474
2683
|
/**
|
|
2475
2684
|
* Optional explicit read pointer. Defaults to the latest visible message.
|
|
@@ -2506,6 +2715,10 @@ export interface MarkUnreadInput {
|
|
|
2506
2715
|
* @public
|
|
2507
2716
|
*/
|
|
2508
2717
|
userId?: string | undefined;
|
|
2718
|
+
/**
|
|
2719
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2720
|
+
* @public
|
|
2721
|
+
*/
|
|
2509
2722
|
channelId: string;
|
|
2510
2723
|
/**
|
|
2511
2724
|
* Message id used to resolve the unread mark position.
|
|
@@ -2547,6 +2760,10 @@ export interface MoveChannelToSectionInput {
|
|
|
2547
2760
|
* @public
|
|
2548
2761
|
*/
|
|
2549
2762
|
userId?: string | undefined;
|
|
2763
|
+
/**
|
|
2764
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2765
|
+
* @public
|
|
2766
|
+
*/
|
|
2550
2767
|
channelId: string;
|
|
2551
2768
|
/**
|
|
2552
2769
|
* Identifier of an inbox section. System ids: `all`, `direct`, `group`, `external`, `mentions`. Custom ids are user-defined.
|
|
@@ -2585,6 +2802,10 @@ export interface MuteChannelInput {
|
|
|
2585
2802
|
* @public
|
|
2586
2803
|
*/
|
|
2587
2804
|
userId?: string | undefined;
|
|
2805
|
+
/**
|
|
2806
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2807
|
+
* @public
|
|
2808
|
+
*/
|
|
2588
2809
|
channelId: string;
|
|
2589
2810
|
/**
|
|
2590
2811
|
* Temporary mute expiry. Omit for indefinite mute.
|
|
@@ -2683,6 +2904,26 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2683
2904
|
* @public
|
|
2684
2905
|
*/
|
|
2685
2906
|
wizyGuestViewOnly?: boolean | undefined;
|
|
2907
|
+
/**
|
|
2908
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
2909
|
+
* @public
|
|
2910
|
+
*/
|
|
2911
|
+
messenger?: boolean | undefined;
|
|
2912
|
+
/**
|
|
2913
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
2914
|
+
* @public
|
|
2915
|
+
*/
|
|
2916
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
2917
|
+
/**
|
|
2918
|
+
* The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
|
|
2919
|
+
* @public
|
|
2920
|
+
*/
|
|
2921
|
+
messengerPageId?: string | undefined;
|
|
2922
|
+
/**
|
|
2923
|
+
* Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
|
|
2924
|
+
* @public
|
|
2925
|
+
*/
|
|
2926
|
+
messengerReplyUntil?: number | undefined;
|
|
2686
2927
|
}
|
|
2687
2928
|
/**
|
|
2688
2929
|
* @public
|
|
@@ -2698,6 +2939,10 @@ export interface PartialUpdateChannelInput {
|
|
|
2698
2939
|
* @public
|
|
2699
2940
|
*/
|
|
2700
2941
|
userId?: string | undefined;
|
|
2942
|
+
/**
|
|
2943
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
2944
|
+
* @public
|
|
2945
|
+
*/
|
|
2701
2946
|
channelId: string;
|
|
2702
2947
|
silent?: boolean | undefined;
|
|
2703
2948
|
set?: PartialUpdateChannelSetOptions | undefined;
|
|
@@ -2775,6 +3020,10 @@ export interface PartialUpdateMessageInput {
|
|
|
2775
3020
|
* @public
|
|
2776
3021
|
*/
|
|
2777
3022
|
userId?: string | undefined;
|
|
3023
|
+
/**
|
|
3024
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3025
|
+
* @public
|
|
3026
|
+
*/
|
|
2778
3027
|
channelId: string;
|
|
2779
3028
|
messageId: string;
|
|
2780
3029
|
/**
|
|
@@ -2817,6 +3066,10 @@ export interface PinChannelInput {
|
|
|
2817
3066
|
* @public
|
|
2818
3067
|
*/
|
|
2819
3068
|
userId?: string | undefined;
|
|
3069
|
+
/**
|
|
3070
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3071
|
+
* @public
|
|
3072
|
+
*/
|
|
2820
3073
|
channelId: string;
|
|
2821
3074
|
}
|
|
2822
3075
|
/**
|
|
@@ -2838,6 +3091,10 @@ export interface PinMessageInput {
|
|
|
2838
3091
|
* @public
|
|
2839
3092
|
*/
|
|
2840
3093
|
userId?: string | undefined;
|
|
3094
|
+
/**
|
|
3095
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3096
|
+
* @public
|
|
3097
|
+
*/
|
|
2841
3098
|
channelId: string;
|
|
2842
3099
|
messageId: string;
|
|
2843
3100
|
}
|
|
@@ -2891,6 +3148,10 @@ export interface RemoveChannelFromSectionInput {
|
|
|
2891
3148
|
* @public
|
|
2892
3149
|
*/
|
|
2893
3150
|
userId?: string | undefined;
|
|
3151
|
+
/**
|
|
3152
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3153
|
+
* @public
|
|
3154
|
+
*/
|
|
2894
3155
|
channelId: string;
|
|
2895
3156
|
/**
|
|
2896
3157
|
* Identifier of an inbox section. System ids: `all`, `direct`, `group`, `external`, `mentions`. Custom ids are user-defined.
|
|
@@ -3014,6 +3275,10 @@ export interface SearchChannelsOutput {
|
|
|
3014
3275
|
* @public
|
|
3015
3276
|
*/
|
|
3016
3277
|
export interface SearchMessageHit {
|
|
3278
|
+
/**
|
|
3279
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3280
|
+
* @public
|
|
3281
|
+
*/
|
|
3017
3282
|
channelId: string;
|
|
3018
3283
|
/**
|
|
3019
3284
|
* Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
|
|
@@ -3125,6 +3390,10 @@ export interface SendGiphyInput {
|
|
|
3125
3390
|
* @public
|
|
3126
3391
|
*/
|
|
3127
3392
|
userId?: string | undefined;
|
|
3393
|
+
/**
|
|
3394
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3395
|
+
* @public
|
|
3396
|
+
*/
|
|
3128
3397
|
channelId: string;
|
|
3129
3398
|
/**
|
|
3130
3399
|
* Optional client-supplied message id. Auto-generated when omitted.
|
|
@@ -3229,6 +3498,10 @@ export interface SendMessageInput {
|
|
|
3229
3498
|
* @public
|
|
3230
3499
|
*/
|
|
3231
3500
|
mentions?: string[] | undefined;
|
|
3501
|
+
/**
|
|
3502
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3503
|
+
* @public
|
|
3504
|
+
*/
|
|
3232
3505
|
channelId: string;
|
|
3233
3506
|
/**
|
|
3234
3507
|
* Rendering hint for the message.
|
|
@@ -3260,6 +3533,10 @@ export interface SendMessageReactionInput {
|
|
|
3260
3533
|
* @public
|
|
3261
3534
|
*/
|
|
3262
3535
|
userId?: string | undefined;
|
|
3536
|
+
/**
|
|
3537
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3538
|
+
* @public
|
|
3539
|
+
*/
|
|
3263
3540
|
channelId: string;
|
|
3264
3541
|
messageId: string;
|
|
3265
3542
|
/**
|
|
@@ -3343,6 +3620,10 @@ export interface SendSystemMessageInput {
|
|
|
3343
3620
|
* @public
|
|
3344
3621
|
*/
|
|
3345
3622
|
userId?: string | undefined;
|
|
3623
|
+
/**
|
|
3624
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3625
|
+
* @public
|
|
3626
|
+
*/
|
|
3346
3627
|
channelId: string;
|
|
3347
3628
|
/**
|
|
3348
3629
|
* Typed system message payload. Each variant maps to a server-generated message template.
|
|
@@ -3384,6 +3665,10 @@ export interface SendTypingStartInput {
|
|
|
3384
3665
|
* @public
|
|
3385
3666
|
*/
|
|
3386
3667
|
userId?: string | undefined;
|
|
3668
|
+
/**
|
|
3669
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3670
|
+
* @public
|
|
3671
|
+
*/
|
|
3387
3672
|
channelId: string;
|
|
3388
3673
|
}
|
|
3389
3674
|
/**
|
|
@@ -3405,6 +3690,10 @@ export interface SendTypingStopInput {
|
|
|
3405
3690
|
* @public
|
|
3406
3691
|
*/
|
|
3407
3692
|
userId?: string | undefined;
|
|
3693
|
+
/**
|
|
3694
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3695
|
+
* @public
|
|
3696
|
+
*/
|
|
3408
3697
|
channelId: string;
|
|
3409
3698
|
}
|
|
3410
3699
|
/**
|
|
@@ -3426,6 +3715,10 @@ export interface ShowChannelInput {
|
|
|
3426
3715
|
* @public
|
|
3427
3716
|
*/
|
|
3428
3717
|
userId?: string | undefined;
|
|
3718
|
+
/**
|
|
3719
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3720
|
+
* @public
|
|
3721
|
+
*/
|
|
3429
3722
|
channelId: string;
|
|
3430
3723
|
}
|
|
3431
3724
|
/**
|
|
@@ -3447,6 +3740,10 @@ export interface UnmuteChannelInput {
|
|
|
3447
3740
|
* @public
|
|
3448
3741
|
*/
|
|
3449
3742
|
userId?: string | undefined;
|
|
3743
|
+
/**
|
|
3744
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3745
|
+
* @public
|
|
3746
|
+
*/
|
|
3450
3747
|
channelId: string;
|
|
3451
3748
|
}
|
|
3452
3749
|
/**
|
|
@@ -3473,6 +3770,10 @@ export interface UnpinChannelInput {
|
|
|
3473
3770
|
* @public
|
|
3474
3771
|
*/
|
|
3475
3772
|
userId?: string | undefined;
|
|
3773
|
+
/**
|
|
3774
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3775
|
+
* @public
|
|
3776
|
+
*/
|
|
3476
3777
|
channelId: string;
|
|
3477
3778
|
}
|
|
3478
3779
|
/**
|
|
@@ -3494,6 +3795,10 @@ export interface UnpinMessageInput {
|
|
|
3494
3795
|
* @public
|
|
3495
3796
|
*/
|
|
3496
3797
|
userId?: string | undefined;
|
|
3798
|
+
/**
|
|
3799
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3800
|
+
* @public
|
|
3801
|
+
*/
|
|
3497
3802
|
channelId: string;
|
|
3498
3803
|
messageId: string;
|
|
3499
3804
|
}
|
|
@@ -3598,6 +3903,30 @@ export interface UpdateChannelInput {
|
|
|
3598
3903
|
* @public
|
|
3599
3904
|
*/
|
|
3600
3905
|
wizyGuestViewOnly?: boolean | undefined;
|
|
3906
|
+
/**
|
|
3907
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
3908
|
+
* @public
|
|
3909
|
+
*/
|
|
3910
|
+
messenger?: boolean | undefined;
|
|
3911
|
+
/**
|
|
3912
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
3913
|
+
* @public
|
|
3914
|
+
*/
|
|
3915
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
3916
|
+
/**
|
|
3917
|
+
* The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
|
|
3918
|
+
* @public
|
|
3919
|
+
*/
|
|
3920
|
+
messengerPageId?: string | undefined;
|
|
3921
|
+
/**
|
|
3922
|
+
* Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
|
|
3923
|
+
* @public
|
|
3924
|
+
*/
|
|
3925
|
+
messengerReplyUntil?: number | undefined;
|
|
3926
|
+
/**
|
|
3927
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
3928
|
+
* @public
|
|
3929
|
+
*/
|
|
3601
3930
|
channelId: string;
|
|
3602
3931
|
silent?: boolean | undefined;
|
|
3603
3932
|
}
|
|
@@ -3668,6 +3997,10 @@ export interface UpdateMessageInput {
|
|
|
3668
3997
|
*/
|
|
3669
3998
|
sms?: boolean | undefined;
|
|
3670
3999
|
smsStatus?: MessageSmsStatus | undefined;
|
|
4000
|
+
/**
|
|
4001
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
4002
|
+
* @public
|
|
4003
|
+
*/
|
|
3671
4004
|
channelId: string;
|
|
3672
4005
|
messageId: string;
|
|
3673
4006
|
/**
|
|
@@ -3716,6 +4049,10 @@ export interface UploadFileInput {
|
|
|
3716
4049
|
* @public
|
|
3717
4050
|
*/
|
|
3718
4051
|
userId?: string | undefined;
|
|
4052
|
+
/**
|
|
4053
|
+
* Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
|
|
4054
|
+
* @public
|
|
4055
|
+
*/
|
|
3719
4056
|
channelId: string;
|
|
3720
4057
|
/**
|
|
3721
4058
|
* Original file name. Unreadable characters are replaced with underscores.
|