Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion line-openapi
Submodule line-openapi updated 1 files
+10 −0 messaging-api.yml
5 changes: 5 additions & 0 deletions linebot/messaging_api/model_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ type Limit struct {
* 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.
*/
UpToRemainingQuota bool `json:"upToRemainingQuota"`

/**
* 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.
*/
ForbidPartialDelivery bool `json:"forbidPartialDelivery"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type NarrowcastProgressResponse struct {
FailedDescription string `json:"failedDescription,omitempty"`

/**
* 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.
* 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. `5`: Message delivery has been canceled to prevent messages from being delivered only to a subset of the target audience.
*/
ErrorCode int64 `json:"errorCode"`

Expand Down