Skip to content

@line/bot-sdkDocs


@line/bot-sdk / RichMenu

Type Alias: RichMenu

RichMenu: object

Rich menus consist of either of these objects.

Area objects and action objects are included in these objects.

Type declaration

areas

areas: object[]

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

chatBarText

chatBarText: string

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

name

name: string

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

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

size

size: Size

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.

Defined in

lib/types.ts:2339