From eda50b097f51e9928b2648896efdd3e42e6dc731 Mon Sep 17 00:00:00 2001 From: habara keigo Date: Wed, 22 Oct 2025 10:15:37 +0900 Subject: [PATCH 1/2] Add forbidPartialDelivery --- messaging-api.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/messaging-api.yml b/messaging-api.yml index 6a191ac..dffdf43 100644 --- a/messaging-api.yml +++ b/messaging-api.yml @@ -2837,6 +2837,15 @@ components: 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. + forbidPartialDelivery: + type: boolean + default: false + description: |+ + 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. NarrowcastProgressResponse: externalDocs: url: https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status From 5636b11976bd3e3b34fc621aa2fb40c8d79e07ed Mon Sep 17 00:00:00 2001 From: habara keigo Date: Thu, 23 Oct 2025 14:15:52 +0900 Subject: [PATCH 2/2] Add narrowcast progress status error code 5 --- messaging-api.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/messaging-api.yml b/messaging-api.yml index dffdf43..628b2f2 100644 --- a/messaging-api.yml +++ b/messaging-api.yml @@ -2894,6 +2894,7 @@ components: `2`: An error occurred because there weren't enough recipients. `3`: A conflict error of requests occurs because a request that has already been accepted is retried. `4`: An audience of less than 50 recipients is included as a condition of sending. + `5`: Message delivery has been canceled to prevent messages from being delivered only to a subset of the target audience. acceptedTime: type: string format: date-time