Skip to content

Commit f4a0ce7

Browse files
github-actions[bot]github-actions
andauthored
Add required: true for setRichMenuImage to fix sdk parameters (#1876)
line/line-openapi#123 Currently `setRichMenuImage`'s body is optional, but to set richmenu image, image data itself is required of course. This change fixes it. Co-authored-by: github-actions <github-actions@github.com>
1 parent bc9e930 commit f4a0ce7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

clients/line-bot-messaging-api-client/src/main/java/com/linecorp/bot/messaging/client/MessagingApiBlobClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CompletableFuture<Result<BlobContent>> getMessageContentPreview(
8585
* Upload rich menu image
8686
*
8787
* @param richMenuId The ID of the rich menu to attach the image to (required)
88-
* @param body (optional)
88+
* @param body (required)
8989
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">
9090
* Documentation</a>
9191
*/

line-openapi

0 commit comments

Comments
 (0)