Skip to content

@line/bot-sdk


@line/bot-sdk / messagingApi / PnpTemplatedButton

Type Alias: PnpTemplatedButton ​

PnpTemplatedButton = object

Defined in: lib/messaging-api/model/pnpTemplatedButton.ts:16

See ​

https://developers.line.biz/en/reference/line-notification-messages/#send-line-notification-message-template-buttons

Properties ​

buttonKey ​

buttonKey: string

Defined in: lib/messaging-api/model/pnpTemplatedButton.ts:20

Specify the key of the button you want to include. For available keys, see https://developers.line.biz/en/docs/partner-docs/line-notification-messages/template/#buttons


url ​

url: string

Defined in: lib/messaging-api/model/pnpTemplatedButton.ts:25

URL of the page to be opened when the user presses the button. Maximum length: 1000