Skip to content

@line/bot-sdk


@line/bot-sdk / messagingApi / Limit

Type Alias: Limit

Limit = object

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

Limit of the Narrowcast

Properties

forbidPartialDelivery?

optional forbidPartialDelivery: boolean

Defined in: lib/messaging-api/model/limit.ts:34

This option prevents messages from being delivered to only a subset of the target audience. If true, the narrowcast request success but fails asynchronously. You can check whether message delivery was canceled by retrieving the narrowcast message progress. This property can be set to true only if upToRemainingQuota is set to true.

See

forbidPartialDelivery Documentation


max?

optional max: number

Defined in: lib/messaging-api/model/limit.ts:22

The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random.

See

max Documentation


upToRemainingQuota?

optional upToRemainingQuota: boolean

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

If true, the message will be sent within the maximum number of deliverable messages. The default value is false. Targets will be selected at random.

See

upToRemainingQuota Documentation