1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | import { QuickReply } from "./quickReply.js";
|
13 | import { Sender } from "./sender.js";
|
14 | import { AudioMessage } from "./models.js";
|
15 | import { FlexMessage } from "./models.js";
|
16 | import { ImageMessage } from "./models.js";
|
17 | import { ImagemapMessage } from "./models.js";
|
18 | import { LocationMessage } from "./models.js";
|
19 | import { StickerMessage } from "./models.js";
|
20 | import { TemplateMessage } from "./models.js";
|
21 | import { TextMessage } from "./models.js";
|
22 | import { TextMessageV2 } from "./models.js";
|
23 | import { VideoMessage } from "./models.js";
|
24 | export type Message = AudioMessage | FlexMessage | ImageMessage | ImagemapMessage | LocationMessage | StickerMessage | TemplateMessage | TextMessage | TextMessageV2 | VideoMessage;
|
25 | export type MessageBase = {
|
26 | |
27 |
|
28 |
|
29 |
|
30 |
|
31 | type: string;
|
32 | |
33 |
|
34 |
|
35 |
|
36 | quickReply?: QuickReply;
|
37 | |
38 |
|
39 |
|
40 |
|
41 | sender?: Sender;
|
42 | };
|
43 |
|
\ | No newline at end of file |