Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / PushMessageRequest

Type Alias: PushMessageRequest

PushMessageRequest: object

Type declaration

customAggregationUnits?

optional customAggregationUnits: string[]

List of aggregation unit name. Case-sensitive. This functions can only be used by corporate users who have submitted the required applications.

See

customAggregationUnits Documentation

messages

messages: Message[]

List of Message objects.

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

ID of the receiver.

See

to Documentation

Defined in

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