Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions messaging-api.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line-openapi/messaging-api.yml

Lines 2877 to 2887 in 8025f6c

errorCode:
type: integer
format: int64
description: |+
Error summary. This is only included with a phase property value of failed.
One of:
`1`: An internal error occurred.
`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.
must be updated

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -2885,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
Expand Down