UNPKG

@line/bot-sdk

Version:
49 lines 1.51 kB
/** * LINE Messaging API * This document describes LINE Messaging API. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Action } from "./action.js"; import { FlexSpan } from "./flexSpan.js"; import { FlexComponentBase } from "./models.js"; export type FlexText = FlexComponentBase & { type: "text"; flex?: number; text?: string; size?: string; align?: FlexText.AlignEnum; gravity?: FlexText.GravityEnum; color?: string; weight?: FlexText.WeightEnum; style?: FlexText.StyleEnum; decoration?: FlexText.DecorationEnum; wrap?: boolean; lineSpacing?: string; margin?: string; position?: FlexText.PositionEnum; offsetTop?: string; offsetBottom?: string; offsetStart?: string; offsetEnd?: string; action?: Action; maxLines?: number; contents?: Array<FlexSpan>; adjustMode?: FlexText.AdjustModeEnum; scaling?: boolean; }; export declare namespace FlexText { type AlignEnum = "start" | "end" | "center"; type GravityEnum = "top" | "bottom" | "center"; type WeightEnum = "regular" | "bold"; type StyleEnum = "normal" | "italic"; type DecorationEnum = "none" | "underline" | "line-through"; type PositionEnum = "relative" | "absolute"; type AdjustModeEnum = "shrink-to-fit"; } //# sourceMappingURL=flexText.d.ts.map