Skip to content

@line/bot-sdk


@line/bot-sdk / RichMenu

Type Alias: RichMenu

RichMenu = object

Defined in: lib/types.ts:2339

Rich menus consist of either of these objects.

Area objects and action objects are included in these objects.

Properties

areas

areas: object[]

Defined in: lib/types.ts:2368

Array of area objects which define the coordinates and size of tappable areas (Max: 20 area objects)

action

action: Action<{ label: string; }>

bounds

bounds: Area


chatBarText

chatBarText: string

Defined in: lib/types.ts:2362

Text displayed in the chat bar (Max: 14 characters)


name

name: string

Defined in: lib/types.ts:2358

Name of the rich menu.

This value can be used to help manage your rich menus and is not displayed to users.

(Max: 300 characters)


selected

selected: boolean

Defined in: lib/types.ts:2349

true to display the rich menu by default. Otherwise, false.


size

size: Size

Defined in: lib/types.ts:2345

size object which contains the width and height of the rich menu displayed in the chat. Rich menu images must be one of the following sizes: 2500x1686px or 2500x843px.