Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / FlexButton

Type Alias: FlexButton

FlexButton: FlexComponentBase & object

Type declaration

action

action: Action

adjustMode?

optional adjustMode: AdjustModeEnum

color?

optional color: string

flex?

optional flex: number

gravity?

optional gravity: GravityEnum

height?

optional height: HeightEnum

margin?

optional margin: string

offsetBottom?

optional offsetBottom: string

offsetEnd?

optional offsetEnd: string

offsetStart?

optional offsetStart: string

offsetTop?

optional offsetTop: string

position?

optional position: PositionEnum

scaling?

optional scaling: boolean

style?

optional style: StyleEnum

type

type: "button"

Defined in

lib/messaging-api/model/flexButton.ts:18