Skip to content

@line/bot-sdk


@line/bot-sdk / messagingApi / PnpMessagesRequest

Type Alias: PnpMessagesRequest

PnpMessagesRequest = object

Defined in: lib/messaging-api/model/pnpMessagesRequest.ts:18

See

https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message

Properties

messages

messages: Message[]

Defined in: lib/messaging-api/model/pnpMessagesRequest.ts:24

Message to be sent.

Min Items

1

Max Items

5


notificationDisabled?

optional notificationDisabled?: boolean

Defined in: lib/messaging-api/model/pnpMessagesRequest.ts:33

true: The user doesn’t receive a push notification when a message is sent. false: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.

Default

ts
false

to

to: string

Defined in: lib/messaging-api/model/pnpMessagesRequest.ts:28

Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256.