Skip to content

@line/bot-sdkDocs


@line/bot-sdk / RichMenuSwitchAction

Type Alias: RichMenuSwitchAction

RichMenuSwitchAction: object

When a control associated with this action is tapped, the URI specified in the uri property is opened.

Type declaration

data

data: string

String returned by the postback.data property of the postback event via a webhook Max character limit: 300

label?

optional label: string

Action label. Optional for rich menus. Read when the user's device accessibility feature is enabled. Max character limit: 20. Supported on LINE for iOS 8.2.0 or later.

richMenuAliasId

richMenuAliasId: string

Rich menu alias ID to switch to.

type

type: "richmenuswitch"

Defined in

lib/types.ts:2306