Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / FlexText

Type Alias: FlexText

FlexText: FlexComponentBase & object

Type declaration

action?

optional action: Action

adjustMode?

optional adjustMode: AdjustModeEnum

align?

optional align: AlignEnum

color?

optional color: string

contents?

optional contents: FlexSpan[]

decoration?

optional decoration: DecorationEnum

flex?

optional flex: number

gravity?

optional gravity: GravityEnum

lineSpacing?

optional lineSpacing: string

margin?

optional margin: string

maxLines?

optional maxLines: number

offsetBottom?

optional offsetBottom: string

offsetEnd?

optional offsetEnd: string

offsetStart?

optional offsetStart: string

offsetTop?

optional offsetTop: string

position?

optional position: PositionEnum

scaling?

optional scaling: boolean

size?

optional size: string

style?

optional style: StyleEnum

text?

optional text: string

type

type: "text"

weight?

optional weight: WeightEnum

wrap?

optional wrap: boolean

Defined in

lib/messaging-api/model/flexText.ts:19