@vinzsocket/baileys 3.2.5 → 3.2.6
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/README.md +2 -319
- package/lib/Socket/dugong.d.ts +57 -336
- package/lib/Socket/dugong.js +155 -463
- package/lib/Socket/messages-send.js +8 -0
- package/lib/Utils/messages.js +12 -18
- package/package.json +3 -3
package/lib/Socket/dugong.d.ts
CHANGED
|
@@ -1,354 +1,75 @@
|
|
|
1
1
|
import type { proto } from '../../WAProto/index.js';
|
|
2
2
|
|
|
3
|
-
export type WAMediaUploadFunction = (stream: Buffer | NodeJS.ReadableStream, options?: {
|
|
4
|
-
fileEncSha256?: Buffer;
|
|
5
|
-
mediaType?: string;
|
|
6
|
-
newsletter?: boolean;
|
|
7
|
-
}) => Promise<{
|
|
8
|
-
url: string;
|
|
9
|
-
directPath: string;
|
|
10
|
-
}>;
|
|
11
|
-
|
|
12
|
-
export interface WAMessageContentGenerationOptions {
|
|
13
|
-
upload?: WAMediaUploadFunction;
|
|
14
|
-
mediaCache?: any;
|
|
15
|
-
options?: any;
|
|
16
|
-
logger?: any;
|
|
17
|
-
}
|
|
3
|
+
export type WAMediaUploadFunction = (stream: Buffer | NodeJS.ReadableStream, options?: any) => Promise<{ url: string; directPath: string }>;
|
|
18
4
|
|
|
19
5
|
export interface ExtendedMessageUtils {
|
|
20
|
-
prepareWAMessageMedia
|
|
21
|
-
generateWAMessageContent
|
|
22
|
-
generateWAMessageFromContent
|
|
23
|
-
generateWAMessage
|
|
24
|
-
generateMessageID
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// ───
|
|
28
|
-
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
title: string;
|
|
49
|
-
notes: string;
|
|
50
|
-
startTime: number;
|
|
51
|
-
endTime: number;
|
|
52
|
-
timezone?: string;
|
|
53
|
-
}
|
|
54
|
-
export interface NFButtonCancelReminderOptions {
|
|
55
|
-
id?: string;
|
|
56
|
-
displayText: string;
|
|
57
|
-
reminderKey: string;
|
|
58
|
-
}
|
|
59
|
-
export interface NFButtonAddressOptions {
|
|
60
|
-
id?: string;
|
|
61
|
-
displayText: string;
|
|
62
|
-
label?: string;
|
|
63
|
-
}
|
|
64
|
-
export interface NFButtonLocationOptions {
|
|
65
|
-
id?: string;
|
|
66
|
-
displayText: string;
|
|
67
|
-
}
|
|
68
|
-
export interface NFButtonQuickReplyOptions {
|
|
69
|
-
id?: string;
|
|
70
|
-
displayText: string;
|
|
71
|
-
payload?: string;
|
|
72
|
-
}
|
|
73
|
-
export interface NFButtonSingleSelectRow {
|
|
74
|
-
id: string;
|
|
75
|
-
title: string;
|
|
76
|
-
description?: string;
|
|
77
|
-
}
|
|
78
|
-
export interface NFButtonSingleSelectSection {
|
|
79
|
-
title?: string;
|
|
80
|
-
highlight_label?: string;
|
|
81
|
-
rows: NFButtonSingleSelectRow[];
|
|
82
|
-
}
|
|
83
|
-
export interface NFButtonSingleSelectOptions {
|
|
84
|
-
id?: string;
|
|
85
|
-
displayText: string;
|
|
86
|
-
sections: NFButtonSingleSelectSection[];
|
|
87
|
-
}
|
|
88
|
-
export interface NFButtonReviewPayOptions {
|
|
89
|
-
id?: string;
|
|
90
|
-
currency?: string;
|
|
91
|
-
totalAmount1000: number;
|
|
92
|
-
subtotal?: any;
|
|
93
|
-
tax?: any;
|
|
94
|
-
items?: any[];
|
|
95
|
-
merchant?: any;
|
|
96
|
-
}
|
|
97
|
-
export interface NFButtonReviewOrderOptions {
|
|
98
|
-
id?: string;
|
|
99
|
-
referenceId: string;
|
|
100
|
-
type?: string;
|
|
101
|
-
orderId: string;
|
|
102
|
-
}
|
|
103
|
-
export interface NFButtonMPMSection {
|
|
104
|
-
title?: string;
|
|
105
|
-
productItems: Array<{ productId: string } | { product_id: string }>;
|
|
106
|
-
}
|
|
107
|
-
export interface NFButtonMPMOptions {
|
|
108
|
-
id?: string;
|
|
109
|
-
sections: NFButtonMPMSection[];
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** Buka URL */
|
|
113
|
-
export declare function nfButtonUrl(opts: NFButtonUrlOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
114
|
-
/** Telepon */
|
|
115
|
-
export declare function nfButtonCall(opts: NFButtonCallOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
116
|
-
/** Salin teks/kode */
|
|
117
|
-
export declare function nfButtonCopy(opts: NFButtonCopyOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
118
|
-
/** Set reminder */
|
|
119
|
-
export declare function nfButtonReminder(opts: NFButtonReminderOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
120
|
-
/** Batalkan reminder */
|
|
121
|
-
export declare function nfButtonCancelReminder(opts: NFButtonCancelReminderOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
122
|
-
/** Isi alamat */
|
|
123
|
-
export declare function nfButtonAddress(opts: NFButtonAddressOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
124
|
-
/** Kirim lokasi */
|
|
125
|
-
export declare function nfButtonLocation(opts: NFButtonLocationOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
126
|
-
/** Quick reply dengan payload */
|
|
127
|
-
export declare function nfButtonQuickReply(opts: NFButtonQuickReplyOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
128
|
-
/** Dropdown single-select (bottom sheet) */
|
|
129
|
-
export declare function nfButtonSingleSelect(opts: NFButtonSingleSelectOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
130
|
-
/** Review & bayar */
|
|
131
|
-
export declare function nfButtonReviewPay(opts: NFButtonReviewPayOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
132
|
-
/** Review order */
|
|
133
|
-
export declare function nfButtonReviewOrder(opts: NFButtonReviewOrderOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
134
|
-
/** Multi-Product Message (katalog) */
|
|
135
|
-
export declare function nfButtonMPM(opts: NFButtonMPMOptions): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
6
|
+
prepareWAMessageMedia(media: any, options: any): Promise<any>;
|
|
7
|
+
generateWAMessageContent(content: any, options: any): Promise<any>;
|
|
8
|
+
generateWAMessageFromContent(jid: string, content: any, options?: any): any;
|
|
9
|
+
generateWAMessage(jid: string, content: any, options?: any): Promise<any>;
|
|
10
|
+
generateMessageID(): string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// ─── NF V7 Button Builders ────────────────────────────────────────────────────
|
|
14
|
+
export declare function nfButtonUrl(opts: { id?: string; displayText: string; url: string; merchantUrl?: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
15
|
+
export declare function nfButtonCall(opts: { id?: string; displayText: string; phoneNumber: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
16
|
+
export declare function nfButtonCopy(opts: { id?: string; displayText: string; copyCode: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
17
|
+
export declare function nfButtonReminder(opts: { id?: string; displayText: string; title: string; notes: string; startTime: number; endTime: number; timezone?: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
18
|
+
export declare function nfButtonCancelReminder(opts: { id?: string; displayText: string; reminderKey: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
19
|
+
export declare function nfButtonAddress(opts: { id?: string; displayText: string; label?: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
20
|
+
export declare function nfButtonLocation(opts: { id?: string; displayText: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
21
|
+
export declare function nfButtonQuickReply(opts: { id?: string; displayText: string; payload?: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
22
|
+
|
|
23
|
+
export interface SelectRow { id?: string; rowId?: string; title: string; description?: string; }
|
|
24
|
+
export interface SelectSection { title?: string; highlight_label?: string; rows: SelectRow[]; }
|
|
25
|
+
export declare function nfButtonSingleSelect(opts: { id?: string; displayText: string; sections: SelectSection[] }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
26
|
+
|
|
27
|
+
export interface MultiSelectSelector { id?: string; displayText: string; sections: SelectSection[]; }
|
|
28
|
+
/** Build array of single_select buttons — satu per selector */
|
|
29
|
+
export declare function nfButtonMultiSelect(selectors: MultiSelectSelector[]): proto.Message.InteractiveMessage.INativeFlowButton[];
|
|
30
|
+
|
|
31
|
+
export declare function nfButtonReviewPay(opts: { id?: string; currency?: string; totalAmount1000: number; subtotal?: any; tax?: any; items?: any[]; merchant?: any }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
32
|
+
export declare function nfButtonReviewOrder(opts: { id?: string; referenceId: string; type?: string; orderId: string }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
33
|
+
export declare function nfButtonMPM(opts: { id?: string; sections: Array<{ title?: string; productItems: Array<{ productId?: string; product_id?: string }> }> }): proto.Message.InteractiveMessage.INativeFlowButton;
|
|
136
34
|
|
|
137
35
|
// ─── Nested List ──────────────────────────────────────────────────────────────
|
|
36
|
+
export interface NestedListRow { rowId?: string; id?: string; title: string; description?: string; rows?: NestedListRow[]; }
|
|
37
|
+
export interface NestedListSection { title?: string; rows: NestedListRow[]; }
|
|
38
|
+
export interface NestedListMessageOptions { title: string; buttonText: string; footer?: string; sections: NestedListSection[]; }
|
|
39
|
+
export declare function buildNestedListMessage(opts: NestedListMessageOptions): { listMessage: proto.Message.IListMessage };
|
|
138
40
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
id?: string;
|
|
142
|
-
title: string;
|
|
143
|
-
description?: string;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export interface NestedListRow {
|
|
147
|
-
title: string;
|
|
148
|
-
rows: FlatListRow[];
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export type ListRow = FlatListRow | NestedListRow;
|
|
152
|
-
|
|
153
|
-
export interface ListSection {
|
|
154
|
-
title?: string;
|
|
155
|
-
rows: ListRow[];
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export interface NestedListMessageOptions {
|
|
41
|
+
// ─── Multi-Select ─────────────────────────────────────────────────────────────
|
|
42
|
+
export interface MultiSelectMessageContent {
|
|
159
43
|
title: string;
|
|
160
|
-
buttonText: string;
|
|
161
44
|
footer?: string;
|
|
162
|
-
sections: ListSection[];
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Build raw `listMessage` proto payload dengan dukungan nested section.
|
|
167
|
-
* Rows yang punya sub-rows di-flatten jadi section tersendiri.
|
|
168
|
-
*/
|
|
169
|
-
export declare function buildNestedListMessage(opts: NestedListMessageOptions): {
|
|
170
|
-
listMessage: proto.Message.IListMessage;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
// ─── Message Interfaces ───────────────────────────────────────────────────────
|
|
174
|
-
|
|
175
|
-
export interface StickerMessage {
|
|
176
|
-
url: string;
|
|
177
|
-
fileSha256: Buffer | string;
|
|
178
|
-
fileEncSha256: Buffer | string;
|
|
179
|
-
mediaKey: Buffer | string;
|
|
180
|
-
mimetype: string;
|
|
181
|
-
directPath: string;
|
|
182
|
-
fileLength: number | string;
|
|
183
|
-
mediaKeyTimestamp: number | string;
|
|
184
|
-
isAnimated?: boolean;
|
|
185
|
-
stickerSentTs?: number | string;
|
|
186
|
-
isAvatar?: boolean;
|
|
187
|
-
isAiSticker?: boolean;
|
|
188
|
-
isLottie?: boolean;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export interface PaymentMessage {
|
|
192
|
-
amount: number;
|
|
193
|
-
currency?: string;
|
|
194
|
-
from?: string;
|
|
195
|
-
expiry?: number;
|
|
196
|
-
sticker?: { stickerMessage: StickerMessage };
|
|
197
|
-
note?: string;
|
|
198
|
-
background?: {
|
|
199
|
-
id?: string;
|
|
200
|
-
fileLength?: string;
|
|
201
|
-
width?: number;
|
|
202
|
-
height?: number;
|
|
203
|
-
mimetype?: string;
|
|
204
|
-
placeholderArgb?: number;
|
|
205
|
-
textArgb?: number;
|
|
206
|
-
subtextArgb?: number;
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export interface ProductMessage {
|
|
211
|
-
title: string;
|
|
212
|
-
description: string;
|
|
213
|
-
thumbnail: Buffer | { url: string };
|
|
214
|
-
productId: string;
|
|
215
|
-
retailerId: string;
|
|
216
|
-
url: string;
|
|
217
|
-
body?: string;
|
|
218
|
-
footer?: string;
|
|
219
|
-
buttons?: proto.Message.InteractiveMessage.INativeFlowButton[];
|
|
220
|
-
priceAmount1000?: number | null;
|
|
221
|
-
currencyCode?: string;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export interface ExternalAdReply {
|
|
225
|
-
title?: string;
|
|
226
|
-
body?: string;
|
|
227
|
-
mediaType?: number;
|
|
228
|
-
thumbnailUrl?: string;
|
|
229
|
-
mediaUrl?: string;
|
|
230
|
-
sourceUrl?: string;
|
|
231
|
-
showAdAttribution?: boolean;
|
|
232
|
-
renderLargerThumbnail?: boolean;
|
|
233
|
-
[key: string]: any;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export interface InteractiveMessage {
|
|
237
45
|
header?: string;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
thumbnail?:
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
jpegThumbnail?: string | Buffer | { url: string };
|
|
247
|
-
contextInfo?: {
|
|
248
|
-
mentionedJid?: string[];
|
|
249
|
-
forwardingScore?: number;
|
|
250
|
-
isForwarded?: boolean;
|
|
251
|
-
externalAdReply?: ExternalAdReply;
|
|
252
|
-
[key: string]: any;
|
|
253
|
-
};
|
|
254
|
-
externalAdReply?: ExternalAdReply;
|
|
255
|
-
buttons?: proto.Message.InteractiveMessage.INativeFlowButton[];
|
|
256
|
-
nativeFlowMessage?: {
|
|
257
|
-
messageParamsJson?: string;
|
|
258
|
-
buttons?: proto.Message.InteractiveMessage.INativeFlowButton[];
|
|
259
|
-
[key: string]: any;
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export interface AlbumItem {
|
|
264
|
-
image?: string | Buffer | { url: string; caption?: string };
|
|
265
|
-
video?: string | Buffer | { url: string; caption?: string };
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
export interface EventMessageLocation {
|
|
269
|
-
degreesLatitude: number;
|
|
270
|
-
degreesLongitude: number;
|
|
271
|
-
name: string;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
export interface EventMessage {
|
|
275
|
-
isCanceled?: boolean;
|
|
276
|
-
name: string;
|
|
277
|
-
description: string;
|
|
278
|
-
location?: EventMessageLocation;
|
|
279
|
-
joinLink?: string;
|
|
280
|
-
startTime?: string | number;
|
|
281
|
-
endTime?: string | number;
|
|
282
|
-
extraGuestsAllowed?: boolean;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export interface PollVote {
|
|
286
|
-
optionName: string;
|
|
287
|
-
optionVoteCount: string | number;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export interface PollResultMessage {
|
|
291
|
-
name: string;
|
|
292
|
-
pollVotes: PollVote[];
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export interface GroupStatusMessage {
|
|
296
|
-
message?: any;
|
|
297
|
-
image?: string | Buffer | { url: string };
|
|
298
|
-
video?: string | Buffer | { url: string };
|
|
299
|
-
text?: string;
|
|
300
|
-
caption?: string;
|
|
301
|
-
document?: string | Buffer | { url: string };
|
|
302
|
-
[key: string]: any;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export interface ExtendedMessageContent {
|
|
306
|
-
requestPaymentMessage?: PaymentMessage;
|
|
307
|
-
productMessage?: ProductMessage;
|
|
308
|
-
interactiveMessage?: InteractiveMessage;
|
|
309
|
-
albumMessage?: AlbumItem[];
|
|
310
|
-
eventMessage?: EventMessage;
|
|
311
|
-
pollResultMessage?: PollResultMessage;
|
|
312
|
-
groupStatusMessage?: GroupStatusMessage;
|
|
313
|
-
nestedListMessage?: NestedListMessageOptions;
|
|
314
|
-
sender?: string;
|
|
46
|
+
image?: any;
|
|
47
|
+
video?: any;
|
|
48
|
+
thumbnail?: any;
|
|
49
|
+
/** Tiap selector = 1 tombol dropdown terpisah */
|
|
50
|
+
selectors: MultiSelectSelector[];
|
|
51
|
+
/** Tombol tambahan (quick_reply, url, dll) di samping selector */
|
|
52
|
+
extraButtons?: proto.Message.InteractiveMessage.INativeFlowButton[];
|
|
53
|
+
contextInfo?: Record<string, any>;
|
|
315
54
|
}
|
|
316
55
|
|
|
317
56
|
export type ExtendedMessageType =
|
|
318
|
-
| 'PAYMENT'
|
|
319
|
-
| '
|
|
320
|
-
| '
|
|
321
|
-
| 'ALBUM'
|
|
322
|
-
| 'EVENT'
|
|
323
|
-
| 'POLL_RESULT'
|
|
324
|
-
| 'GROUP_STORY'
|
|
325
|
-
| 'NESTED_LIST';
|
|
57
|
+
| 'PAYMENT' | 'PRODUCT' | 'INTERACTIVE'
|
|
58
|
+
| 'ALBUM' | 'EVENT' | 'POLL_RESULT'
|
|
59
|
+
| 'GROUP_STORY' | 'NESTED_LIST' | 'MULTI_SELECT';
|
|
326
60
|
|
|
327
61
|
export declare class ExtendedMessageBuilder {
|
|
328
|
-
utils: ExtendedMessageUtils;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
waUploadToServer: WAMediaUploadFunction,
|
|
340
|
-
relayMessageFn: (jid: string, content: any, options?: any) => Promise<any>
|
|
341
|
-
);
|
|
342
|
-
|
|
343
|
-
detectType(content: ExtendedMessageContent): ExtendedMessageType | null;
|
|
344
|
-
handlePayment(content: { requestPaymentMessage: PaymentMessage }, quoted?: proto.IWebMessageInfo | null): Promise<{ requestPaymentMessage: proto.Message.RequestPaymentMessage }>;
|
|
345
|
-
handleProduct(content: { productMessage: ProductMessage }, jid: string, quoted?: proto.IWebMessageInfo | null): Promise<{ viewOnceMessage: { message: { interactiveMessage: any } } }>;
|
|
346
|
-
handleInteractive(content: { interactiveMessage: InteractiveMessage }, jid: string, quoted?: proto.IWebMessageInfo | null, options?: { mentions?: string[] }): Promise<{ interactiveMessage: any }>;
|
|
347
|
-
handleNestedList(content: { nestedListMessage: NestedListMessageOptions }, jid: string, quoted?: proto.IWebMessageInfo | null): Promise<any>;
|
|
348
|
-
handleAlbum(content: { albumMessage: AlbumItem[] }, jid: string, quoted?: proto.IWebMessageInfo | null): Promise<any>;
|
|
349
|
-
handleEvent(content: { eventMessage: EventMessage }, jid: string, quoted?: proto.IWebMessageInfo | null): Promise<any>;
|
|
350
|
-
handlePollResult(content: { pollResultMessage: PollResultMessage }, jid: string, quoted?: proto.IWebMessageInfo | null): Promise<any>;
|
|
351
|
-
handleGroupStory(content: { groupStatusMessage: GroupStatusMessage }, jid: string, quoted?: proto.IWebMessageInfo | null): Promise<any>;
|
|
62
|
+
constructor(utils: ExtendedMessageUtils, waUploadToServer: WAMediaUploadFunction, relayMessageFn: (jid: string, content: any, options?: any) => Promise<any>);
|
|
63
|
+
detectType(content: any): ExtendedMessageType | null;
|
|
64
|
+
handlePayment(content: any, quoted?: any): Promise<any>;
|
|
65
|
+
handleProduct(content: any, jid: string, quoted?: any): Promise<any>;
|
|
66
|
+
handleInteractive(content: any, jid: string, quoted?: any, options?: any): Promise<any>;
|
|
67
|
+
handleMultiSelect(content: any, jid: string, quoted?: any, options?: any): Promise<any>;
|
|
68
|
+
handleNestedList(content: any, jid: string, quoted?: any): Promise<any>;
|
|
69
|
+
handleAlbum(content: any, jid: string, quoted?: any): Promise<any>;
|
|
70
|
+
handleEvent(content: any, jid: string, quoted?: any): Promise<any>;
|
|
71
|
+
handlePollResult(content: any, jid: string, quoted?: any): Promise<any>;
|
|
72
|
+
handleGroupStory(content: any, jid: string, quoted?: any): Promise<any>;
|
|
352
73
|
}
|
|
353
74
|
|
|
354
75
|
export default ExtendedMessageBuilder;
|