Skip to content

@line/bot-sdkDocs


@line/bot-sdk / FlexBubble

Type Alias: FlexBubble

FlexBubble: object

This is a container that contains one message bubble. It can contain four blocks: header, hero, body, and footer.

For more information about using each block, see Block.

Type declaration

action?

optional action: Action

body?

optional body: FlexBox

direction?

optional direction: "ltr" | "rtl"

Text directionality and the order of components in horizontal boxes in the container. Specify one of the following values:

  • ltr: Left to right
  • rtl: Right to left

The default value is ltr.

optional footer: FlexBox

optional header: FlexBox

hero?

optional hero: FlexBox | FlexImage | FlexVideo

size?

optional size: "nano" | "micro" | "kilo" | "mega" | "giga"

styles?

optional styles: FlexBubbleStyle

type

type: "bubble"

Defined in

lib/types.ts:988