Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / PnpMessagesRequest

Type Alias: PnpMessagesRequest

PnpMessagesRequest: object

Type declaration

messages

messages: Message[]

Message to be sent.

See

messages Documentation

notificationDisabled?

optional notificationDisabled: boolean

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.

See

notificationDisabled Documentation

to

to: string

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

See

to Documentation

Defined in

lib/messaging-api/model/pnpMessagesRequest.ts:15