UNPKG

@line/bot-sdk

Version:
53 lines 1.88 kB
/** * Webhook Type Definition * Webhook event definition of the LINE Messaging API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { MessageContentBase } from "./models.js"; /** * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-sticker">https://developers.line.biz/en/reference/messaging-api/#wh-sticker</a> */ export type StickerMessageContent = MessageContentBase & { type: "sticker"; /** * Package ID */ packageId: string; /** * Sticker ID */ stickerId: string; stickerResourceType: StickerMessageContent.StickerResourceTypeEnum; /** * 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. * @maxItems 15 */ keywords?: Array<string>; /** * Any text entered by the user. This property is only included for message stickers. Max character limit: 100 * @maxLength 100 */ text?: string; /** * Quote token to quote this message. */ quoteToken: string; /** * Message ID of a quoted message. Only included when the received message quotes a past message. */ quotedMessageId?: string; /** * Token used to mark the message as read. */ markAsReadToken?: string; }; export declare namespace StickerMessageContent { type StickerResourceTypeEnum = "STATIC" | "ANIMATION" | "SOUND" | "ANIMATION_SOUND" | "POPUP" | "POPUP_SOUND" | "CUSTOM" | "MESSAGE" | "NAME_TEXT" | "PER_STICKER_TEXT"; } //# sourceMappingURL=stickerMessageContent.d.ts.map