Download Latest Version v9.13.0 Support mark as read by token API source code.tar.gz (3.8 MB)
Email in envelope

Get an email when there's a new version of LINE Messaging API SDK for Java

Home / v9.12.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-10-23 5.8 kB
v9.12.0 Add forbidPartialDelivery option to the Narrowcast Limit Object source code.tar.gz 2025-10-23 3.8 MB
v9.12.0 Add forbidPartialDelivery option to the Narrowcast Limit Object source code.zip 2025-10-23 4.5 MB
Totals: 3 Items   8.3 MB 0

What's Changed

Add forbidPartialDelivery option to the Narrowcast Limit Object

We add a new forbidPartialDelivery option to the Narrowcast Limit Object.

When set to true, this option prevents messages from being delivered to only a subset of the target audience. If partial delivery occurs, the narrowcast request will succeed but fail asynchronously. You can verify whether the message delivery was canceled by checking the narrowcast message progress.

This property can only be set to true when upToRemainingQuota is also true.

For more details, see the https://developers.line.biz/en/news/2025/10/21/narrowcast-message-update/.

Example:
:::java
messagingClient.narrowcast(
        /* xLineRetryKey */ null,
        new NarrowcastRequest.Builder(messageList)
                             .limit(new Limit.Builder()
                                             .max(1000)
                                             .upToRemainingQuota(true)
                                             .forbidPartialDelivery(true)
                                             .build())
                             .build()
);

(original PR is https://github.com/line/line-openapi/pull/114)

Use cases

Previously, when upToRemainingQuota was set to true, messages could be partially delivered if the remaining message quota was smaller than the target audience size.
With the new forbidPartialDelivery option, you can now ensure that such partial deliveries do not occur.

  • Ensuring that a campaign message is sent only if it can reach the full target audience, avoiding incomplete distributions.

line-openapi updates

Dependency updates

Other Changes

Full Changelog: https://github.com/line/line-bot-sdk-java/compare/v9.8.1...v9.12.0


This release is prepared by @habara-k

Source: README.md, updated 2025-10-23