Skip to content

@line/bot-sdk


@line/bot-sdk / RichMenuSwitchAction

Type Alias: RichMenuSwitchAction

RichMenuSwitchAction = object

Defined in: lib/types.ts:2306

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

Properties

data

data: string

Defined in: lib/types.ts:2321

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


label?

optional label: string

Defined in: lib/types.ts:2312

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

Defined in: lib/types.ts:2316

Rich menu alias ID to switch to.


type

type: "richmenuswitch"

Defined in: lib/types.ts:2307