Skip to content

Commit a57febc

Browse files
committed
NO-ISSUE a
1 parent 945412c commit a57febc

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

lib/line/bot/v2/line_bot_client.generated.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ def get_number_of_sent_reply_messages(
16971697
)
16981698
end
16991699

1700-
# Get number of sent LINE notification messages 
1700+
# Get number of sent LINE notification messages
17011701
# This requests to <code>GET https://api.line.me/v2/bot/message/delivery/pnp</code>
17021702
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
17031703
#
@@ -1713,7 +1713,7 @@ def get_pnp_message_statistics_with_http_info(
17131713
)
17141714
end
17151715

1716-
# Get number of sent LINE notification messages 
1716+
# Get number of sent LINE notification messages
17171717
# This requests to <code>GET https://api.line.me/v2/bot/message/delivery/pnp</code>
17181718
# When you want to get HTTP status code or response headers, use {#get_pnp_message_statistics_with_http_info} instead of this.
17191719
#
@@ -3182,13 +3182,13 @@ def get_rich_menu_image(
31823182
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
31833183
#
31843184
# @param rich_menu_id [String] The ID of the rich menu to attach the image to
3185-
# @param body [File, nil]
3185+
# @param body [File]
31863186
# @see https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
31873187
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
31883188
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
31893189
def set_rich_menu_image_with_http_info(
31903190
rich_menu_id:,
3191-
body: nil
3191+
body:
31923192
)
31933193
@messaging_api_blob.set_rich_menu_image_with_http_info(
31943194
rich_menu_id: rich_menu_id,
@@ -3201,13 +3201,13 @@ def set_rich_menu_image_with_http_info(
32013201
# When you want to get HTTP status code or response headers, use {#set_rich_menu_image_with_http_info} instead of this.
32023202
#
32033203
# @param rich_menu_id [String] The ID of the rich menu to attach the image to
3204-
# @param body [File, nil]
3204+
# @param body [File]
32053205
# @see https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
32063206
# @return [String, nil] when HTTP status code is 200
32073207
# @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
32083208
def set_rich_menu_image(
32093209
rich_menu_id:,
3210-
body: nil
3210+
body:
32113211
)
32123212
@messaging_api_blob.set_rich_menu_image(
32133213
rich_menu_id: rich_menu_id,

sig/line/bot/v2/line_bot_client.rbs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ module Line
14971497
date: String
14981498
) -> (Line::Bot::V2::MessagingApi::NumberOfMessagesResponse | String?)
14991499

1500-
# Get number of sent LINE notification messages 
1500+
# Get number of sent LINE notification messages
15011501
# This requests to <code>GET https://api.line.me/v2/bot/message/delivery/pnp</code>
15021502
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
15031503
#
@@ -1512,7 +1512,7 @@ module Line
15121512
| [String?, Integer, Hash[untyped, untyped]]
15131513
)
15141514

1515-
# Get number of sent LINE notification messages 
1515+
# Get number of sent LINE notification messages
15161516
# This requests to <code>GET https://api.line.me/v2/bot/message/delivery/pnp</code>
15171517
# When you want to get HTTP status code or response headers, use {#get_pnp_message_statistics_with_http_info} instead of this.
15181518
#
@@ -2730,27 +2730,27 @@ module Line
27302730
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
27312731
#
27322732
# @param rich_menu_id [String] The ID of the rich menu to attach the image to
2733-
# @param body [File, nil]
2733+
# @param body [File]
27342734
# @see https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
27352735
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
27362736
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
27372737
def set_rich_menu_image_with_http_info: (
27382738
rich_menu_id: String,
2739-
?body: File?
2739+
body: File
27402740
) -> ([String?, 200, Hash[untyped, untyped]] | [String?, Integer, Hash[untyped, untyped]])
27412741

27422742
# Upload rich menu image
27432743
# This requests to <code>POST https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content</code>
27442744
# When you want to get HTTP status code or response headers, use {#set_rich_menu_image_with_http_info} instead of this.
27452745
#
27462746
# @param rich_menu_id [String] The ID of the rich menu to attach the image to
2747-
# @param body [File, nil]
2747+
# @param body [File]
27482748
# @see https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
27492749
# @return [String, nil] when HTTP status code is 200
27502750
# @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
27512751
def set_rich_menu_image: (
27522752
rich_menu_id: String,
2753-
?body: File?
2753+
body: File
27542754
) -> (String?)
27552755

27562756
# If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel.

0 commit comments

Comments
 (0)