1 | /**
|
2 | * Webhook Type Definition
|
3 | * Webhook event definition of the LINE Messaging API
|
4 | *
|
5 | * The version of the OpenAPI document: 1.0.0
|
6 | *
|
7 | *
|
8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9 | * https://openapi-generator.tech
|
10 | * Do not edit the class manually.
|
11 | */
|
12 | import { MessageContentBase } from "./models.js";
|
13 | export type StickerMessageContent = MessageContentBase & {
|
14 | type: "sticker";
|
15 | /**
|
16 | * Package ID
|
17 | *
|
18 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">packageId Documentation</a>
|
19 | */
|
20 | packageId: string;
|
21 | /**
|
22 | * Sticker ID
|
23 | *
|
24 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">stickerId Documentation</a>
|
25 | */
|
26 | stickerId: string;
|
27 | /**
|
28 | *
|
29 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">stickerResourceType Documentation</a>
|
30 | */
|
31 | stickerResourceType: StickerMessageContent.StickerResourceTypeEnum;
|
32 | /**
|
33 | * Array of up to 15 keywords describing the sticker. If a sticker has 16 or more keywords, a random selection of 15 keywords will be returned. The keyword selection is random for each event, so different keywords may be returned for the same sticker.
|
34 | *
|
35 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">keywords Documentation</a>
|
36 | */
|
37 | keywords?: Array<string>;
|
38 | /**
|
39 | * Any text entered by the user. This property is only included for message stickers. Max character limit: 100
|
40 | *
|
41 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">text Documentation</a>
|
42 | */
|
43 | text?: string;
|
44 | /**
|
45 | * Quote token to quote this message.
|
46 | *
|
47 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">quoteToken Documentation</a>
|
48 | */
|
49 | quoteToken: string;
|
50 | /**
|
51 | * Message ID of a quoted message. Only included when the received message quotes a past message.
|
52 | *
|
53 | * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">quotedMessageId Documentation</a>
|
54 | */
|
55 | quotedMessageId?: string;
|
56 | };
|
57 | export declare namespace StickerMessageContent {
|
58 | type StickerResourceTypeEnum = "STATIC" | "ANIMATION" | "SOUND" | "ANIMATION_SOUND" | "POPUP" | "POPUP_SOUND" | "CUSTOM" | "MESSAGE" | "NAME_TEXT" | "PER_STICKER_TEXT";
|
59 | }
|
60 | //# sourceMappingURL=stickerMessageContent.d.ts.map |
\ | No newline at end of file |