line-bot-api 1.29.1 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (650) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +38 -8
  3. data/README.md +1 -1
  4. data/lib/line/bot/{api → v1/api}/errors.rb +2 -0
  5. data/lib/line/bot/{api → v1/api}/version.rb +3 -1
  6. data/lib/line/bot/{api.rb → v1/api.rb} +3 -1
  7. data/lib/line/bot/{client.rb → v1/client.rb} +563 -3
  8. data/lib/line/bot/{event → v1/event}/account_link.rb +4 -0
  9. data/lib/line/bot/{event → v1/event}/base.rb +6 -0
  10. data/lib/line/bot/{event → v1/event}/beacon.rb +4 -0
  11. data/lib/line/bot/{event → v1/event}/follow.rb +4 -0
  12. data/lib/line/bot/{event → v1/event}/join.rb +4 -0
  13. data/lib/line/bot/{event → v1/event}/leave.rb +4 -0
  14. data/lib/line/bot/{event → v1/event}/member_joined.rb +4 -0
  15. data/lib/line/bot/{event → v1/event}/member_left.rb +4 -0
  16. data/lib/line/bot/{event → v1/event}/message.rb +6 -0
  17. data/lib/line/bot/{event → v1/event}/postback.rb +4 -0
  18. data/lib/line/bot/{event → v1/event}/things.rb +6 -0
  19. data/lib/line/bot/{event → v1/event}/unfollow.rb +4 -0
  20. data/lib/line/bot/{event → v1/event}/unsend.rb +4 -0
  21. data/lib/line/bot/{event → v1/event}/video_play_complete.rb +4 -0
  22. data/lib/line/bot/{event.rb → v1/event.rb} +14 -14
  23. data/lib/line/bot/{httpclient.rb → v1/httpclient.rb} +22 -0
  24. data/lib/line/bot/{util.rb → v1/util.rb} +4 -0
  25. data/lib/line/bot/v2/channel_access_token/api/channel_access_token_client.rb +533 -0
  26. data/lib/line/bot/v2/channel_access_token/core.rb +20 -0
  27. data/lib/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rb +68 -0
  28. data/lib/line/bot/v2/channel_access_token/model/error_response.rb +73 -0
  29. data/lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb +86 -0
  30. data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb +80 -0
  31. data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb +80 -0
  32. data/lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb +79 -0
  33. data/lib/line/bot/v2/http_client.rb +165 -0
  34. data/lib/line/bot/v2/insight/api/insight_client.rb +314 -0
  35. data/lib/line/bot/v2/insight/core.rb +32 -0
  36. data/lib/line/bot/v2/insight/model/age_tile.rb +72 -0
  37. data/lib/line/bot/v2/insight/model/app_type_tile.rb +72 -0
  38. data/lib/line/bot/v2/insight/model/area_tile.rb +72 -0
  39. data/lib/line/bot/v2/insight/model/error_detail.rb +72 -0
  40. data/lib/line/bot/v2/insight/model/error_response.rb +79 -0
  41. data/lib/line/bot/v2/insight/model/gender_tile.rb +72 -0
  42. data/lib/line/bot/v2/insight/model/get_friends_demographics_response.rb +128 -0
  43. data/lib/line/bot/v2/insight/model/get_message_event_response.rb +92 -0
  44. data/lib/line/bot/v2/insight/model/get_message_event_response_click.rb +90 -0
  45. data/lib/line/bot/v2/insight/model/get_message_event_response_message.rb +132 -0
  46. data/lib/line/bot/v2/insight/model/get_message_event_response_overview.rb +103 -0
  47. data/lib/line/bot/v2/insight/model/get_number_of_followers_response.rb +86 -0
  48. data/lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb +128 -0
  49. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb +92 -0
  50. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb +91 -0
  51. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb +139 -0
  52. data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rb +86 -0
  53. data/lib/line/bot/v2/insight/model/subscription_period_tile.rb +72 -0
  54. data/lib/line/bot/v2/liff/api/liff_client.rb +273 -0
  55. data/lib/line/bot/v2/liff/core.rb +24 -0
  56. data/lib/line/bot/v2/liff/model/add_liff_app_request.rb +97 -0
  57. data/lib/line/bot/v2/liff/model/add_liff_app_response.rb +66 -0
  58. data/lib/line/bot/v2/liff/model/get_all_liff_apps_response.rb +72 -0
  59. data/lib/line/bot/v2/liff/model/liff_app.rb +102 -0
  60. data/lib/line/bot/v2/liff/model/liff_bot_prompt.rb +21 -0
  61. data/lib/line/bot/v2/liff/model/liff_features.rb +72 -0
  62. data/lib/line/bot/v2/liff/model/liff_scope.rb +21 -0
  63. data/lib/line/bot/v2/liff/model/liff_view.rb +79 -0
  64. data/lib/line/bot/v2/liff/model/update_liff_app_request.rb +97 -0
  65. data/lib/line/bot/v2/liff/model/update_liff_view.rb +79 -0
  66. data/lib/line/bot/v2/manage_audience/api/manage_audience_blob_client.rb +182 -0
  67. data/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb +616 -0
  68. data/lib/line/bot/v2/manage_audience/core.rb +42 -0
  69. data/lib/line/bot/v2/manage_audience/model/adaccount.rb +67 -0
  70. data/lib/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rb +86 -0
  71. data/lib/line/bot/v2/manage_audience/model/audience.rb +67 -0
  72. data/lib/line/bot/v2/manage_audience/model/audience_group.rb +133 -0
  73. data/lib/line/bot/v2/manage_audience/model/audience_group_create_route.rb +21 -0
  74. data/lib/line/bot/v2/manage_audience/model/audience_group_failed_type.rb +21 -0
  75. data/lib/line/bot/v2/manage_audience/model/audience_group_job.rb +110 -0
  76. data/lib/line/bot/v2/manage_audience/model/audience_group_job_failed_type.rb +21 -0
  77. data/lib/line/bot/v2/manage_audience/model/audience_group_job_status.rb +21 -0
  78. data/lib/line/bot/v2/manage_audience/model/audience_group_job_type.rb +21 -0
  79. data/lib/line/bot/v2/manage_audience/model/audience_group_permission.rb +21 -0
  80. data/lib/line/bot/v2/manage_audience/model/audience_group_status.rb +21 -0
  81. data/lib/line/bot/v2/manage_audience/model/audience_group_type.rb +21 -0
  82. data/lib/line/bot/v2/manage_audience/model/create_audience_group_request.rb +92 -0
  83. data/lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb +110 -0
  84. data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rb +80 -0
  85. data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rb +122 -0
  86. data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rb +74 -0
  87. data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rb +92 -0
  88. data/lib/line/bot/v2/manage_audience/model/detailed_owner.rb +79 -0
  89. data/lib/line/bot/v2/manage_audience/model/error_detail.rb +72 -0
  90. data/lib/line/bot/v2/manage_audience/model/error_response.rb +79 -0
  91. data/lib/line/bot/v2/manage_audience/model/get_audience_data_response.rb +86 -0
  92. data/lib/line/bot/v2/manage_audience/model/get_audience_groups_response.rb +104 -0
  93. data/lib/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rb +86 -0
  94. data/lib/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rb +104 -0
  95. data/lib/line/bot/v2/manage_audience/model/update_audience_group_description_request.rb +68 -0
  96. data/lib/line/bot/v2/messaging_api/api/messaging_api_blob_client.rb +282 -0
  97. data/lib/line/bot/v2/messaging_api/api/messaging_api_client.rb +3354 -0
  98. data/lib/line/bot/v2/messaging_api/core.rb +173 -0
  99. data/lib/line/bot/v2/messaging_api/model/action.rb +92 -0
  100. data/lib/line/bot/v2/messaging_api/model/age_demographic.rb +20 -0
  101. data/lib/line/bot/v2/messaging_api/model/age_demographic_filter.rb +78 -0
  102. data/lib/line/bot/v2/messaging_api/model/all_mention_target.rb +67 -0
  103. data/lib/line/bot/v2/messaging_api/model/alt_uri.rb +66 -0
  104. data/lib/line/bot/v2/messaging_api/model/app_type_demographic.rb +20 -0
  105. data/lib/line/bot/v2/messaging_api/model/app_type_demographic_filter.rb +72 -0
  106. data/lib/line/bot/v2/messaging_api/model/area_demographic.rb +21 -0
  107. data/lib/line/bot/v2/messaging_api/model/area_demographic_filter.rb +72 -0
  108. data/lib/line/bot/v2/messaging_api/model/audience_recipient.rb +72 -0
  109. data/lib/line/bot/v2/messaging_api/model/audio_message.rb +91 -0
  110. data/lib/line/bot/v2/messaging_api/model/bot_info_response.rb +103 -0
  111. data/lib/line/bot/v2/messaging_api/model/broadcast_request.rb +79 -0
  112. data/lib/line/bot/v2/messaging_api/model/buttons_template.rb +120 -0
  113. data/lib/line/bot/v2/messaging_api/model/camera_action.rb +72 -0
  114. data/lib/line/bot/v2/messaging_api/model/camera_roll_action.rb +72 -0
  115. data/lib/line/bot/v2/messaging_api/model/carousel_column.rb +103 -0
  116. data/lib/line/bot/v2/messaging_api/model/carousel_template.rb +90 -0
  117. data/lib/line/bot/v2/messaging_api/model/chat_reference.rb +68 -0
  118. data/lib/line/bot/v2/messaging_api/model/clipboard_action.rb +79 -0
  119. data/lib/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rb +85 -0
  120. data/lib/line/bot/v2/messaging_api/model/confirm_template.rb +84 -0
  121. data/lib/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rb +73 -0
  122. data/lib/line/bot/v2/messaging_api/model/datetime_picker_action.rb +103 -0
  123. data/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +82 -0
  124. data/lib/line/bot/v2/messaging_api/model/emoji.rb +78 -0
  125. data/lib/line/bot/v2/messaging_api/model/emoji_substitution_object.rb +80 -0
  126. data/lib/line/bot/v2/messaging_api/model/error_detail.rb +72 -0
  127. data/lib/line/bot/v2/messaging_api/model/error_response.rb +91 -0
  128. data/lib/line/bot/v2/messaging_api/model/filter.rb +67 -0
  129. data/lib/line/bot/v2/messaging_api/model/flex_block_style.rb +78 -0
  130. data/lib/line/bot/v2/messaging_api/model/flex_box.rb +234 -0
  131. data/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +76 -0
  132. data/lib/line/bot/v2/messaging_api/model/flex_box_border_width.rb +21 -0
  133. data/lib/line/bot/v2/messaging_api/model/flex_box_corner_radius.rb +21 -0
  134. data/lib/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rb +96 -0
  135. data/lib/line/bot/v2/messaging_api/model/flex_box_padding.rb +21 -0
  136. data/lib/line/bot/v2/messaging_api/model/flex_box_spacing.rb +21 -0
  137. data/lib/line/bot/v2/messaging_api/model/flex_bubble.rb +114 -0
  138. data/lib/line/bot/v2/messaging_api/model/flex_bubble_styles.rb +84 -0
  139. data/lib/line/bot/v2/messaging_api/model/flex_button.rb +150 -0
  140. data/lib/line/bot/v2/messaging_api/model/flex_carousel.rb +78 -0
  141. data/lib/line/bot/v2/messaging_api/model/flex_component.rb +84 -0
  142. data/lib/line/bot/v2/messaging_api/model/flex_container.rb +77 -0
  143. data/lib/line/bot/v2/messaging_api/model/flex_filler.rb +72 -0
  144. data/lib/line/bot/v2/messaging_api/model/flex_icon.rb +127 -0
  145. data/lib/line/bot/v2/messaging_api/model/flex_icon_size.rb +21 -0
  146. data/lib/line/bot/v2/messaging_api/model/flex_image.rb +163 -0
  147. data/lib/line/bot/v2/messaging_api/model/flex_image_size.rb +21 -0
  148. data/lib/line/bot/v2/messaging_api/model/flex_margin.rb +21 -0
  149. data/lib/line/bot/v2/messaging_api/model/flex_message.rb +91 -0
  150. data/lib/line/bot/v2/messaging_api/model/flex_offset.rb +21 -0
  151. data/lib/line/bot/v2/messaging_api/model/flex_separator.rb +78 -0
  152. data/lib/line/bot/v2/messaging_api/model/flex_span.rb +102 -0
  153. data/lib/line/bot/v2/messaging_api/model/flex_span_size.rb +21 -0
  154. data/lib/line/bot/v2/messaging_api/model/flex_text.rb +204 -0
  155. data/lib/line/bot/v2/messaging_api/model/flex_text_font_size.rb +21 -0
  156. data/lib/line/bot/v2/messaging_api/model/flex_video.rb +96 -0
  157. data/lib/line/bot/v2/messaging_api/model/gender_demographic.rb +20 -0
  158. data/lib/line/bot/v2/messaging_api/model/gender_demographic_filter.rb +72 -0
  159. data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rb +73 -0
  160. data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rb +67 -0
  161. data/lib/line/bot/v2/messaging_api/model/get_followers_response.rb +73 -0
  162. data/lib/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rb +74 -0
  163. data/lib/line/bot/v2/messaging_api/model/get_membership_subscription_response.rb +74 -0
  164. data/lib/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rb +68 -0
  165. data/lib/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rb +73 -0
  166. data/lib/line/bot/v2/messaging_api/model/group_member_count_response.rb +67 -0
  167. data/lib/line/bot/v2/messaging_api/model/group_summary_response.rb +79 -0
  168. data/lib/line/bot/v2/messaging_api/model/group_user_profile_response.rb +79 -0
  169. data/lib/line/bot/v2/messaging_api/model/image_carousel_column.rb +72 -0
  170. data/lib/line/bot/v2/messaging_api/model/image_carousel_template.rb +78 -0
  171. data/lib/line/bot/v2/messaging_api/model/image_message.rb +91 -0
  172. data/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +85 -0
  173. data/lib/line/bot/v2/messaging_api/model/imagemap_area.rb +84 -0
  174. data/lib/line/bot/v2/messaging_api/model/imagemap_base_size.rb +72 -0
  175. data/lib/line/bot/v2/messaging_api/model/imagemap_external_link.rb +72 -0
  176. data/lib/line/bot/v2/messaging_api/model/imagemap_message.rb +115 -0
  177. data/lib/line/bot/v2/messaging_api/model/imagemap_video.rb +84 -0
  178. data/lib/line/bot/v2/messaging_api/model/issue_link_token_response.rb +67 -0
  179. data/lib/line/bot/v2/messaging_api/model/limit.rb +74 -0
  180. data/lib/line/bot/v2/messaging_api/model/location_action.rb +72 -0
  181. data/lib/line/bot/v2/messaging_api/model/location_message.rb +103 -0
  182. data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rb +67 -0
  183. data/lib/line/bot/v2/messaging_api/model/members_ids_response.rb +72 -0
  184. data/lib/line/bot/v2/messaging_api/model/membership.rb +120 -0
  185. data/lib/line/bot/v2/messaging_api/model/membership_list_response.rb +73 -0
  186. data/lib/line/bot/v2/messaging_api/model/mention_substitution_object.rb +74 -0
  187. data/lib/line/bot/v2/messaging_api/model/mention_target.rb +77 -0
  188. data/lib/line/bot/v2/messaging_api/model/message.rb +98 -0
  189. data/lib/line/bot/v2/messaging_api/model/message_action.rb +78 -0
  190. data/lib/line/bot/v2/messaging_api/model/message_imagemap_action.rb +84 -0
  191. data/lib/line/bot/v2/messaging_api/model/message_quota_response.rb +73 -0
  192. data/lib/line/bot/v2/messaging_api/model/multicast_request.rb +91 -0
  193. data/lib/line/bot/v2/messaging_api/model/narrowcast_progress_response.rb +109 -0
  194. data/lib/line/bot/v2/messaging_api/model/narrowcast_request.rb +97 -0
  195. data/lib/line/bot/v2/messaging_api/model/number_of_messages_response.rb +72 -0
  196. data/lib/line/bot/v2/messaging_api/model/operator_demographic_filter.rb +96 -0
  197. data/lib/line/bot/v2/messaging_api/model/operator_recipient.rb +96 -0
  198. data/lib/line/bot/v2/messaging_api/model/pnp_messages_request.rb +85 -0
  199. data/lib/line/bot/v2/messaging_api/model/postback_action.rb +102 -0
  200. data/lib/line/bot/v2/messaging_api/model/push_message_request.rb +91 -0
  201. data/lib/line/bot/v2/messaging_api/model/push_message_response.rb +73 -0
  202. data/lib/line/bot/v2/messaging_api/model/quick_reply.rb +74 -0
  203. data/lib/line/bot/v2/messaging_api/model/quick_reply_item.rb +79 -0
  204. data/lib/line/bot/v2/messaging_api/model/quota_consumption_response.rb +67 -0
  205. data/lib/line/bot/v2/messaging_api/model/quota_type.rb +22 -0
  206. data/lib/line/bot/v2/messaging_api/model/recipient.rb +79 -0
  207. data/lib/line/bot/v2/messaging_api/model/redelivery_recipient.rb +72 -0
  208. data/lib/line/bot/v2/messaging_api/model/reply_message_request.rb +85 -0
  209. data/lib/line/bot/v2/messaging_api/model/reply_message_response.rb +73 -0
  210. data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rb +73 -0
  211. data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_response.rb +72 -0
  212. data/lib/line/bot/v2/messaging_api/model/rich_menu_area.rb +73 -0
  213. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rb +79 -0
  214. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +80 -0
  215. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_phase.rb +21 -0
  216. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rb +79 -0
  217. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_request.rb +78 -0
  218. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rb +67 -0
  219. data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rb +73 -0
  220. data/lib/line/bot/v2/messaging_api/model/rich_menu_bounds.rb +86 -0
  221. data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rb +73 -0
  222. data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rb +67 -0
  223. data/lib/line/bot/v2/messaging_api/model/rich_menu_id_response.rb +66 -0
  224. data/lib/line/bot/v2/messaging_api/model/rich_menu_list_response.rb +73 -0
  225. data/lib/line/bot/v2/messaging_api/model/rich_menu_request.rb +96 -0
  226. data/lib/line/bot/v2/messaging_api/model/rich_menu_response.rb +102 -0
  227. data/lib/line/bot/v2/messaging_api/model/rich_menu_size.rb +73 -0
  228. data/lib/line/bot/v2/messaging_api/model/rich_menu_switch_action.rb +84 -0
  229. data/lib/line/bot/v2/messaging_api/model/room_member_count_response.rb +67 -0
  230. data/lib/line/bot/v2/messaging_api/model/room_user_profile_response.rb +79 -0
  231. data/lib/line/bot/v2/messaging_api/model/sender.rb +73 -0
  232. data/lib/line/bot/v2/messaging_api/model/sent_message.rb +72 -0
  233. data/lib/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rb +67 -0
  234. data/lib/line/bot/v2/messaging_api/model/show_loading_animation_request.rb +73 -0
  235. data/lib/line/bot/v2/messaging_api/model/sticker_message.rb +97 -0
  236. data/lib/line/bot/v2/messaging_api/model/subscribed_membership_plan.rb +97 -0
  237. data/lib/line/bot/v2/messaging_api/model/subscribed_membership_user.rb +85 -0
  238. data/lib/line/bot/v2/messaging_api/model/subscription.rb +73 -0
  239. data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic.rb +20 -0
  240. data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rb +78 -0
  241. data/lib/line/bot/v2/messaging_api/model/substitution_object.rb +78 -0
  242. data/lib/line/bot/v2/messaging_api/model/template.rb +79 -0
  243. data/lib/line/bot/v2/messaging_api/model/template_image_aspect_ratio.rb +21 -0
  244. data/lib/line/bot/v2/messaging_api/model/template_image_size.rb +21 -0
  245. data/lib/line/bot/v2/messaging_api/model/template_message.rb +91 -0
  246. data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rb +67 -0
  247. data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rb +91 -0
  248. data/lib/line/bot/v2/messaging_api/model/text_message.rb +103 -0
  249. data/lib/line/bot/v2/messaging_api/model/text_message_v2.rb +97 -0
  250. data/lib/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rb +67 -0
  251. data/lib/line/bot/v2/messaging_api/model/uri_action.rb +84 -0
  252. data/lib/line/bot/v2/messaging_api/model/uri_imagemap_action.rb +84 -0
  253. data/lib/line/bot/v2/messaging_api/model/user_mention_target.rb +73 -0
  254. data/lib/line/bot/v2/messaging_api/model/user_profile_response.rb +91 -0
  255. data/lib/line/bot/v2/messaging_api/model/validate_message_request.rb +72 -0
  256. data/lib/line/bot/v2/messaging_api/model/video_message.rb +97 -0
  257. data/lib/line/bot/v2/module/api/line_module_client.rb +247 -0
  258. data/lib/line/bot/v2/module/core.rb +18 -0
  259. data/lib/line/bot/v2/module/model/acquire_chat_control_request.rb +74 -0
  260. data/lib/line/bot/v2/module/model/detach_module_request.rb +68 -0
  261. data/lib/line/bot/v2/module/model/get_modules_response.rb +80 -0
  262. data/lib/line/bot/v2/module/model/module_bot.rb +92 -0
  263. data/lib/line/bot/v2/module_attach/api/line_module_attach_client.rb +160 -0
  264. data/lib/line/bot/v2/module_attach/core.rb +15 -0
  265. data/lib/line/bot/v2/module_attach/model/attach_module_response.rb +73 -0
  266. data/lib/line/bot/v2/reserved_words.rb +50 -0
  267. data/lib/line/bot/v2/shop/api/shop_client.rb +95 -0
  268. data/lib/line/bot/v2/shop/core.rb +16 -0
  269. data/lib/line/bot/v2/shop/model/error_response.rb +67 -0
  270. data/lib/line/bot/v2/shop/model/mission_sticker_request.rb +86 -0
  271. data/lib/line/bot/v2/utils.rb +143 -0
  272. data/lib/line/bot/v2/webhook/core.rb +77 -0
  273. data/lib/line/bot/v2/webhook/model/account_link_event.rb +109 -0
  274. data/lib/line/bot/v2/webhook/model/action_result.rb +72 -0
  275. data/lib/line/bot/v2/webhook/model/activated_event.rb +103 -0
  276. data/lib/line/bot/v2/webhook/model/all_mentionee.rb +79 -0
  277. data/lib/line/bot/v2/webhook/model/attached_module_content.rb +78 -0
  278. data/lib/line/bot/v2/webhook/model/audio_message_content.rb +84 -0
  279. data/lib/line/bot/v2/webhook/model/beacon_content.rb +78 -0
  280. data/lib/line/bot/v2/webhook/model/beacon_event.rb +109 -0
  281. data/lib/line/bot/v2/webhook/model/bot_resumed_event.rb +97 -0
  282. data/lib/line/bot/v2/webhook/model/bot_suspended_event.rb +97 -0
  283. data/lib/line/bot/v2/webhook/model/callback_request.rb +80 -0
  284. data/lib/line/bot/v2/webhook/model/chat_control.rb +66 -0
  285. data/lib/line/bot/v2/webhook/model/content_provider.rb +79 -0
  286. data/lib/line/bot/v2/webhook/model/deactivated_event.rb +97 -0
  287. data/lib/line/bot/v2/webhook/model/delivery_context.rb +67 -0
  288. data/lib/line/bot/v2/webhook/model/detached_module_content.rb +78 -0
  289. data/lib/line/bot/v2/webhook/model/emoji.rb +84 -0
  290. data/lib/line/bot/v2/webhook/model/event.rb +126 -0
  291. data/lib/line/bot/v2/webhook/model/event_mode.rb +21 -0
  292. data/lib/line/bot/v2/webhook/model/file_message_content.rb +84 -0
  293. data/lib/line/bot/v2/webhook/model/follow_detail.rb +66 -0
  294. data/lib/line/bot/v2/webhook/model/follow_event.rb +109 -0
  295. data/lib/line/bot/v2/webhook/model/group_source.rb +78 -0
  296. data/lib/line/bot/v2/webhook/model/image_message_content.rb +90 -0
  297. data/lib/line/bot/v2/webhook/model/image_set.rb +78 -0
  298. data/lib/line/bot/v2/webhook/model/join_event.rb +103 -0
  299. data/lib/line/bot/v2/webhook/model/joined_members.rb +72 -0
  300. data/lib/line/bot/v2/webhook/model/joined_membership_content.rb +72 -0
  301. data/lib/line/bot/v2/webhook/model/leave_event.rb +97 -0
  302. data/lib/line/bot/v2/webhook/model/left_members.rb +72 -0
  303. data/lib/line/bot/v2/webhook/model/left_membership_content.rb +72 -0
  304. data/lib/line/bot/v2/webhook/model/link_content.rb +73 -0
  305. data/lib/line/bot/v2/webhook/model/link_things_content.rb +72 -0
  306. data/lib/line/bot/v2/webhook/model/location_message_content.rb +96 -0
  307. data/lib/line/bot/v2/webhook/model/member_joined_event.rb +109 -0
  308. data/lib/line/bot/v2/webhook/model/member_left_event.rb +103 -0
  309. data/lib/line/bot/v2/webhook/model/membership_content.rb +79 -0
  310. data/lib/line/bot/v2/webhook/model/membership_event.rb +109 -0
  311. data/lib/line/bot/v2/webhook/model/mention.rb +72 -0
  312. data/lib/line/bot/v2/webhook/model/mentionee.rb +90 -0
  313. data/lib/line/bot/v2/webhook/model/message_content.rb +89 -0
  314. data/lib/line/bot/v2/webhook/model/message_event.rb +109 -0
  315. data/lib/line/bot/v2/webhook/model/module_content.rb +77 -0
  316. data/lib/line/bot/v2/webhook/model/module_event.rb +103 -0
  317. data/lib/line/bot/v2/webhook/model/pnp_delivery.rb +67 -0
  318. data/lib/line/bot/v2/webhook/model/pnp_delivery_completion_event.rb +103 -0
  319. data/lib/line/bot/v2/webhook/model/postback_content.rb +72 -0
  320. data/lib/line/bot/v2/webhook/model/postback_event.rb +109 -0
  321. data/lib/line/bot/v2/webhook/model/renewed_membership_content.rb +72 -0
  322. data/lib/line/bot/v2/webhook/model/room_source.rb +78 -0
  323. data/lib/line/bot/v2/webhook/model/scenario_result.rb +115 -0
  324. data/lib/line/bot/v2/webhook/model/scenario_result_things_content.rb +78 -0
  325. data/lib/line/bot/v2/webhook/model/source.rb +80 -0
  326. data/lib/line/bot/v2/webhook/model/sticker_message_content.rb +115 -0
  327. data/lib/line/bot/v2/webhook/model/text_message_content.rb +108 -0
  328. data/lib/line/bot/v2/webhook/model/things_content.rb +78 -0
  329. data/lib/line/bot/v2/webhook/model/things_event.rb +109 -0
  330. data/lib/line/bot/v2/webhook/model/unfollow_event.rb +97 -0
  331. data/lib/line/bot/v2/webhook/model/unlink_things_content.rb +72 -0
  332. data/lib/line/bot/v2/webhook/model/unsend_detail.rb +66 -0
  333. data/lib/line/bot/v2/webhook/model/unsend_event.rb +103 -0
  334. data/lib/line/bot/v2/webhook/model/user_mentionee.rb +91 -0
  335. data/lib/line/bot/v2/webhook/model/user_source.rb +72 -0
  336. data/lib/line/bot/v2/webhook/model/video_message_content.rb +90 -0
  337. data/lib/line/bot/v2/webhook/model/video_play_complete.rb +66 -0
  338. data/lib/line/bot/v2/webhook/model/video_play_complete_event.rb +109 -0
  339. data/lib/line/bot/v2/webhook_parser.rb +94 -0
  340. data/lib/line/bot/version.rb +7 -0
  341. data/lib/line/bot.rb +24 -9
  342. data/line-bot-api.gemspec +23 -18
  343. data/sig/line/bot/v2/channel_access_token/api/channel_access_token_client.rbs +327 -0
  344. data/sig/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rbs +41 -0
  345. data/sig/line/bot/v2/channel_access_token/model/error_response.rbs +43 -0
  346. data/sig/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rbs +50 -0
  347. data/sig/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rbs +47 -0
  348. data/sig/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rbs +47 -0
  349. data/sig/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rbs +46 -0
  350. data/sig/line/bot/v2/http_client.rbs +111 -0
  351. data/sig/line/bot/v2/insight/api/insight_client.rbs +196 -0
  352. data/sig/line/bot/v2/insight/model/age_tile.rbs +42 -0
  353. data/sig/line/bot/v2/insight/model/app_type_tile.rbs +42 -0
  354. data/sig/line/bot/v2/insight/model/area_tile.rbs +42 -0
  355. data/sig/line/bot/v2/insight/model/error_detail.rbs +42 -0
  356. data/sig/line/bot/v2/insight/model/error_response.rbs +43 -0
  357. data/sig/line/bot/v2/insight/model/gender_tile.rbs +42 -0
  358. data/sig/line/bot/v2/insight/model/get_friends_demographics_response.rbs +56 -0
  359. data/sig/line/bot/v2/insight/model/get_message_event_response.rbs +47 -0
  360. data/sig/line/bot/v2/insight/model/get_message_event_response_click.rbs +51 -0
  361. data/sig/line/bot/v2/insight/model/get_message_event_response_message.rbs +72 -0
  362. data/sig/line/bot/v2/insight/model/get_message_event_response_overview.rbs +58 -0
  363. data/sig/line/bot/v2/insight/model/get_number_of_followers_response.rbs +50 -0
  364. data/sig/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rbs +71 -0
  365. data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response.rbs +47 -0
  366. data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rbs +52 -0
  367. data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rbs +76 -0
  368. data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rbs +50 -0
  369. data/sig/line/bot/v2/insight/model/subscription_period_tile.rbs +42 -0
  370. data/sig/line/bot/v2/liff/api/liff_client.rbs +198 -0
  371. data/sig/line/bot/v2/liff/model/add_liff_app_request.rbs +55 -0
  372. data/sig/line/bot/v2/liff/model/add_liff_app_response.rbs +39 -0
  373. data/sig/line/bot/v2/liff/model/get_all_liff_apps_response.rbs +39 -0
  374. data/sig/line/bot/v2/liff/model/liff_app.rbs +57 -0
  375. data/sig/line/bot/v2/liff/model/liff_bot_prompt.rbs +21 -0
  376. data/sig/line/bot/v2/liff/model/liff_features.rbs +42 -0
  377. data/sig/line/bot/v2/liff/model/liff_scope.rbs +21 -0
  378. data/sig/line/bot/v2/liff/model/liff_view.rbs +46 -0
  379. data/sig/line/bot/v2/liff/model/update_liff_app_request.rbs +55 -0
  380. data/sig/line/bot/v2/liff/model/update_liff_view.rbs +46 -0
  381. data/sig/line/bot/v2/manage_audience/api/manage_audience_blob_client.rbs +122 -0
  382. data/sig/line/bot/v2/manage_audience/api/manage_audience_client.rbs +394 -0
  383. data/sig/line/bot/v2/manage_audience/model/adaccount.rbs +40 -0
  384. data/sig/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rbs +47 -0
  385. data/sig/line/bot/v2/manage_audience/model/audience.rbs +40 -0
  386. data/sig/line/bot/v2/manage_audience/model/audience_group.rbs +73 -0
  387. data/sig/line/bot/v2/manage_audience/model/audience_group_create_route.rbs +21 -0
  388. data/sig/line/bot/v2/manage_audience/model/audience_group_failed_type.rbs +21 -0
  389. data/sig/line/bot/v2/manage_audience/model/audience_group_job.rbs +62 -0
  390. data/sig/line/bot/v2/manage_audience/model/audience_group_job_failed_type.rbs +21 -0
  391. data/sig/line/bot/v2/manage_audience/model/audience_group_job_status.rbs +21 -0
  392. data/sig/line/bot/v2/manage_audience/model/audience_group_job_type.rbs +21 -0
  393. data/sig/line/bot/v2/manage_audience/model/audience_group_permission.rbs +21 -0
  394. data/sig/line/bot/v2/manage_audience/model/audience_group_status.rbs +21 -0
  395. data/sig/line/bot/v2/manage_audience/model/audience_group_type.rbs +21 -0
  396. data/sig/line/bot/v2/manage_audience/model/create_audience_group_request.rbs +50 -0
  397. data/sig/line/bot/v2/manage_audience/model/create_audience_group_response.rbs +62 -0
  398. data/sig/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rbs +47 -0
  399. data/sig/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rbs +68 -0
  400. data/sig/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rbs +44 -0
  401. data/sig/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rbs +53 -0
  402. data/sig/line/bot/v2/manage_audience/model/detailed_owner.rbs +46 -0
  403. data/sig/line/bot/v2/manage_audience/model/error_detail.rbs +42 -0
  404. data/sig/line/bot/v2/manage_audience/model/error_response.rbs +43 -0
  405. data/sig/line/bot/v2/manage_audience/model/get_audience_data_response.rbs +47 -0
  406. data/sig/line/bot/v2/manage_audience/model/get_audience_groups_response.rbs +56 -0
  407. data/sig/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rbs +47 -0
  408. data/sig/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rbs +56 -0
  409. data/sig/line/bot/v2/manage_audience/model/update_audience_group_description_request.rbs +41 -0
  410. data/sig/line/bot/v2/messaging_api/api/messaging_api_blob_client.rbs +196 -0
  411. data/sig/line/bot/v2/messaging_api/api/messaging_api_client.rbs +2072 -0
  412. data/sig/line/bot/v2/messaging_api/model/action.rbs +48 -0
  413. data/sig/line/bot/v2/messaging_api/model/age_demographic.rbs +20 -0
  414. data/sig/line/bot/v2/messaging_api/model/age_demographic_filter.rbs +43 -0
  415. data/sig/line/bot/v2/messaging_api/model/all_mention_target.rbs +38 -0
  416. data/sig/line/bot/v2/messaging_api/model/alt_uri.rbs +39 -0
  417. data/sig/line/bot/v2/messaging_api/model/app_type_demographic.rbs +20 -0
  418. data/sig/line/bot/v2/messaging_api/model/app_type_demographic_filter.rbs +40 -0
  419. data/sig/line/bot/v2/messaging_api/model/area_demographic.rbs +21 -0
  420. data/sig/line/bot/v2/messaging_api/model/area_demographic_filter.rbs +40 -0
  421. data/sig/line/bot/v2/messaging_api/model/audience_recipient.rbs +40 -0
  422. data/sig/line/bot/v2/messaging_api/model/audio_message.rbs +50 -0
  423. data/sig/line/bot/v2/messaging_api/model/bot_info_response.rbs +58 -0
  424. data/sig/line/bot/v2/messaging_api/model/broadcast_request.rbs +43 -0
  425. data/sig/line/bot/v2/messaging_api/model/buttons_template.rbs +61 -0
  426. data/sig/line/bot/v2/messaging_api/model/camera_action.rbs +40 -0
  427. data/sig/line/bot/v2/messaging_api/model/camera_roll_action.rbs +40 -0
  428. data/sig/line/bot/v2/messaging_api/model/carousel_column.rbs +55 -0
  429. data/sig/line/bot/v2/messaging_api/model/carousel_template.rbs +46 -0
  430. data/sig/line/bot/v2/messaging_api/model/chat_reference.rbs +41 -0
  431. data/sig/line/bot/v2/messaging_api/model/clipboard_action.rbs +44 -0
  432. data/sig/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rbs +47 -0
  433. data/sig/line/bot/v2/messaging_api/model/confirm_template.rbs +43 -0
  434. data/sig/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rbs +43 -0
  435. data/sig/line/bot/v2/messaging_api/model/datetime_picker_action.rbs +56 -0
  436. data/sig/line/bot/v2/messaging_api/model/demographic_filter.rbs +44 -0
  437. data/sig/line/bot/v2/messaging_api/model/emoji.rbs +45 -0
  438. data/sig/line/bot/v2/messaging_api/model/emoji_substitution_object.rbs +45 -0
  439. data/sig/line/bot/v2/messaging_api/model/error_detail.rbs +42 -0
  440. data/sig/line/bot/v2/messaging_api/model/error_response.rbs +46 -0
  441. data/sig/line/bot/v2/messaging_api/model/filter.rbs +40 -0
  442. data/sig/line/bot/v2/messaging_api/model/flex_block_style.rbs +45 -0
  443. data/sig/line/bot/v2/messaging_api/model/flex_box.rbs +118 -0
  444. data/sig/line/bot/v2/messaging_api/model/flex_box_background.rbs +43 -0
  445. data/sig/line/bot/v2/messaging_api/model/flex_box_border_width.rbs +21 -0
  446. data/sig/line/bot/v2/messaging_api/model/flex_box_corner_radius.rbs +21 -0
  447. data/sig/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rbs +52 -0
  448. data/sig/line/bot/v2/messaging_api/model/flex_box_padding.rbs +21 -0
  449. data/sig/line/bot/v2/messaging_api/model/flex_box_spacing.rbs +21 -0
  450. data/sig/line/bot/v2/messaging_api/model/flex_bubble.rbs +61 -0
  451. data/sig/line/bot/v2/messaging_api/model/flex_bubble_styles.rbs +48 -0
  452. data/sig/line/bot/v2/messaging_api/model/flex_button.rbs +79 -0
  453. data/sig/line/bot/v2/messaging_api/model/flex_carousel.rbs +40 -0
  454. data/sig/line/bot/v2/messaging_api/model/flex_component.rbs +43 -0
  455. data/sig/line/bot/v2/messaging_api/model/flex_container.rbs +43 -0
  456. data/sig/line/bot/v2/messaging_api/model/flex_filler.rbs +40 -0
  457. data/sig/line/bot/v2/messaging_api/model/flex_icon.rbs +68 -0
  458. data/sig/line/bot/v2/messaging_api/model/flex_icon_size.rbs +21 -0
  459. data/sig/line/bot/v2/messaging_api/model/flex_image.rbs +86 -0
  460. data/sig/line/bot/v2/messaging_api/model/flex_image_size.rbs +21 -0
  461. data/sig/line/bot/v2/messaging_api/model/flex_margin.rbs +21 -0
  462. data/sig/line/bot/v2/messaging_api/model/flex_message.rbs +50 -0
  463. data/sig/line/bot/v2/messaging_api/model/flex_offset.rbs +21 -0
  464. data/sig/line/bot/v2/messaging_api/model/flex_separator.rbs +43 -0
  465. data/sig/line/bot/v2/messaging_api/model/flex_span.rbs +55 -0
  466. data/sig/line/bot/v2/messaging_api/model/flex_span_size.rbs +21 -0
  467. data/sig/line/bot/v2/messaging_api/model/flex_text.rbs +103 -0
  468. data/sig/line/bot/v2/messaging_api/model/flex_text_font_size.rbs +21 -0
  469. data/sig/line/bot/v2/messaging_api/model/flex_video.rbs +52 -0
  470. data/sig/line/bot/v2/messaging_api/model/gender_demographic.rbs +20 -0
  471. data/sig/line/bot/v2/messaging_api/model/gender_demographic_filter.rbs +40 -0
  472. data/sig/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rbs +43 -0
  473. data/sig/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rbs +40 -0
  474. data/sig/line/bot/v2/messaging_api/model/get_followers_response.rbs +43 -0
  475. data/sig/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rbs +44 -0
  476. data/sig/line/bot/v2/messaging_api/model/get_membership_subscription_response.rbs +41 -0
  477. data/sig/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rbs +41 -0
  478. data/sig/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rbs +43 -0
  479. data/sig/line/bot/v2/messaging_api/model/group_member_count_response.rbs +40 -0
  480. data/sig/line/bot/v2/messaging_api/model/group_summary_response.rbs +46 -0
  481. data/sig/line/bot/v2/messaging_api/model/group_user_profile_response.rbs +46 -0
  482. data/sig/line/bot/v2/messaging_api/model/image_carousel_column.rbs +42 -0
  483. data/sig/line/bot/v2/messaging_api/model/image_carousel_template.rbs +40 -0
  484. data/sig/line/bot/v2/messaging_api/model/image_message.rbs +50 -0
  485. data/sig/line/bot/v2/messaging_api/model/imagemap_action.rbs +47 -0
  486. data/sig/line/bot/v2/messaging_api/model/imagemap_area.rbs +48 -0
  487. data/sig/line/bot/v2/messaging_api/model/imagemap_base_size.rbs +42 -0
  488. data/sig/line/bot/v2/messaging_api/model/imagemap_external_link.rbs +42 -0
  489. data/sig/line/bot/v2/messaging_api/model/imagemap_message.rbs +59 -0
  490. data/sig/line/bot/v2/messaging_api/model/imagemap_video.rbs +48 -0
  491. data/sig/line/bot/v2/messaging_api/model/issue_link_token_response.rbs +40 -0
  492. data/sig/line/bot/v2/messaging_api/model/limit.rbs +44 -0
  493. data/sig/line/bot/v2/messaging_api/model/location_action.rbs +40 -0
  494. data/sig/line/bot/v2/messaging_api/model/location_message.rbs +56 -0
  495. data/sig/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rbs +40 -0
  496. data/sig/line/bot/v2/messaging_api/model/members_ids_response.rbs +42 -0
  497. data/sig/line/bot/v2/messaging_api/model/membership.rbs +66 -0
  498. data/sig/line/bot/v2/messaging_api/model/membership_list_response.rbs +40 -0
  499. data/sig/line/bot/v2/messaging_api/model/mention_substitution_object.rbs +42 -0
  500. data/sig/line/bot/v2/messaging_api/model/mention_target.rbs +43 -0
  501. data/sig/line/bot/v2/messaging_api/model/message.rbs +50 -0
  502. data/sig/line/bot/v2/messaging_api/model/message_action.rbs +43 -0
  503. data/sig/line/bot/v2/messaging_api/model/message_imagemap_action.rbs +46 -0
  504. data/sig/line/bot/v2/messaging_api/model/message_quota_response.rbs +43 -0
  505. data/sig/line/bot/v2/messaging_api/model/multicast_request.rbs +49 -0
  506. data/sig/line/bot/v2/messaging_api/model/narrowcast_progress_response.rbs +61 -0
  507. data/sig/line/bot/v2/messaging_api/model/narrowcast_request.rbs +52 -0
  508. data/sig/line/bot/v2/messaging_api/model/number_of_messages_response.rbs +42 -0
  509. data/sig/line/bot/v2/messaging_api/model/operator_demographic_filter.rbs +46 -0
  510. data/sig/line/bot/v2/messaging_api/model/operator_recipient.rbs +46 -0
  511. data/sig/line/bot/v2/messaging_api/model/pnp_messages_request.rbs +46 -0
  512. data/sig/line/bot/v2/messaging_api/model/postback_action.rbs +55 -0
  513. data/sig/line/bot/v2/messaging_api/model/push_message_request.rbs +49 -0
  514. data/sig/line/bot/v2/messaging_api/model/push_message_response.rbs +40 -0
  515. data/sig/line/bot/v2/messaging_api/model/quick_reply.rbs +41 -0
  516. data/sig/line/bot/v2/messaging_api/model/quick_reply_item.rbs +46 -0
  517. data/sig/line/bot/v2/messaging_api/model/quota_consumption_response.rbs +40 -0
  518. data/sig/line/bot/v2/messaging_api/model/quota_type.rbs +22 -0
  519. data/sig/line/bot/v2/messaging_api/model/recipient.rbs +44 -0
  520. data/sig/line/bot/v2/messaging_api/model/redelivery_recipient.rbs +40 -0
  521. data/sig/line/bot/v2/messaging_api/model/reply_message_request.rbs +46 -0
  522. data/sig/line/bot/v2/messaging_api/model/reply_message_response.rbs +40 -0
  523. data/sig/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rbs +40 -0
  524. data/sig/line/bot/v2/messaging_api/model/rich_menu_alias_response.rbs +42 -0
  525. data/sig/line/bot/v2/messaging_api/model/rich_menu_area.rbs +43 -0
  526. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rbs +44 -0
  527. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rbs +45 -0
  528. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_progress_phase.rbs +21 -0
  529. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rbs +46 -0
  530. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_request.rbs +42 -0
  531. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rbs +38 -0
  532. data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rbs +41 -0
  533. data/sig/line/bot/v2/messaging_api/model/rich_menu_bounds.rbs +50 -0
  534. data/sig/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rbs +43 -0
  535. data/sig/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rbs +40 -0
  536. data/sig/line/bot/v2/messaging_api/model/rich_menu_id_response.rbs +39 -0
  537. data/sig/line/bot/v2/messaging_api/model/rich_menu_list_response.rbs +40 -0
  538. data/sig/line/bot/v2/messaging_api/model/rich_menu_request.rbs +51 -0
  539. data/sig/line/bot/v2/messaging_api/model/rich_menu_response.rbs +54 -0
  540. data/sig/line/bot/v2/messaging_api/model/rich_menu_size.rbs +43 -0
  541. data/sig/line/bot/v2/messaging_api/model/rich_menu_switch_action.rbs +46 -0
  542. data/sig/line/bot/v2/messaging_api/model/room_member_count_response.rbs +40 -0
  543. data/sig/line/bot/v2/messaging_api/model/room_user_profile_response.rbs +46 -0
  544. data/sig/line/bot/v2/messaging_api/model/sender.rbs +43 -0
  545. data/sig/line/bot/v2/messaging_api/model/sent_message.rbs +42 -0
  546. data/sig/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rbs +40 -0
  547. data/sig/line/bot/v2/messaging_api/model/show_loading_animation_request.rbs +43 -0
  548. data/sig/line/bot/v2/messaging_api/model/sticker_message.rbs +53 -0
  549. data/sig/line/bot/v2/messaging_api/model/subscribed_membership_plan.rbs +55 -0
  550. data/sig/line/bot/v2/messaging_api/model/subscribed_membership_user.rbs +49 -0
  551. data/sig/line/bot/v2/messaging_api/model/subscription.rbs +43 -0
  552. data/sig/line/bot/v2/messaging_api/model/subscription_period_demographic.rbs +20 -0
  553. data/sig/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rbs +43 -0
  554. data/sig/line/bot/v2/messaging_api/model/substitution_object.rbs +44 -0
  555. data/sig/line/bot/v2/messaging_api/model/template.rbs +43 -0
  556. data/sig/line/bot/v2/messaging_api/model/template_image_aspect_ratio.rbs +21 -0
  557. data/sig/line/bot/v2/messaging_api/model/template_image_size.rbs +21 -0
  558. data/sig/line/bot/v2/messaging_api/model/template_message.rbs +50 -0
  559. data/sig/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rbs +40 -0
  560. data/sig/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rbs +52 -0
  561. data/sig/line/bot/v2/messaging_api/model/text_message.rbs +53 -0
  562. data/sig/line/bot/v2/messaging_api/model/text_message_v2.rbs +53 -0
  563. data/sig/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rbs +40 -0
  564. data/sig/line/bot/v2/messaging_api/model/uri_action.rbs +46 -0
  565. data/sig/line/bot/v2/messaging_api/model/uri_imagemap_action.rbs +46 -0
  566. data/sig/line/bot/v2/messaging_api/model/user_mention_target.rbs +41 -0
  567. data/sig/line/bot/v2/messaging_api/model/user_profile_response.rbs +52 -0
  568. data/sig/line/bot/v2/messaging_api/model/validate_message_request.rbs +39 -0
  569. data/sig/line/bot/v2/messaging_api/model/video_message.rbs +53 -0
  570. data/sig/line/bot/v2/module/api/line_module_client.rbs +170 -0
  571. data/sig/line/bot/v2/module/model/acquire_chat_control_request.rbs +44 -0
  572. data/sig/line/bot/v2/module/model/detach_module_request.rbs +41 -0
  573. data/sig/line/bot/v2/module/model/get_modules_response.rbs +44 -0
  574. data/sig/line/bot/v2/module/model/module_bot.rbs +53 -0
  575. data/sig/line/bot/v2/module_attach/api/line_module_attach_client.rbs +111 -0
  576. data/sig/line/bot/v2/module_attach/model/attach_module_response.rbs +43 -0
  577. data/sig/line/bot/v2/reserved_words.rbs +7 -0
  578. data/sig/line/bot/v2/shop/api/shop_client.rbs +72 -0
  579. data/sig/line/bot/v2/shop/model/error_response.rbs +40 -0
  580. data/sig/line/bot/v2/shop/model/mission_sticker_request.rbs +50 -0
  581. data/sig/line/bot/v2/utils.rbs +25 -0
  582. data/sig/line/bot/v2/webhook/model/account_link_event.rbs +59 -0
  583. data/sig/line/bot/v2/webhook/model/action_result.rbs +42 -0
  584. data/sig/line/bot/v2/webhook/model/activated_event.rbs +56 -0
  585. data/sig/line/bot/v2/webhook/model/all_mentionee.rbs +44 -0
  586. data/sig/line/bot/v2/webhook/model/attached_module_content.rbs +43 -0
  587. data/sig/line/bot/v2/webhook/model/audio_message_content.rbs +46 -0
  588. data/sig/line/bot/v2/webhook/model/beacon_content.rbs +45 -0
  589. data/sig/line/bot/v2/webhook/model/beacon_event.rbs +59 -0
  590. data/sig/line/bot/v2/webhook/model/bot_resumed_event.rbs +53 -0
  591. data/sig/line/bot/v2/webhook/model/bot_suspended_event.rbs +53 -0
  592. data/sig/line/bot/v2/webhook/model/callback_request.rbs +44 -0
  593. data/sig/line/bot/v2/webhook/model/chat_control.rbs +39 -0
  594. data/sig/line/bot/v2/webhook/model/content_provider.rbs +46 -0
  595. data/sig/line/bot/v2/webhook/model/deactivated_event.rbs +53 -0
  596. data/sig/line/bot/v2/webhook/model/delivery_context.rbs +40 -0
  597. data/sig/line/bot/v2/webhook/model/detached_module_content.rbs +43 -0
  598. data/sig/line/bot/v2/webhook/model/emoji.rbs +48 -0
  599. data/sig/line/bot/v2/webhook/model/event.rbs +59 -0
  600. data/sig/line/bot/v2/webhook/model/event_mode.rbs +21 -0
  601. data/sig/line/bot/v2/webhook/model/file_message_content.rbs +46 -0
  602. data/sig/line/bot/v2/webhook/model/follow_detail.rbs +39 -0
  603. data/sig/line/bot/v2/webhook/model/follow_event.rbs +59 -0
  604. data/sig/line/bot/v2/webhook/model/group_source.rbs +43 -0
  605. data/sig/line/bot/v2/webhook/model/image_message_content.rbs +49 -0
  606. data/sig/line/bot/v2/webhook/model/image_set.rbs +45 -0
  607. data/sig/line/bot/v2/webhook/model/join_event.rbs +56 -0
  608. data/sig/line/bot/v2/webhook/model/joined_members.rbs +39 -0
  609. data/sig/line/bot/v2/webhook/model/joined_membership_content.rbs +40 -0
  610. data/sig/line/bot/v2/webhook/model/leave_event.rbs +53 -0
  611. data/sig/line/bot/v2/webhook/model/left_members.rbs +39 -0
  612. data/sig/line/bot/v2/webhook/model/left_membership_content.rbs +40 -0
  613. data/sig/line/bot/v2/webhook/model/link_content.rbs +43 -0
  614. data/sig/line/bot/v2/webhook/model/link_things_content.rbs +40 -0
  615. data/sig/line/bot/v2/webhook/model/location_message_content.rbs +52 -0
  616. data/sig/line/bot/v2/webhook/model/member_joined_event.rbs +59 -0
  617. data/sig/line/bot/v2/webhook/model/member_left_event.rbs +56 -0
  618. data/sig/line/bot/v2/webhook/model/membership_content.rbs +44 -0
  619. data/sig/line/bot/v2/webhook/model/membership_event.rbs +59 -0
  620. data/sig/line/bot/v2/webhook/model/mention.rbs +39 -0
  621. data/sig/line/bot/v2/webhook/model/mentionee.rbs +50 -0
  622. data/sig/line/bot/v2/webhook/model/message_content.rbs +47 -0
  623. data/sig/line/bot/v2/webhook/model/message_event.rbs +59 -0
  624. data/sig/line/bot/v2/webhook/model/module_content.rbs +43 -0
  625. data/sig/line/bot/v2/webhook/model/module_event.rbs +56 -0
  626. data/sig/line/bot/v2/webhook/model/pnp_delivery.rbs +40 -0
  627. data/sig/line/bot/v2/webhook/model/pnp_delivery_completion_event.rbs +56 -0
  628. data/sig/line/bot/v2/webhook/model/postback_content.rbs +42 -0
  629. data/sig/line/bot/v2/webhook/model/postback_event.rbs +59 -0
  630. data/sig/line/bot/v2/webhook/model/renewed_membership_content.rbs +40 -0
  631. data/sig/line/bot/v2/webhook/model/room_source.rbs +43 -0
  632. data/sig/line/bot/v2/webhook/model/scenario_result.rbs +61 -0
  633. data/sig/line/bot/v2/webhook/model/scenario_result_things_content.rbs +43 -0
  634. data/sig/line/bot/v2/webhook/model/source.rbs +45 -0
  635. data/sig/line/bot/v2/webhook/model/sticker_message_content.rbs +62 -0
  636. data/sig/line/bot/v2/webhook/model/text_message_content.rbs +55 -0
  637. data/sig/line/bot/v2/webhook/model/things_content.rbs +43 -0
  638. data/sig/line/bot/v2/webhook/model/things_event.rbs +59 -0
  639. data/sig/line/bot/v2/webhook/model/unfollow_event.rbs +53 -0
  640. data/sig/line/bot/v2/webhook/model/unlink_things_content.rbs +40 -0
  641. data/sig/line/bot/v2/webhook/model/unsend_detail.rbs +39 -0
  642. data/sig/line/bot/v2/webhook/model/unsend_event.rbs +56 -0
  643. data/sig/line/bot/v2/webhook/model/user_mentionee.rbs +50 -0
  644. data/sig/line/bot/v2/webhook/model/user_source.rbs +40 -0
  645. data/sig/line/bot/v2/webhook/model/video_message_content.rbs +49 -0
  646. data/sig/line/bot/v2/webhook/model/video_play_complete.rbs +39 -0
  647. data/sig/line/bot/v2/webhook/model/video_play_complete_event.rbs +59 -0
  648. data/sig/line/bot/v2/webhook_parser.rbs +26 -0
  649. data/sig/line/bot/version.rbs +5 -0
  650. metadata +666 -69
@@ -0,0 +1,2072 @@
1
+ # LINE Messaging API
2
+ # This document describes LINE Messaging API.
3
+ #
4
+ # The version of the OpenAPI document: 0.0.1
5
+ #
6
+ # NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ # https://openapi-generator.tech
8
+ # Do not edit the class manually.
9
+
10
+ module Line
11
+ module Bot
12
+ module V2
13
+ module MessagingApi
14
+ class ApiClient
15
+ @http_client: HttpClient
16
+ # Initializes a new {Line::Bot::V2::MessagingApi::ApiClient} instance.
17
+ #
18
+ # @param base_url [String] The base URL for requests (optional).
19
+ # Defaults to 'https://api.line.me' if none is provided.
20
+ # You can override this for testing or to use a mock server.
21
+ # @param channel_access_token [String] The channel access token for authorization.
22
+ # @param http_options [Hash] HTTP options (same as Net::HTTP options).
23
+ # See: https://docs.ruby-lang.org/en/3.4/Net/HTTP.html to understand the options.
24
+ #
25
+ # @example
26
+ # @client ||= Line::Bot::V2::MessagingApi::ApiClient.new(
27
+ # channel_access_token: "YOUR_CHANNEL_ACCESS_TOKEN",
28
+ # http_options: {
29
+ # open_timeout: 5,
30
+ # read_timeout: 5,
31
+ # }
32
+ # )
33
+ def initialize: (
34
+ ?base_url: String?,
35
+ channel_access_token: String,
36
+ ?http_options: Hash[String|Symbol, untyped]
37
+ ) -> void
38
+
39
+ # Sends a message to multiple users at any time.
40
+ # This requests to <code>POST https://api.line.me/v2/bot/message/broadcast</code>
41
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
42
+ #
43
+ # @param broadcast_request [BroadcastRequest]
44
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
45
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
46
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
47
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
48
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 403
49
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 409
50
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 429
51
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
52
+ def broadcast_with_http_info: (
53
+ broadcast_request: BroadcastRequest,
54
+ ?x_line_retry_key: String?
55
+ ) -> (
56
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
57
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
58
+ | [ErrorResponse, 403, Hash[untyped, untyped]] # when HTTP status code is 403
59
+ | [ErrorResponse, 409, Hash[untyped, untyped]] # when HTTP status code is 409
60
+ | [ErrorResponse, 429, Hash[untyped, untyped]] # when HTTP status code is 429
61
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
62
+ )
63
+
64
+ # Sends a message to multiple users at any time.
65
+ # This requests to <code>POST https://api.line.me/v2/bot/message/broadcast</code>
66
+ # When you want to get HTTP status code or response headers, use {#broadcast_with_http_info} instead of this.
67
+ #
68
+ # @param broadcast_request [BroadcastRequest]
69
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
70
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
71
+ # @return [String, nil] when HTTP status code is 200
72
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
73
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 403
74
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 409
75
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 429
76
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
77
+ def broadcast: (
78
+ broadcast_request: BroadcastRequest,
79
+ ?x_line_retry_key: String?
80
+ ) -> (
81
+ String? # when HTTP status code is 200
82
+ | ErrorResponse # when HTTP status code is 400
83
+ | ErrorResponse # when HTTP status code is 403
84
+ | ErrorResponse # when HTTP status code is 409
85
+ | ErrorResponse # when HTTP status code is 429
86
+ | String? # otherwise
87
+ )
88
+
89
+ # Cancel default rich menu
90
+ # This requests to <code>DELETE https://api.line.me/v2/bot/user/all/richmenu</code>
91
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
92
+ #
93
+ # @see https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu
94
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
95
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
96
+ def cancel_default_rich_menu_with_http_info: (
97
+ ) -> (
98
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
99
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
100
+ )
101
+
102
+ # Cancel default rich menu
103
+ # This requests to <code>DELETE https://api.line.me/v2/bot/user/all/richmenu</code>
104
+ # When you want to get HTTP status code or response headers, use {#cancel_default_rich_menu_with_http_info} instead of this.
105
+ #
106
+ # @see https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu
107
+ # @return [String, nil] when HTTP status code is 200
108
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
109
+ def cancel_default_rich_menu: (
110
+ ) -> (
111
+ String? # when HTTP status code is 200
112
+ | String? # otherwise
113
+ )
114
+
115
+ # Create rich menu
116
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu</code>
117
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
118
+ #
119
+ # @param rich_menu_request [RichMenuRequest]
120
+ # @see https://developers.line.biz/en/reference/messaging-api/#create-rich-menu
121
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuIdResponse, Integer, Hash{String => String})] when HTTP status code is 200
122
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
123
+ def create_rich_menu_with_http_info: (
124
+ rich_menu_request: RichMenuRequest
125
+ ) -> (
126
+ [RichMenuIdResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
127
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
128
+ )
129
+
130
+ # Create rich menu
131
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu</code>
132
+ # When you want to get HTTP status code or response headers, use {#create_rich_menu_with_http_info} instead of this.
133
+ #
134
+ # @param rich_menu_request [RichMenuRequest]
135
+ # @see https://developers.line.biz/en/reference/messaging-api/#create-rich-menu
136
+ # @return [Line::Bot::V2::MessagingApi::RichMenuIdResponse] when HTTP status code is 200
137
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
138
+ def create_rich_menu: (
139
+ rich_menu_request: RichMenuRequest
140
+ ) -> (
141
+ RichMenuIdResponse # when HTTP status code is 200
142
+ | String? # otherwise
143
+ )
144
+
145
+ # Create rich menu alias
146
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/alias</code>
147
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
148
+ #
149
+ # @param create_rich_menu_alias_request [CreateRichMenuAliasRequest]
150
+ # @see https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias
151
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
152
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
153
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
154
+ def create_rich_menu_alias_with_http_info: (
155
+ create_rich_menu_alias_request: CreateRichMenuAliasRequest
156
+ ) -> (
157
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
158
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
159
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
160
+ )
161
+
162
+ # Create rich menu alias
163
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/alias</code>
164
+ # When you want to get HTTP status code or response headers, use {#create_rich_menu_alias_with_http_info} instead of this.
165
+ #
166
+ # @param create_rich_menu_alias_request [CreateRichMenuAliasRequest]
167
+ # @see https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias
168
+ # @return [String, nil] when HTTP status code is 200
169
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
170
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
171
+ def create_rich_menu_alias: (
172
+ create_rich_menu_alias_request: CreateRichMenuAliasRequest
173
+ ) -> (
174
+ String? # when HTTP status code is 200
175
+ | ErrorResponse # when HTTP status code is 400
176
+ | String? # otherwise
177
+ )
178
+
179
+ # Deletes a rich menu.
180
+ # This requests to <code>DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}</code>
181
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
182
+ #
183
+ # @param rich_menu_id [String] ID of a rich menu
184
+ # @see https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu
185
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
186
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
187
+ def delete_rich_menu_with_http_info: (
188
+ rich_menu_id: String
189
+ ) -> (
190
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
191
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
192
+ )
193
+
194
+ # Deletes a rich menu.
195
+ # This requests to <code>DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}</code>
196
+ # When you want to get HTTP status code or response headers, use {#delete_rich_menu_with_http_info} instead of this.
197
+ #
198
+ # @param rich_menu_id [String] ID of a rich menu
199
+ # @see https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu
200
+ # @return [String, nil] when HTTP status code is 200
201
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
202
+ def delete_rich_menu: (
203
+ rich_menu_id: String
204
+ ) -> (
205
+ String? # when HTTP status code is 200
206
+ | String? # otherwise
207
+ )
208
+
209
+ # Delete rich menu alias
210
+ # This requests to <code>DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}</code>
211
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
212
+ #
213
+ # @param rich_menu_alias_id [String] Rich menu alias ID that you want to delete.
214
+ # @see https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias
215
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
216
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
217
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
218
+ def delete_rich_menu_alias_with_http_info: (
219
+ rich_menu_alias_id: String
220
+ ) -> (
221
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
222
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
223
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
224
+ )
225
+
226
+ # Delete rich menu alias
227
+ # This requests to <code>DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}</code>
228
+ # When you want to get HTTP status code or response headers, use {#delete_rich_menu_alias_with_http_info} instead of this.
229
+ #
230
+ # @param rich_menu_alias_id [String] Rich menu alias ID that you want to delete.
231
+ # @see https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias
232
+ # @return [String, nil] when HTTP status code is 200
233
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
234
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
235
+ def delete_rich_menu_alias: (
236
+ rich_menu_alias_id: String
237
+ ) -> (
238
+ String? # when HTTP status code is 200
239
+ | ErrorResponse # when HTTP status code is 400
240
+ | String? # otherwise
241
+ )
242
+
243
+ # Get name list of units used this month
244
+ # This requests to <code>GET https://api.line.me/v2/bot/message/aggregation/list</code>
245
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
246
+ #
247
+ # @param limit [String, nil] The maximum number of aggregation units you can get per request.
248
+ # @param start [String, nil] Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array.
249
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month
250
+ # @return [Array(Line::Bot::V2::MessagingApi::GetAggregationUnitNameListResponse, Integer, Hash{String => String})] when HTTP status code is 200
251
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
252
+ def get_aggregation_unit_name_list_with_http_info: (
253
+ ?limit: String?,
254
+ ?start: String?
255
+ ) -> (
256
+ [GetAggregationUnitNameListResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
257
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
258
+ )
259
+
260
+ # Get name list of units used this month
261
+ # This requests to <code>GET https://api.line.me/v2/bot/message/aggregation/list</code>
262
+ # When you want to get HTTP status code or response headers, use {#get_aggregation_unit_name_list_with_http_info} instead of this.
263
+ #
264
+ # @param limit [String, nil] The maximum number of aggregation units you can get per request.
265
+ # @param start [String, nil] Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array.
266
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month
267
+ # @return [Line::Bot::V2::MessagingApi::GetAggregationUnitNameListResponse] when HTTP status code is 200
268
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
269
+ def get_aggregation_unit_name_list: (
270
+ ?limit: String?,
271
+ ?start: String?
272
+ ) -> (
273
+ GetAggregationUnitNameListResponse # when HTTP status code is 200
274
+ | String? # otherwise
275
+ )
276
+
277
+ # Get number of units used this month
278
+ # This requests to <code>GET https://api.line.me/v2/bot/message/aggregation/info</code>
279
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
280
+ #
281
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month
282
+ # @return [Array(Line::Bot::V2::MessagingApi::GetAggregationUnitUsageResponse, Integer, Hash{String => String})] when HTTP status code is 200
283
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
284
+ def get_aggregation_unit_usage_with_http_info: (
285
+ ) -> (
286
+ [GetAggregationUnitUsageResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
287
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
288
+ )
289
+
290
+ # Get number of units used this month
291
+ # This requests to <code>GET https://api.line.me/v2/bot/message/aggregation/info</code>
292
+ # When you want to get HTTP status code or response headers, use {#get_aggregation_unit_usage_with_http_info} instead of this.
293
+ #
294
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month
295
+ # @return [Line::Bot::V2::MessagingApi::GetAggregationUnitUsageResponse] when HTTP status code is 200
296
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
297
+ def get_aggregation_unit_usage: (
298
+ ) -> (
299
+ GetAggregationUnitUsageResponse # when HTTP status code is 200
300
+ | String? # otherwise
301
+ )
302
+
303
+ # Get bot info
304
+ # This requests to <code>GET https://api.line.me/v2/bot/info</code>
305
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
306
+ #
307
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-bot-info
308
+ # @return [Array(Line::Bot::V2::MessagingApi::BotInfoResponse, Integer, Hash{String => String})] when HTTP status code is 200
309
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
310
+ def get_bot_info_with_http_info: (
311
+ ) -> (
312
+ [BotInfoResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
313
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
314
+ )
315
+
316
+ # Get bot info
317
+ # This requests to <code>GET https://api.line.me/v2/bot/info</code>
318
+ # When you want to get HTTP status code or response headers, use {#get_bot_info_with_http_info} instead of this.
319
+ #
320
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-bot-info
321
+ # @return [Line::Bot::V2::MessagingApi::BotInfoResponse] when HTTP status code is 200
322
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
323
+ def get_bot_info: (
324
+ ) -> (
325
+ BotInfoResponse # when HTTP status code is 200
326
+ | String? # otherwise
327
+ )
328
+
329
+ # Gets the ID of the default rich menu set with the Messaging API.
330
+ # This requests to <code>GET https://api.line.me/v2/bot/user/all/richmenu</code>
331
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
332
+ #
333
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id
334
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuIdResponse, Integer, Hash{String => String})] when HTTP status code is 200
335
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
336
+ def get_default_rich_menu_id_with_http_info: (
337
+ ) -> (
338
+ [RichMenuIdResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
339
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
340
+ )
341
+
342
+ # Gets the ID of the default rich menu set with the Messaging API.
343
+ # This requests to <code>GET https://api.line.me/v2/bot/user/all/richmenu</code>
344
+ # When you want to get HTTP status code or response headers, use {#get_default_rich_menu_id_with_http_info} instead of this.
345
+ #
346
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id
347
+ # @return [Line::Bot::V2::MessagingApi::RichMenuIdResponse] when HTTP status code is 200
348
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
349
+ def get_default_rich_menu_id: (
350
+ ) -> (
351
+ RichMenuIdResponse # when HTTP status code is 200
352
+ | String? # otherwise
353
+ )
354
+
355
+ # Get a list of users who added your LINE Official Account as a friend
356
+ # This requests to <code>GET https://api.line.me/v2/bot/followers/ids</code>
357
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
358
+ #
359
+ # @param start [String, nil] Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.
360
+ # @param limit [Integer, nil] The maximum number of user IDs to retrieve in a single request.
361
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-follower-ids
362
+ # @return [Array(Line::Bot::V2::MessagingApi::GetFollowersResponse, Integer, Hash{String => String})] when HTTP status code is 200
363
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
364
+ def get_followers_with_http_info: (
365
+ ?start: String?,
366
+ ?limit: Integer?
367
+ ) -> (
368
+ [GetFollowersResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
369
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
370
+ )
371
+
372
+ # Get a list of users who added your LINE Official Account as a friend
373
+ # This requests to <code>GET https://api.line.me/v2/bot/followers/ids</code>
374
+ # When you want to get HTTP status code or response headers, use {#get_followers_with_http_info} instead of this.
375
+ #
376
+ # @param start [String, nil] Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.
377
+ # @param limit [Integer, nil] The maximum number of user IDs to retrieve in a single request.
378
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-follower-ids
379
+ # @return [Line::Bot::V2::MessagingApi::GetFollowersResponse] when HTTP status code is 200
380
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
381
+ def get_followers: (
382
+ ?start: String?,
383
+ ?limit: Integer?
384
+ ) -> (
385
+ GetFollowersResponse # when HTTP status code is 200
386
+ | String? # otherwise
387
+ )
388
+
389
+ # Get number of users in a group chat
390
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/members/count</code>
391
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
392
+ #
393
+ # @param group_id [String] Group ID
394
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-members-group-count
395
+ # @return [Array(Line::Bot::V2::MessagingApi::GroupMemberCountResponse, Integer, Hash{String => String})] when HTTP status code is 200
396
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
397
+ def get_group_member_count_with_http_info: (
398
+ group_id: String
399
+ ) -> (
400
+ [GroupMemberCountResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
401
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
402
+ )
403
+
404
+ # Get number of users in a group chat
405
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/members/count</code>
406
+ # When you want to get HTTP status code or response headers, use {#get_group_member_count_with_http_info} instead of this.
407
+ #
408
+ # @param group_id [String] Group ID
409
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-members-group-count
410
+ # @return [Line::Bot::V2::MessagingApi::GroupMemberCountResponse] when HTTP status code is 200
411
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
412
+ def get_group_member_count: (
413
+ group_id: String
414
+ ) -> (
415
+ GroupMemberCountResponse # when HTTP status code is 200
416
+ | String? # otherwise
417
+ )
418
+
419
+ # Get group chat member profile
420
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}</code>
421
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
422
+ #
423
+ # @param group_id [String] Group ID
424
+ # @param user_id [String] User ID
425
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile
426
+ # @return [Array(Line::Bot::V2::MessagingApi::GroupUserProfileResponse, Integer, Hash{String => String})] when HTTP status code is 200
427
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
428
+ def get_group_member_profile_with_http_info: (
429
+ group_id: String,
430
+ user_id: String
431
+ ) -> (
432
+ [GroupUserProfileResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
433
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
434
+ )
435
+
436
+ # Get group chat member profile
437
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}</code>
438
+ # When you want to get HTTP status code or response headers, use {#get_group_member_profile_with_http_info} instead of this.
439
+ #
440
+ # @param group_id [String] Group ID
441
+ # @param user_id [String] User ID
442
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile
443
+ # @return [Line::Bot::V2::MessagingApi::GroupUserProfileResponse] when HTTP status code is 200
444
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
445
+ def get_group_member_profile: (
446
+ group_id: String,
447
+ user_id: String
448
+ ) -> (
449
+ GroupUserProfileResponse # when HTTP status code is 200
450
+ | String? # otherwise
451
+ )
452
+
453
+ # Get group chat member user IDs
454
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/members/ids</code>
455
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
456
+ #
457
+ # @param group_id [String] Group ID
458
+ # @param start [String, nil] Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
459
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids
460
+ # @return [Array(Line::Bot::V2::MessagingApi::MembersIdsResponse, Integer, Hash{String => String})] when HTTP status code is 200
461
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
462
+ def get_group_members_ids_with_http_info: (
463
+ group_id: String,
464
+ ?start: String?
465
+ ) -> (
466
+ [MembersIdsResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
467
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
468
+ )
469
+
470
+ # Get group chat member user IDs
471
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/members/ids</code>
472
+ # When you want to get HTTP status code or response headers, use {#get_group_members_ids_with_http_info} instead of this.
473
+ #
474
+ # @param group_id [String] Group ID
475
+ # @param start [String, nil] Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
476
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids
477
+ # @return [Line::Bot::V2::MessagingApi::MembersIdsResponse] when HTTP status code is 200
478
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
479
+ def get_group_members_ids: (
480
+ group_id: String,
481
+ ?start: String?
482
+ ) -> (
483
+ MembersIdsResponse # when HTTP status code is 200
484
+ | String? # otherwise
485
+ )
486
+
487
+ # Get group chat summary
488
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/summary</code>
489
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
490
+ #
491
+ # @param group_id [String] Group ID
492
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-group-summary
493
+ # @return [Array(Line::Bot::V2::MessagingApi::GroupSummaryResponse, Integer, Hash{String => String})] when HTTP status code is 200
494
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
495
+ def get_group_summary_with_http_info: (
496
+ group_id: String
497
+ ) -> (
498
+ [GroupSummaryResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
499
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
500
+ )
501
+
502
+ # Get group chat summary
503
+ # This requests to <code>GET https://api.line.me/v2/bot/group/{groupId}/summary</code>
504
+ # When you want to get HTTP status code or response headers, use {#get_group_summary_with_http_info} instead of this.
505
+ #
506
+ # @param group_id [String] Group ID
507
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-group-summary
508
+ # @return [Line::Bot::V2::MessagingApi::GroupSummaryResponse] when HTTP status code is 200
509
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
510
+ def get_group_summary: (
511
+ group_id: String
512
+ ) -> (
513
+ GroupSummaryResponse # when HTTP status code is 200
514
+ | String? # otherwise
515
+ )
516
+
517
+ # Get a list of user IDs who joined the membership.
518
+ # This requests to <code>GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids</code>
519
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
520
+ #
521
+ # @param membership_id [Integer] Membership plan ID.
522
+ # @param start [String, nil] A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
523
+ # @param limit [Integer, nil] The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.
524
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
525
+ # @return [Array(Line::Bot::V2::MessagingApi::GetJoinedMembershipUsersResponse, Integer, Hash{String => String})] when HTTP status code is 200
526
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
527
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 404
528
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
529
+ def get_joined_membership_users_with_http_info: (
530
+ membership_id: Integer,
531
+ ?start: String?,
532
+ ?limit: Integer?
533
+ ) -> (
534
+ [GetJoinedMembershipUsersResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
535
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
536
+ | [ErrorResponse, 404, Hash[untyped, untyped]] # when HTTP status code is 404
537
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
538
+ )
539
+
540
+ # Get a list of user IDs who joined the membership.
541
+ # This requests to <code>GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids</code>
542
+ # When you want to get HTTP status code or response headers, use {#get_joined_membership_users_with_http_info} instead of this.
543
+ #
544
+ # @param membership_id [Integer] Membership plan ID.
545
+ # @param start [String, nil] A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
546
+ # @param limit [Integer, nil] The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.
547
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
548
+ # @return [Line::Bot::V2::MessagingApi::GetJoinedMembershipUsersResponse] when HTTP status code is 200
549
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
550
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 404
551
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
552
+ def get_joined_membership_users: (
553
+ membership_id: Integer,
554
+ ?start: String?,
555
+ ?limit: Integer?
556
+ ) -> (
557
+ GetJoinedMembershipUsersResponse # when HTTP status code is 200
558
+ | ErrorResponse # when HTTP status code is 400
559
+ | ErrorResponse # when HTTP status code is 404
560
+ | String? # otherwise
561
+ )
562
+
563
+ # Get a list of memberships.
564
+ # This requests to <code>GET https://api.line.me/v2/bot/membership/list</code>
565
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
566
+ #
567
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-membership-plans
568
+ # @return [Array(Line::Bot::V2::MessagingApi::MembershipListResponse, Integer, Hash{String => String})] when HTTP status code is 200
569
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 404
570
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
571
+ def get_membership_list_with_http_info: (
572
+ ) -> (
573
+ [MembershipListResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
574
+ | [ErrorResponse, 404, Hash[untyped, untyped]] # when HTTP status code is 404
575
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
576
+ )
577
+
578
+ # Get a list of memberships.
579
+ # This requests to <code>GET https://api.line.me/v2/bot/membership/list</code>
580
+ # When you want to get HTTP status code or response headers, use {#get_membership_list_with_http_info} instead of this.
581
+ #
582
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-membership-plans
583
+ # @return [Line::Bot::V2::MessagingApi::MembershipListResponse] when HTTP status code is 200
584
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 404
585
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
586
+ def get_membership_list: (
587
+ ) -> (
588
+ MembershipListResponse # when HTTP status code is 200
589
+ | ErrorResponse # when HTTP status code is 404
590
+ | String? # otherwise
591
+ )
592
+
593
+ # Get a user's membership subscription.
594
+ # This requests to <code>GET https://api.line.me/v2/bot/membership/subscription/{userId}</code>
595
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
596
+ #
597
+ # @param user_id [String] User ID
598
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status
599
+ # @return [Array(Line::Bot::V2::MessagingApi::GetMembershipSubscriptionResponse, Integer, Hash{String => String})] when HTTP status code is 200
600
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
601
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 404
602
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
603
+ def get_membership_subscription_with_http_info: (
604
+ user_id: String
605
+ ) -> (
606
+ [GetMembershipSubscriptionResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
607
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
608
+ | [ErrorResponse, 404, Hash[untyped, untyped]] # when HTTP status code is 404
609
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
610
+ )
611
+
612
+ # Get a user's membership subscription.
613
+ # This requests to <code>GET https://api.line.me/v2/bot/membership/subscription/{userId}</code>
614
+ # When you want to get HTTP status code or response headers, use {#get_membership_subscription_with_http_info} instead of this.
615
+ #
616
+ # @param user_id [String] User ID
617
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status
618
+ # @return [Line::Bot::V2::MessagingApi::GetMembershipSubscriptionResponse] when HTTP status code is 200
619
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
620
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 404
621
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
622
+ def get_membership_subscription: (
623
+ user_id: String
624
+ ) -> (
625
+ GetMembershipSubscriptionResponse # when HTTP status code is 200
626
+ | ErrorResponse # when HTTP status code is 400
627
+ | ErrorResponse # when HTTP status code is 404
628
+ | String? # otherwise
629
+ )
630
+
631
+ # Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
632
+ # This requests to <code>GET https://api.line.me/v2/bot/message/quota</code>
633
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
634
+ #
635
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-quota
636
+ # @return [Array(Line::Bot::V2::MessagingApi::MessageQuotaResponse, Integer, Hash{String => String})] when HTTP status code is 200
637
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
638
+ def get_message_quota_with_http_info: (
639
+ ) -> (
640
+ [MessageQuotaResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
641
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
642
+ )
643
+
644
+ # Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
645
+ # This requests to <code>GET https://api.line.me/v2/bot/message/quota</code>
646
+ # When you want to get HTTP status code or response headers, use {#get_message_quota_with_http_info} instead of this.
647
+ #
648
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-quota
649
+ # @return [Line::Bot::V2::MessagingApi::MessageQuotaResponse] when HTTP status code is 200
650
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
651
+ def get_message_quota: (
652
+ ) -> (
653
+ MessageQuotaResponse # when HTTP status code is 200
654
+ | String? # otherwise
655
+ )
656
+
657
+ # Gets the number of messages sent in the current month.
658
+ # This requests to <code>GET https://api.line.me/v2/bot/message/quota/consumption</code>
659
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
660
+ #
661
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-consumption
662
+ # @return [Array(Line::Bot::V2::MessagingApi::QuotaConsumptionResponse, Integer, Hash{String => String})] when HTTP status code is 200
663
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
664
+ def get_message_quota_consumption_with_http_info: (
665
+ ) -> (
666
+ [QuotaConsumptionResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
667
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
668
+ )
669
+
670
+ # Gets the number of messages sent in the current month.
671
+ # This requests to <code>GET https://api.line.me/v2/bot/message/quota/consumption</code>
672
+ # When you want to get HTTP status code or response headers, use {#get_message_quota_consumption_with_http_info} instead of this.
673
+ #
674
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-consumption
675
+ # @return [Line::Bot::V2::MessagingApi::QuotaConsumptionResponse] when HTTP status code is 200
676
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
677
+ def get_message_quota_consumption: (
678
+ ) -> (
679
+ QuotaConsumptionResponse # when HTTP status code is 200
680
+ | String? # otherwise
681
+ )
682
+
683
+ # Gets the status of a narrowcast message.
684
+ # This requests to <code>GET https://api.line.me/v2/bot/message/progress/narrowcast</code>
685
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
686
+ #
687
+ # @param request_id [String] The narrowcast message's request ID. Each Messaging API request has a request ID.
688
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
689
+ # @return [Array(Line::Bot::V2::MessagingApi::NarrowcastProgressResponse, Integer, Hash{String => String})] when HTTP status code is 200
690
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
691
+ def get_narrowcast_progress_with_http_info: (
692
+ request_id: String
693
+ ) -> (
694
+ [NarrowcastProgressResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
695
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
696
+ )
697
+
698
+ # Gets the status of a narrowcast message.
699
+ # This requests to <code>GET https://api.line.me/v2/bot/message/progress/narrowcast</code>
700
+ # When you want to get HTTP status code or response headers, use {#get_narrowcast_progress_with_http_info} instead of this.
701
+ #
702
+ # @param request_id [String] The narrowcast message's request ID. Each Messaging API request has a request ID.
703
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
704
+ # @return [Line::Bot::V2::MessagingApi::NarrowcastProgressResponse] when HTTP status code is 200
705
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
706
+ def get_narrowcast_progress: (
707
+ request_id: String
708
+ ) -> (
709
+ NarrowcastProgressResponse # when HTTP status code is 200
710
+ | String? # otherwise
711
+ )
712
+
713
+ # Get number of sent broadcast messages
714
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/broadcast</code>
715
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
716
+ #
717
+ # @param date [String] Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
718
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages
719
+ # @return [Array(Line::Bot::V2::MessagingApi::NumberOfMessagesResponse, Integer, Hash{String => String})] when HTTP status code is 200
720
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
721
+ def get_number_of_sent_broadcast_messages_with_http_info: (
722
+ date: String
723
+ ) -> (
724
+ [NumberOfMessagesResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
725
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
726
+ )
727
+
728
+ # Get number of sent broadcast messages
729
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/broadcast</code>
730
+ # When you want to get HTTP status code or response headers, use {#get_number_of_sent_broadcast_messages_with_http_info} instead of this.
731
+ #
732
+ # @param date [String] Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
733
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages
734
+ # @return [Line::Bot::V2::MessagingApi::NumberOfMessagesResponse] when HTTP status code is 200
735
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
736
+ def get_number_of_sent_broadcast_messages: (
737
+ date: String
738
+ ) -> (
739
+ NumberOfMessagesResponse # when HTTP status code is 200
740
+ | String? # otherwise
741
+ )
742
+
743
+ # Get number of sent multicast messages
744
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/multicast</code>
745
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
746
+ #
747
+ # @param date [String] Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
748
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages
749
+ # @return [Array(Line::Bot::V2::MessagingApi::NumberOfMessagesResponse, Integer, Hash{String => String})] when HTTP status code is 200
750
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
751
+ def get_number_of_sent_multicast_messages_with_http_info: (
752
+ date: String
753
+ ) -> (
754
+ [NumberOfMessagesResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
755
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
756
+ )
757
+
758
+ # Get number of sent multicast messages
759
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/multicast</code>
760
+ # When you want to get HTTP status code or response headers, use {#get_number_of_sent_multicast_messages_with_http_info} instead of this.
761
+ #
762
+ # @param date [String] Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
763
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages
764
+ # @return [Line::Bot::V2::MessagingApi::NumberOfMessagesResponse] when HTTP status code is 200
765
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
766
+ def get_number_of_sent_multicast_messages: (
767
+ date: String
768
+ ) -> (
769
+ NumberOfMessagesResponse # when HTTP status code is 200
770
+ | String? # otherwise
771
+ )
772
+
773
+ # Get number of sent push messages
774
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/push</code>
775
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
776
+ #
777
+ # @param date [String] Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
778
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages
779
+ # @return [Array(Line::Bot::V2::MessagingApi::NumberOfMessagesResponse, Integer, Hash{String => String})] when HTTP status code is 200
780
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
781
+ def get_number_of_sent_push_messages_with_http_info: (
782
+ date: String
783
+ ) -> (
784
+ [NumberOfMessagesResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
785
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
786
+ )
787
+
788
+ # Get number of sent push messages
789
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/push</code>
790
+ # When you want to get HTTP status code or response headers, use {#get_number_of_sent_push_messages_with_http_info} instead of this.
791
+ #
792
+ # @param date [String] Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
793
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages
794
+ # @return [Line::Bot::V2::MessagingApi::NumberOfMessagesResponse] when HTTP status code is 200
795
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
796
+ def get_number_of_sent_push_messages: (
797
+ date: String
798
+ ) -> (
799
+ NumberOfMessagesResponse # when HTTP status code is 200
800
+ | String? # otherwise
801
+ )
802
+
803
+ # Get number of sent reply messages
804
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/reply</code>
805
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
806
+ #
807
+ # @param date [String] Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
808
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages
809
+ # @return [Array(Line::Bot::V2::MessagingApi::NumberOfMessagesResponse, Integer, Hash{String => String})] when HTTP status code is 200
810
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
811
+ def get_number_of_sent_reply_messages_with_http_info: (
812
+ date: String
813
+ ) -> (
814
+ [NumberOfMessagesResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
815
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
816
+ )
817
+
818
+ # Get number of sent reply messages
819
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/reply</code>
820
+ # When you want to get HTTP status code or response headers, use {#get_number_of_sent_reply_messages_with_http_info} instead of this.
821
+ #
822
+ # @param date [String] Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
823
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages
824
+ # @return [Line::Bot::V2::MessagingApi::NumberOfMessagesResponse] when HTTP status code is 200
825
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
826
+ def get_number_of_sent_reply_messages: (
827
+ date: String
828
+ ) -> (
829
+ NumberOfMessagesResponse # when HTTP status code is 200
830
+ | String? # otherwise
831
+ )
832
+
833
+ # Get number of sent LINE notification messages 
834
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/pnp</code>
835
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
836
+ #
837
+ # @param date [String] Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
838
+ # @see https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages
839
+ # @return [Array(Line::Bot::V2::MessagingApi::NumberOfMessagesResponse, Integer, Hash{String => String})] when HTTP status code is 200
840
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
841
+ def get_pnp_message_statistics_with_http_info: (
842
+ date: String
843
+ ) -> (
844
+ [NumberOfMessagesResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
845
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
846
+ )
847
+
848
+ # Get number of sent LINE notification messages 
849
+ # This requests to <code>GET https://api.line.me/v2/bot/message/delivery/pnp</code>
850
+ # When you want to get HTTP status code or response headers, use {#get_pnp_message_statistics_with_http_info} instead of this.
851
+ #
852
+ # @param date [String] Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
853
+ # @see https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages
854
+ # @return [Line::Bot::V2::MessagingApi::NumberOfMessagesResponse] when HTTP status code is 200
855
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
856
+ def get_pnp_message_statistics: (
857
+ date: String
858
+ ) -> (
859
+ NumberOfMessagesResponse # when HTTP status code is 200
860
+ | String? # otherwise
861
+ )
862
+
863
+ # Get profile
864
+ # This requests to <code>GET https://api.line.me/v2/bot/profile/{userId}</code>
865
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
866
+ #
867
+ # @param user_id [String] User ID
868
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-profile
869
+ # @return [Array(Line::Bot::V2::MessagingApi::UserProfileResponse, Integer, Hash{String => String})] when HTTP status code is 200
870
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
871
+ def get_profile_with_http_info: (
872
+ user_id: String
873
+ ) -> (
874
+ [UserProfileResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
875
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
876
+ )
877
+
878
+ # Get profile
879
+ # This requests to <code>GET https://api.line.me/v2/bot/profile/{userId}</code>
880
+ # When you want to get HTTP status code or response headers, use {#get_profile_with_http_info} instead of this.
881
+ #
882
+ # @param user_id [String] User ID
883
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-profile
884
+ # @return [Line::Bot::V2::MessagingApi::UserProfileResponse] when HTTP status code is 200
885
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
886
+ def get_profile: (
887
+ user_id: String
888
+ ) -> (
889
+ UserProfileResponse # when HTTP status code is 200
890
+ | String? # otherwise
891
+ )
892
+
893
+ # Gets a rich menu via a rich menu ID.
894
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/{richMenuId}</code>
895
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
896
+ #
897
+ # @param rich_menu_id [String] ID of a rich menu
898
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu
899
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuResponse, Integer, Hash{String => String})] when HTTP status code is 200
900
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
901
+ def get_rich_menu_with_http_info: (
902
+ rich_menu_id: String
903
+ ) -> (
904
+ [RichMenuResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
905
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
906
+ )
907
+
908
+ # Gets a rich menu via a rich menu ID.
909
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/{richMenuId}</code>
910
+ # When you want to get HTTP status code or response headers, use {#get_rich_menu_with_http_info} instead of this.
911
+ #
912
+ # @param rich_menu_id [String] ID of a rich menu
913
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu
914
+ # @return [Line::Bot::V2::MessagingApi::RichMenuResponse] when HTTP status code is 200
915
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
916
+ def get_rich_menu: (
917
+ rich_menu_id: String
918
+ ) -> (
919
+ RichMenuResponse # when HTTP status code is 200
920
+ | String? # otherwise
921
+ )
922
+
923
+ # Get rich menu alias information
924
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}</code>
925
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
926
+ #
927
+ # @param rich_menu_alias_id [String] The rich menu alias ID whose information you want to obtain.
928
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id
929
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuAliasResponse, Integer, Hash{String => String})] when HTTP status code is 200
930
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
931
+ def get_rich_menu_alias_with_http_info: (
932
+ rich_menu_alias_id: String
933
+ ) -> (
934
+ [RichMenuAliasResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
935
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
936
+ )
937
+
938
+ # Get rich menu alias information
939
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}</code>
940
+ # When you want to get HTTP status code or response headers, use {#get_rich_menu_alias_with_http_info} instead of this.
941
+ #
942
+ # @param rich_menu_alias_id [String] The rich menu alias ID whose information you want to obtain.
943
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id
944
+ # @return [Line::Bot::V2::MessagingApi::RichMenuAliasResponse] when HTTP status code is 200
945
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
946
+ def get_rich_menu_alias: (
947
+ rich_menu_alias_id: String
948
+ ) -> (
949
+ RichMenuAliasResponse # when HTTP status code is 200
950
+ | String? # otherwise
951
+ )
952
+
953
+ # Get list of rich menu alias
954
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/alias/list</code>
955
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
956
+ #
957
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list
958
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuAliasListResponse, Integer, Hash{String => String})] when HTTP status code is 200
959
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
960
+ def get_rich_menu_alias_list_with_http_info: (
961
+ ) -> (
962
+ [RichMenuAliasListResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
963
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
964
+ )
965
+
966
+ # Get list of rich menu alias
967
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/alias/list</code>
968
+ # When you want to get HTTP status code or response headers, use {#get_rich_menu_alias_list_with_http_info} instead of this.
969
+ #
970
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list
971
+ # @return [Line::Bot::V2::MessagingApi::RichMenuAliasListResponse] when HTTP status code is 200
972
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
973
+ def get_rich_menu_alias_list: (
974
+ ) -> (
975
+ RichMenuAliasListResponse # when HTTP status code is 200
976
+ | String? # otherwise
977
+ )
978
+
979
+ # Get the status of Replace or unlink a linked rich menus in batches.
980
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/progress/batch</code>
981
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
982
+ #
983
+ # @param request_id [String] A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
984
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status
985
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuBatchProgressResponse, Integer, Hash{String => String})] when HTTP status code is 200
986
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
987
+ def get_rich_menu_batch_progress_with_http_info: (
988
+ request_id: String
989
+ ) -> (
990
+ [RichMenuBatchProgressResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
991
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
992
+ )
993
+
994
+ # Get the status of Replace or unlink a linked rich menus in batches.
995
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/progress/batch</code>
996
+ # When you want to get HTTP status code or response headers, use {#get_rich_menu_batch_progress_with_http_info} instead of this.
997
+ #
998
+ # @param request_id [String] A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
999
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status
1000
+ # @return [Line::Bot::V2::MessagingApi::RichMenuBatchProgressResponse] when HTTP status code is 200
1001
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1002
+ def get_rich_menu_batch_progress: (
1003
+ request_id: String
1004
+ ) -> (
1005
+ RichMenuBatchProgressResponse # when HTTP status code is 200
1006
+ | String? # otherwise
1007
+ )
1008
+
1009
+ # Get rich menu ID of user
1010
+ # This requests to <code>GET https://api.line.me/v2/bot/user/{userId}/richmenu</code>
1011
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1012
+ #
1013
+ # @param user_id [String] User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1014
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user
1015
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuIdResponse, Integer, Hash{String => String})] when HTTP status code is 200
1016
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1017
+ def get_rich_menu_id_of_user_with_http_info: (
1018
+ user_id: String
1019
+ ) -> (
1020
+ [RichMenuIdResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1021
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1022
+ )
1023
+
1024
+ # Get rich menu ID of user
1025
+ # This requests to <code>GET https://api.line.me/v2/bot/user/{userId}/richmenu</code>
1026
+ # When you want to get HTTP status code or response headers, use {#get_rich_menu_id_of_user_with_http_info} instead of this.
1027
+ #
1028
+ # @param user_id [String] User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1029
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user
1030
+ # @return [Line::Bot::V2::MessagingApi::RichMenuIdResponse] when HTTP status code is 200
1031
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1032
+ def get_rich_menu_id_of_user: (
1033
+ user_id: String
1034
+ ) -> (
1035
+ RichMenuIdResponse # when HTTP status code is 200
1036
+ | String? # otherwise
1037
+ )
1038
+
1039
+ # Get rich menu list
1040
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/list</code>
1041
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1042
+ #
1043
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list
1044
+ # @return [Array(Line::Bot::V2::MessagingApi::RichMenuListResponse, Integer, Hash{String => String})] when HTTP status code is 200
1045
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1046
+ def get_rich_menu_list_with_http_info: (
1047
+ ) -> (
1048
+ [RichMenuListResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1049
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1050
+ )
1051
+
1052
+ # Get rich menu list
1053
+ # This requests to <code>GET https://api.line.me/v2/bot/richmenu/list</code>
1054
+ # When you want to get HTTP status code or response headers, use {#get_rich_menu_list_with_http_info} instead of this.
1055
+ #
1056
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list
1057
+ # @return [Line::Bot::V2::MessagingApi::RichMenuListResponse] when HTTP status code is 200
1058
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1059
+ def get_rich_menu_list: (
1060
+ ) -> (
1061
+ RichMenuListResponse # when HTTP status code is 200
1062
+ | String? # otherwise
1063
+ )
1064
+
1065
+ # Get number of users in a multi-person chat
1066
+ # This requests to <code>GET https://api.line.me/v2/bot/room/{roomId}/members/count</code>
1067
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1068
+ #
1069
+ # @param room_id [String] Room ID
1070
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-members-room-count
1071
+ # @return [Array(Line::Bot::V2::MessagingApi::RoomMemberCountResponse, Integer, Hash{String => String})] when HTTP status code is 200
1072
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1073
+ def get_room_member_count_with_http_info: (
1074
+ room_id: String
1075
+ ) -> (
1076
+ [RoomMemberCountResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1077
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1078
+ )
1079
+
1080
+ # Get number of users in a multi-person chat
1081
+ # This requests to <code>GET https://api.line.me/v2/bot/room/{roomId}/members/count</code>
1082
+ # When you want to get HTTP status code or response headers, use {#get_room_member_count_with_http_info} instead of this.
1083
+ #
1084
+ # @param room_id [String] Room ID
1085
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-members-room-count
1086
+ # @return [Line::Bot::V2::MessagingApi::RoomMemberCountResponse] when HTTP status code is 200
1087
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1088
+ def get_room_member_count: (
1089
+ room_id: String
1090
+ ) -> (
1091
+ RoomMemberCountResponse # when HTTP status code is 200
1092
+ | String? # otherwise
1093
+ )
1094
+
1095
+ # Get multi-person chat member profile
1096
+ # This requests to <code>GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}</code>
1097
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1098
+ #
1099
+ # @param room_id [String] Room ID
1100
+ # @param user_id [String] User ID
1101
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile
1102
+ # @return [Array(Line::Bot::V2::MessagingApi::RoomUserProfileResponse, Integer, Hash{String => String})] when HTTP status code is 200
1103
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1104
+ def get_room_member_profile_with_http_info: (
1105
+ room_id: String,
1106
+ user_id: String
1107
+ ) -> (
1108
+ [RoomUserProfileResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1109
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1110
+ )
1111
+
1112
+ # Get multi-person chat member profile
1113
+ # This requests to <code>GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}</code>
1114
+ # When you want to get HTTP status code or response headers, use {#get_room_member_profile_with_http_info} instead of this.
1115
+ #
1116
+ # @param room_id [String] Room ID
1117
+ # @param user_id [String] User ID
1118
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile
1119
+ # @return [Line::Bot::V2::MessagingApi::RoomUserProfileResponse] when HTTP status code is 200
1120
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1121
+ def get_room_member_profile: (
1122
+ room_id: String,
1123
+ user_id: String
1124
+ ) -> (
1125
+ RoomUserProfileResponse # when HTTP status code is 200
1126
+ | String? # otherwise
1127
+ )
1128
+
1129
+ # Get multi-person chat member user IDs
1130
+ # This requests to <code>GET https://api.line.me/v2/bot/room/{roomId}/members/ids</code>
1131
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1132
+ #
1133
+ # @param room_id [String] Room ID
1134
+ # @param start [String, nil] Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
1135
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids
1136
+ # @return [Array(Line::Bot::V2::MessagingApi::MembersIdsResponse, Integer, Hash{String => String})] when HTTP status code is 200
1137
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1138
+ def get_room_members_ids_with_http_info: (
1139
+ room_id: String,
1140
+ ?start: String?
1141
+ ) -> (
1142
+ [MembersIdsResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1143
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1144
+ )
1145
+
1146
+ # Get multi-person chat member user IDs
1147
+ # This requests to <code>GET https://api.line.me/v2/bot/room/{roomId}/members/ids</code>
1148
+ # When you want to get HTTP status code or response headers, use {#get_room_members_ids_with_http_info} instead of this.
1149
+ #
1150
+ # @param room_id [String] Room ID
1151
+ # @param start [String, nil] Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.
1152
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids
1153
+ # @return [Line::Bot::V2::MessagingApi::MembersIdsResponse] when HTTP status code is 200
1154
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1155
+ def get_room_members_ids: (
1156
+ room_id: String,
1157
+ ?start: String?
1158
+ ) -> (
1159
+ MembersIdsResponse # when HTTP status code is 200
1160
+ | String? # otherwise
1161
+ )
1162
+
1163
+ # Get webhook endpoint information
1164
+ # This requests to <code>GET https://api.line.me/v2/bot/channel/webhook/endpoint</code>
1165
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1166
+ #
1167
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information
1168
+ # @return [Array(Line::Bot::V2::MessagingApi::GetWebhookEndpointResponse, Integer, Hash{String => String})] when HTTP status code is 200
1169
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1170
+ def get_webhook_endpoint_with_http_info: (
1171
+ ) -> (
1172
+ [GetWebhookEndpointResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1173
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1174
+ )
1175
+
1176
+ # Get webhook endpoint information
1177
+ # This requests to <code>GET https://api.line.me/v2/bot/channel/webhook/endpoint</code>
1178
+ # When you want to get HTTP status code or response headers, use {#get_webhook_endpoint_with_http_info} instead of this.
1179
+ #
1180
+ # @see https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information
1181
+ # @return [Line::Bot::V2::MessagingApi::GetWebhookEndpointResponse] when HTTP status code is 200
1182
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1183
+ def get_webhook_endpoint: (
1184
+ ) -> (
1185
+ GetWebhookEndpointResponse # when HTTP status code is 200
1186
+ | String? # otherwise
1187
+ )
1188
+
1189
+ # Issue link token
1190
+ # This requests to <code>POST https://api.line.me/v2/bot/user/{userId}/linkToken</code>
1191
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1192
+ #
1193
+ # @param user_id [String] User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE.
1194
+ # @see https://developers.line.biz/en/reference/messaging-api/#issue-link-token
1195
+ # @return [Array(Line::Bot::V2::MessagingApi::IssueLinkTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
1196
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1197
+ def issue_link_token_with_http_info: (
1198
+ user_id: String
1199
+ ) -> (
1200
+ [IssueLinkTokenResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1201
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1202
+ )
1203
+
1204
+ # Issue link token
1205
+ # This requests to <code>POST https://api.line.me/v2/bot/user/{userId}/linkToken</code>
1206
+ # When you want to get HTTP status code or response headers, use {#issue_link_token_with_http_info} instead of this.
1207
+ #
1208
+ # @param user_id [String] User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE.
1209
+ # @see https://developers.line.biz/en/reference/messaging-api/#issue-link-token
1210
+ # @return [Line::Bot::V2::MessagingApi::IssueLinkTokenResponse] when HTTP status code is 200
1211
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1212
+ def issue_link_token: (
1213
+ user_id: String
1214
+ ) -> (
1215
+ IssueLinkTokenResponse # when HTTP status code is 200
1216
+ | String? # otherwise
1217
+ )
1218
+
1219
+ # Leave group chat
1220
+ # This requests to <code>POST https://api.line.me/v2/bot/group/{groupId}/leave</code>
1221
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1222
+ #
1223
+ # @param group_id [String] Group ID
1224
+ # @see https://developers.line.biz/en/reference/messaging-api/#leave-group
1225
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1226
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1227
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 404
1228
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1229
+ def leave_group_with_http_info: (
1230
+ group_id: String
1231
+ ) -> (
1232
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1233
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1234
+ | [ErrorResponse, 404, Hash[untyped, untyped]] # when HTTP status code is 404
1235
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1236
+ )
1237
+
1238
+ # Leave group chat
1239
+ # This requests to <code>POST https://api.line.me/v2/bot/group/{groupId}/leave</code>
1240
+ # When you want to get HTTP status code or response headers, use {#leave_group_with_http_info} instead of this.
1241
+ #
1242
+ # @param group_id [String] Group ID
1243
+ # @see https://developers.line.biz/en/reference/messaging-api/#leave-group
1244
+ # @return [String, nil] when HTTP status code is 200
1245
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1246
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 404
1247
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1248
+ def leave_group: (
1249
+ group_id: String
1250
+ ) -> (
1251
+ String? # when HTTP status code is 200
1252
+ | ErrorResponse # when HTTP status code is 400
1253
+ | ErrorResponse # when HTTP status code is 404
1254
+ | String? # otherwise
1255
+ )
1256
+
1257
+ # Leave multi-person chat
1258
+ # This requests to <code>POST https://api.line.me/v2/bot/room/{roomId}/leave</code>
1259
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1260
+ #
1261
+ # @param room_id [String] Room ID
1262
+ # @see https://developers.line.biz/en/reference/messaging-api/#leave-room
1263
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1264
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1265
+ def leave_room_with_http_info: (
1266
+ room_id: String
1267
+ ) -> (
1268
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1269
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1270
+ )
1271
+
1272
+ # Leave multi-person chat
1273
+ # This requests to <code>POST https://api.line.me/v2/bot/room/{roomId}/leave</code>
1274
+ # When you want to get HTTP status code or response headers, use {#leave_room_with_http_info} instead of this.
1275
+ #
1276
+ # @param room_id [String] Room ID
1277
+ # @see https://developers.line.biz/en/reference/messaging-api/#leave-room
1278
+ # @return [String, nil] when HTTP status code is 200
1279
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1280
+ def leave_room: (
1281
+ room_id: String
1282
+ ) -> (
1283
+ String? # when HTTP status code is 200
1284
+ | String? # otherwise
1285
+ )
1286
+
1287
+ # Link rich menu to user.
1288
+ # This requests to <code>POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}</code>
1289
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1290
+ #
1291
+ # @param user_id [String] User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1292
+ # @param rich_menu_id [String] ID of a rich menu
1293
+ # @see https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user
1294
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1295
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1296
+ def link_rich_menu_id_to_user_with_http_info: (
1297
+ user_id: String,
1298
+ rich_menu_id: String
1299
+ ) -> (
1300
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1301
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1302
+ )
1303
+
1304
+ # Link rich menu to user.
1305
+ # This requests to <code>POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}</code>
1306
+ # When you want to get HTTP status code or response headers, use {#link_rich_menu_id_to_user_with_http_info} instead of this.
1307
+ #
1308
+ # @param user_id [String] User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1309
+ # @param rich_menu_id [String] ID of a rich menu
1310
+ # @see https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user
1311
+ # @return [String, nil] when HTTP status code is 200
1312
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1313
+ def link_rich_menu_id_to_user: (
1314
+ user_id: String,
1315
+ rich_menu_id: String
1316
+ ) -> (
1317
+ String? # when HTTP status code is 200
1318
+ | String? # otherwise
1319
+ )
1320
+
1321
+ # Link rich menu to multiple users
1322
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/bulk/link</code>
1323
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1324
+ #
1325
+ # @param rich_menu_bulk_link_request [RichMenuBulkLinkRequest]
1326
+ # @see https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users
1327
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
1328
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1329
+ def link_rich_menu_id_to_users_with_http_info: (
1330
+ rich_menu_bulk_link_request: RichMenuBulkLinkRequest
1331
+ ) -> (
1332
+ [String?, 202, Hash[untyped, untyped]] # when HTTP status code is 202
1333
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1334
+ )
1335
+
1336
+ # Link rich menu to multiple users
1337
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/bulk/link</code>
1338
+ # When you want to get HTTP status code or response headers, use {#link_rich_menu_id_to_users_with_http_info} instead of this.
1339
+ #
1340
+ # @param rich_menu_bulk_link_request [RichMenuBulkLinkRequest]
1341
+ # @see https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users
1342
+ # @return [String, nil] when HTTP status code is 202
1343
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1344
+ def link_rich_menu_id_to_users: (
1345
+ rich_menu_bulk_link_request: RichMenuBulkLinkRequest
1346
+ ) -> (
1347
+ String? # when HTTP status code is 202
1348
+ | String? # otherwise
1349
+ )
1350
+
1351
+ # Mark messages from users as read
1352
+ # This requests to <code>POST https://api.line.me/v2/bot/message/markAsRead</code>
1353
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1354
+ #
1355
+ # @param mark_messages_as_read_request [MarkMessagesAsReadRequest]
1356
+ # @see https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
1357
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1358
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1359
+ def mark_messages_as_read_with_http_info: (
1360
+ mark_messages_as_read_request: MarkMessagesAsReadRequest
1361
+ ) -> (
1362
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1363
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1364
+ )
1365
+
1366
+ # Mark messages from users as read
1367
+ # This requests to <code>POST https://api.line.me/v2/bot/message/markAsRead</code>
1368
+ # When you want to get HTTP status code or response headers, use {#mark_messages_as_read_with_http_info} instead of this.
1369
+ #
1370
+ # @param mark_messages_as_read_request [MarkMessagesAsReadRequest]
1371
+ # @see https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
1372
+ # @return [String, nil] when HTTP status code is 200
1373
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1374
+ def mark_messages_as_read: (
1375
+ mark_messages_as_read_request: MarkMessagesAsReadRequest
1376
+ ) -> (
1377
+ String? # when HTTP status code is 200
1378
+ | String? # otherwise
1379
+ )
1380
+
1381
+ # An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
1382
+ # This requests to <code>POST https://api.line.me/v2/bot/message/multicast</code>
1383
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1384
+ #
1385
+ # @param multicast_request [MulticastRequest]
1386
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1387
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
1388
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1389
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1390
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 403
1391
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 409
1392
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 429
1393
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1394
+ def multicast_with_http_info: (
1395
+ multicast_request: MulticastRequest,
1396
+ ?x_line_retry_key: String?
1397
+ ) -> (
1398
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1399
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1400
+ | [ErrorResponse, 403, Hash[untyped, untyped]] # when HTTP status code is 403
1401
+ | [ErrorResponse, 409, Hash[untyped, untyped]] # when HTTP status code is 409
1402
+ | [ErrorResponse, 429, Hash[untyped, untyped]] # when HTTP status code is 429
1403
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1404
+ )
1405
+
1406
+ # An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
1407
+ # This requests to <code>POST https://api.line.me/v2/bot/message/multicast</code>
1408
+ # When you want to get HTTP status code or response headers, use {#multicast_with_http_info} instead of this.
1409
+ #
1410
+ # @param multicast_request [MulticastRequest]
1411
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1412
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
1413
+ # @return [String, nil] when HTTP status code is 200
1414
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1415
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 403
1416
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 409
1417
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 429
1418
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1419
+ def multicast: (
1420
+ multicast_request: MulticastRequest,
1421
+ ?x_line_retry_key: String?
1422
+ ) -> (
1423
+ String? # when HTTP status code is 200
1424
+ | ErrorResponse # when HTTP status code is 400
1425
+ | ErrorResponse # when HTTP status code is 403
1426
+ | ErrorResponse # when HTTP status code is 409
1427
+ | ErrorResponse # when HTTP status code is 429
1428
+ | String? # otherwise
1429
+ )
1430
+
1431
+ # Send narrowcast message
1432
+ # This requests to <code>POST https://api.line.me/v2/bot/message/narrowcast</code>
1433
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1434
+ #
1435
+ # @param narrowcast_request [NarrowcastRequest]
1436
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1437
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
1438
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
1439
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1440
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 403
1441
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 409
1442
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 429
1443
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1444
+ def narrowcast_with_http_info: (
1445
+ narrowcast_request: NarrowcastRequest,
1446
+ ?x_line_retry_key: String?
1447
+ ) -> (
1448
+ [String?, 202, Hash[untyped, untyped]] # when HTTP status code is 202
1449
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1450
+ | [ErrorResponse, 403, Hash[untyped, untyped]] # when HTTP status code is 403
1451
+ | [ErrorResponse, 409, Hash[untyped, untyped]] # when HTTP status code is 409
1452
+ | [ErrorResponse, 429, Hash[untyped, untyped]] # when HTTP status code is 429
1453
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1454
+ )
1455
+
1456
+ # Send narrowcast message
1457
+ # This requests to <code>POST https://api.line.me/v2/bot/message/narrowcast</code>
1458
+ # When you want to get HTTP status code or response headers, use {#narrowcast_with_http_info} instead of this.
1459
+ #
1460
+ # @param narrowcast_request [NarrowcastRequest]
1461
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1462
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
1463
+ # @return [String, nil] when HTTP status code is 202
1464
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1465
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 403
1466
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 409
1467
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 429
1468
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1469
+ def narrowcast: (
1470
+ narrowcast_request: NarrowcastRequest,
1471
+ ?x_line_retry_key: String?
1472
+ ) -> (
1473
+ String? # when HTTP status code is 202
1474
+ | ErrorResponse # when HTTP status code is 400
1475
+ | ErrorResponse # when HTTP status code is 403
1476
+ | ErrorResponse # when HTTP status code is 409
1477
+ | ErrorResponse # when HTTP status code is 429
1478
+ | String? # otherwise
1479
+ )
1480
+
1481
+ # Sends a message to a user, group chat, or multi-person chat at any time.
1482
+ # This requests to <code>POST https://api.line.me/v2/bot/message/push</code>
1483
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1484
+ #
1485
+ # @param push_message_request [PushMessageRequest]
1486
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1487
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-push-message
1488
+ # @return [Array(Line::Bot::V2::MessagingApi::PushMessageResponse, Integer, Hash{String => String})] when HTTP status code is 200
1489
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1490
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 403
1491
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 409
1492
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 429
1493
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1494
+ def push_message_with_http_info: (
1495
+ push_message_request: PushMessageRequest,
1496
+ ?x_line_retry_key: String?
1497
+ ) -> (
1498
+ [PushMessageResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1499
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1500
+ | [ErrorResponse, 403, Hash[untyped, untyped]] # when HTTP status code is 403
1501
+ | [ErrorResponse, 409, Hash[untyped, untyped]] # when HTTP status code is 409
1502
+ | [ErrorResponse, 429, Hash[untyped, untyped]] # when HTTP status code is 429
1503
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1504
+ )
1505
+
1506
+ # Sends a message to a user, group chat, or multi-person chat at any time.
1507
+ # This requests to <code>POST https://api.line.me/v2/bot/message/push</code>
1508
+ # When you want to get HTTP status code or response headers, use {#push_message_with_http_info} instead of this.
1509
+ #
1510
+ # @param push_message_request [PushMessageRequest]
1511
+ # @param x_line_retry_key [String, nil] Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.
1512
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-push-message
1513
+ # @return [Line::Bot::V2::MessagingApi::PushMessageResponse] when HTTP status code is 200
1514
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1515
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 403
1516
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 409
1517
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 429
1518
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1519
+ def push_message: (
1520
+ push_message_request: PushMessageRequest,
1521
+ ?x_line_retry_key: String?
1522
+ ) -> (
1523
+ PushMessageResponse # when HTTP status code is 200
1524
+ | ErrorResponse # when HTTP status code is 400
1525
+ | ErrorResponse # when HTTP status code is 403
1526
+ | ErrorResponse # when HTTP status code is 409
1527
+ | ErrorResponse # when HTTP status code is 429
1528
+ | String? # otherwise
1529
+ )
1530
+
1531
+ # Send LINE notification message
1532
+ # This requests to <code>POST https://api.line.me/bot/pnp/push</code>
1533
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1534
+ #
1535
+ # @param pnp_messages_request [PnpMessagesRequest]
1536
+ # @param x_line_delivery_tag [String, nil] String returned in the delivery.data property of the delivery completion event via Webhook.
1537
+ # @see https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
1538
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1539
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 422
1540
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1541
+ def push_messages_by_phone_with_http_info: (
1542
+ pnp_messages_request: PnpMessagesRequest,
1543
+ ?x_line_delivery_tag: String?
1544
+ ) -> (
1545
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1546
+ | [ErrorResponse, 422, Hash[untyped, untyped]] # when HTTP status code is 422
1547
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1548
+ )
1549
+
1550
+ # Send LINE notification message
1551
+ # This requests to <code>POST https://api.line.me/bot/pnp/push</code>
1552
+ # When you want to get HTTP status code or response headers, use {#push_messages_by_phone_with_http_info} instead of this.
1553
+ #
1554
+ # @param pnp_messages_request [PnpMessagesRequest]
1555
+ # @param x_line_delivery_tag [String, nil] String returned in the delivery.data property of the delivery completion event via Webhook.
1556
+ # @see https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
1557
+ # @return [String, nil] when HTTP status code is 200
1558
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 422
1559
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1560
+ def push_messages_by_phone: (
1561
+ pnp_messages_request: PnpMessagesRequest,
1562
+ ?x_line_delivery_tag: String?
1563
+ ) -> (
1564
+ String? # when HTTP status code is 200
1565
+ | ErrorResponse # when HTTP status code is 422
1566
+ | String? # otherwise
1567
+ )
1568
+
1569
+ # Send reply message
1570
+ # This requests to <code>POST https://api.line.me/v2/bot/message/reply</code>
1571
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1572
+ #
1573
+ # @param reply_message_request [ReplyMessageRequest]
1574
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-reply-message
1575
+ # @return [Array(Line::Bot::V2::MessagingApi::ReplyMessageResponse, Integer, Hash{String => String})] when HTTP status code is 200
1576
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1577
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 429
1578
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1579
+ def reply_message_with_http_info: (
1580
+ reply_message_request: ReplyMessageRequest
1581
+ ) -> (
1582
+ [ReplyMessageResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1583
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1584
+ | [ErrorResponse, 429, Hash[untyped, untyped]] # when HTTP status code is 429
1585
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1586
+ )
1587
+
1588
+ # Send reply message
1589
+ # This requests to <code>POST https://api.line.me/v2/bot/message/reply</code>
1590
+ # When you want to get HTTP status code or response headers, use {#reply_message_with_http_info} instead of this.
1591
+ #
1592
+ # @param reply_message_request [ReplyMessageRequest]
1593
+ # @see https://developers.line.biz/en/reference/messaging-api/#send-reply-message
1594
+ # @return [Line::Bot::V2::MessagingApi::ReplyMessageResponse] when HTTP status code is 200
1595
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1596
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 429
1597
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1598
+ def reply_message: (
1599
+ reply_message_request: ReplyMessageRequest
1600
+ ) -> (
1601
+ ReplyMessageResponse # when HTTP status code is 200
1602
+ | ErrorResponse # when HTTP status code is 400
1603
+ | ErrorResponse # when HTTP status code is 429
1604
+ | String? # otherwise
1605
+ )
1606
+
1607
+ # You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu
1608
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/batch</code>
1609
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1610
+ #
1611
+ # @param rich_menu_batch_request [RichMenuBatchRequest]
1612
+ # @see https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users
1613
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
1614
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1615
+ def rich_menu_batch_with_http_info: (
1616
+ rich_menu_batch_request: RichMenuBatchRequest
1617
+ ) -> (
1618
+ [String?, 202, Hash[untyped, untyped]] # when HTTP status code is 202
1619
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1620
+ )
1621
+
1622
+ # You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu
1623
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/batch</code>
1624
+ # When you want to get HTTP status code or response headers, use {#rich_menu_batch_with_http_info} instead of this.
1625
+ #
1626
+ # @param rich_menu_batch_request [RichMenuBatchRequest]
1627
+ # @see https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users
1628
+ # @return [String, nil] when HTTP status code is 202
1629
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1630
+ def rich_menu_batch: (
1631
+ rich_menu_batch_request: RichMenuBatchRequest
1632
+ ) -> (
1633
+ String? # when HTTP status code is 202
1634
+ | String? # otherwise
1635
+ )
1636
+
1637
+ # Set default rich menu
1638
+ # This requests to <code>POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}</code>
1639
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1640
+ #
1641
+ # @param rich_menu_id [String] ID of a rich menu
1642
+ # @see https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu
1643
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1644
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1645
+ def set_default_rich_menu_with_http_info: (
1646
+ rich_menu_id: String
1647
+ ) -> (
1648
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1649
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1650
+ )
1651
+
1652
+ # Set default rich menu
1653
+ # This requests to <code>POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}</code>
1654
+ # When you want to get HTTP status code or response headers, use {#set_default_rich_menu_with_http_info} instead of this.
1655
+ #
1656
+ # @param rich_menu_id [String] ID of a rich menu
1657
+ # @see https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu
1658
+ # @return [String, nil] when HTTP status code is 200
1659
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1660
+ def set_default_rich_menu: (
1661
+ rich_menu_id: String
1662
+ ) -> (
1663
+ String? # when HTTP status code is 200
1664
+ | String? # otherwise
1665
+ )
1666
+
1667
+ # Set webhook endpoint URL
1668
+ # This requests to <code>PUT https://api.line.me/v2/bot/channel/webhook/endpoint</code>
1669
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1670
+ #
1671
+ # @param set_webhook_endpoint_request [SetWebhookEndpointRequest]
1672
+ # @see https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url
1673
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1674
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1675
+ def set_webhook_endpoint_with_http_info: (
1676
+ set_webhook_endpoint_request: SetWebhookEndpointRequest
1677
+ ) -> (
1678
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1679
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1680
+ )
1681
+
1682
+ # Set webhook endpoint URL
1683
+ # This requests to <code>PUT https://api.line.me/v2/bot/channel/webhook/endpoint</code>
1684
+ # When you want to get HTTP status code or response headers, use {#set_webhook_endpoint_with_http_info} instead of this.
1685
+ #
1686
+ # @param set_webhook_endpoint_request [SetWebhookEndpointRequest]
1687
+ # @see https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url
1688
+ # @return [String, nil] when HTTP status code is 200
1689
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1690
+ def set_webhook_endpoint: (
1691
+ set_webhook_endpoint_request: SetWebhookEndpointRequest
1692
+ ) -> (
1693
+ String? # when HTTP status code is 200
1694
+ | String? # otherwise
1695
+ )
1696
+
1697
+ # Display a loading animation in one-on-one chats between users and LINE Official Accounts.
1698
+ # This requests to <code>POST https://api.line.me/v2/bot/chat/loading/start</code>
1699
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1700
+ #
1701
+ # @param show_loading_animation_request [ShowLoadingAnimationRequest]
1702
+ # @see https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator
1703
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
1704
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1705
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1706
+ def show_loading_animation_with_http_info: (
1707
+ show_loading_animation_request: ShowLoadingAnimationRequest
1708
+ ) -> (
1709
+ [String?, 202, Hash[untyped, untyped]] # when HTTP status code is 202
1710
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1711
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1712
+ )
1713
+
1714
+ # Display a loading animation in one-on-one chats between users and LINE Official Accounts.
1715
+ # This requests to <code>POST https://api.line.me/v2/bot/chat/loading/start</code>
1716
+ # When you want to get HTTP status code or response headers, use {#show_loading_animation_with_http_info} instead of this.
1717
+ #
1718
+ # @param show_loading_animation_request [ShowLoadingAnimationRequest]
1719
+ # @see https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator
1720
+ # @return [String, nil] when HTTP status code is 202
1721
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1722
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1723
+ def show_loading_animation: (
1724
+ show_loading_animation_request: ShowLoadingAnimationRequest
1725
+ ) -> (
1726
+ String? # when HTTP status code is 202
1727
+ | ErrorResponse # when HTTP status code is 400
1728
+ | String? # otherwise
1729
+ )
1730
+
1731
+ # Test webhook endpoint
1732
+ # This requests to <code>POST https://api.line.me/v2/bot/channel/webhook/test</code>
1733
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1734
+ #
1735
+ # @param test_webhook_endpoint_request [TestWebhookEndpointRequest, nil]
1736
+ # @see https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
1737
+ # @return [Array(Line::Bot::V2::MessagingApi::TestWebhookEndpointResponse, Integer, Hash{String => String})] when HTTP status code is 200
1738
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1739
+ def test_webhook_endpoint_with_http_info: (
1740
+ ?test_webhook_endpoint_request: TestWebhookEndpointRequest?
1741
+ ) -> (
1742
+ [TestWebhookEndpointResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1743
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1744
+ )
1745
+
1746
+ # Test webhook endpoint
1747
+ # This requests to <code>POST https://api.line.me/v2/bot/channel/webhook/test</code>
1748
+ # When you want to get HTTP status code or response headers, use {#test_webhook_endpoint_with_http_info} instead of this.
1749
+ #
1750
+ # @param test_webhook_endpoint_request [TestWebhookEndpointRequest, nil]
1751
+ # @see https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
1752
+ # @return [Line::Bot::V2::MessagingApi::TestWebhookEndpointResponse] when HTTP status code is 200
1753
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1754
+ def test_webhook_endpoint: (
1755
+ ?test_webhook_endpoint_request: TestWebhookEndpointRequest?
1756
+ ) -> (
1757
+ TestWebhookEndpointResponse # when HTTP status code is 200
1758
+ | String? # otherwise
1759
+ )
1760
+
1761
+ # Unlink rich menu from user
1762
+ # This requests to <code>DELETE https://api.line.me/v2/bot/user/{userId}/richmenu</code>
1763
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1764
+ #
1765
+ # @param user_id [String] User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1766
+ # @see https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user
1767
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1768
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1769
+ def unlink_rich_menu_id_from_user_with_http_info: (
1770
+ user_id: String
1771
+ ) -> (
1772
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1773
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1774
+ )
1775
+
1776
+ # Unlink rich menu from user
1777
+ # This requests to <code>DELETE https://api.line.me/v2/bot/user/{userId}/richmenu</code>
1778
+ # When you want to get HTTP status code or response headers, use {#unlink_rich_menu_id_from_user_with_http_info} instead of this.
1779
+ #
1780
+ # @param user_id [String] User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
1781
+ # @see https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user
1782
+ # @return [String, nil] when HTTP status code is 200
1783
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1784
+ def unlink_rich_menu_id_from_user: (
1785
+ user_id: String
1786
+ ) -> (
1787
+ String? # when HTTP status code is 200
1788
+ | String? # otherwise
1789
+ )
1790
+
1791
+ # Unlink rich menus from multiple users
1792
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/bulk/unlink</code>
1793
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1794
+ #
1795
+ # @param rich_menu_bulk_unlink_request [RichMenuBulkUnlinkRequest]
1796
+ # @see https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users
1797
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
1798
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1799
+ def unlink_rich_menu_id_from_users_with_http_info: (
1800
+ rich_menu_bulk_unlink_request: RichMenuBulkUnlinkRequest
1801
+ ) -> (
1802
+ [String?, 202, Hash[untyped, untyped]] # when HTTP status code is 202
1803
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1804
+ )
1805
+
1806
+ # Unlink rich menus from multiple users
1807
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/bulk/unlink</code>
1808
+ # When you want to get HTTP status code or response headers, use {#unlink_rich_menu_id_from_users_with_http_info} instead of this.
1809
+ #
1810
+ # @param rich_menu_bulk_unlink_request [RichMenuBulkUnlinkRequest]
1811
+ # @see https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users
1812
+ # @return [String, nil] when HTTP status code is 202
1813
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1814
+ def unlink_rich_menu_id_from_users: (
1815
+ rich_menu_bulk_unlink_request: RichMenuBulkUnlinkRequest
1816
+ ) -> (
1817
+ String? # when HTTP status code is 202
1818
+ | String? # otherwise
1819
+ )
1820
+
1821
+ # Update rich menu alias
1822
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}</code>
1823
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1824
+ #
1825
+ # @param rich_menu_alias_id [String] The rich menu alias ID you want to update.
1826
+ # @param update_rich_menu_alias_request [UpdateRichMenuAliasRequest]
1827
+ # @see https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias
1828
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1829
+ # @return [Array(Line::Bot::V2::MessagingApi::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
1830
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1831
+ def update_rich_menu_alias_with_http_info: (
1832
+ rich_menu_alias_id: String,
1833
+ update_rich_menu_alias_request: UpdateRichMenuAliasRequest
1834
+ ) -> (
1835
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1836
+ | [ErrorResponse, 400, Hash[untyped, untyped]] # when HTTP status code is 400
1837
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1838
+ )
1839
+
1840
+ # Update rich menu alias
1841
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}</code>
1842
+ # When you want to get HTTP status code or response headers, use {#update_rich_menu_alias_with_http_info} instead of this.
1843
+ #
1844
+ # @param rich_menu_alias_id [String] The rich menu alias ID you want to update.
1845
+ # @param update_rich_menu_alias_request [UpdateRichMenuAliasRequest]
1846
+ # @see https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias
1847
+ # @return [String, nil] when HTTP status code is 200
1848
+ # @return [Line::Bot::V2::MessagingApi::ErrorResponse] when HTTP status code is 400
1849
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1850
+ def update_rich_menu_alias: (
1851
+ rich_menu_alias_id: String,
1852
+ update_rich_menu_alias_request: UpdateRichMenuAliasRequest
1853
+ ) -> (
1854
+ String? # when HTTP status code is 200
1855
+ | ErrorResponse # when HTTP status code is 400
1856
+ | String? # otherwise
1857
+ )
1858
+
1859
+ # Validate message objects of a broadcast message
1860
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/broadcast</code>
1861
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1862
+ #
1863
+ # @param validate_message_request [ValidateMessageRequest]
1864
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message
1865
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1866
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1867
+ def validate_broadcast_with_http_info: (
1868
+ validate_message_request: ValidateMessageRequest
1869
+ ) -> (
1870
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1871
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1872
+ )
1873
+
1874
+ # Validate message objects of a broadcast message
1875
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/broadcast</code>
1876
+ # When you want to get HTTP status code or response headers, use {#validate_broadcast_with_http_info} instead of this.
1877
+ #
1878
+ # @param validate_message_request [ValidateMessageRequest]
1879
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message
1880
+ # @return [String, nil] when HTTP status code is 200
1881
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1882
+ def validate_broadcast: (
1883
+ validate_message_request: ValidateMessageRequest
1884
+ ) -> (
1885
+ String? # when HTTP status code is 200
1886
+ | String? # otherwise
1887
+ )
1888
+
1889
+ # Validate message objects of a multicast message
1890
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/multicast</code>
1891
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1892
+ #
1893
+ # @param validate_message_request [ValidateMessageRequest]
1894
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message
1895
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1896
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1897
+ def validate_multicast_with_http_info: (
1898
+ validate_message_request: ValidateMessageRequest
1899
+ ) -> (
1900
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1901
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1902
+ )
1903
+
1904
+ # Validate message objects of a multicast message
1905
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/multicast</code>
1906
+ # When you want to get HTTP status code or response headers, use {#validate_multicast_with_http_info} instead of this.
1907
+ #
1908
+ # @param validate_message_request [ValidateMessageRequest]
1909
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message
1910
+ # @return [String, nil] when HTTP status code is 200
1911
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1912
+ def validate_multicast: (
1913
+ validate_message_request: ValidateMessageRequest
1914
+ ) -> (
1915
+ String? # when HTTP status code is 200
1916
+ | String? # otherwise
1917
+ )
1918
+
1919
+ # Validate message objects of a narrowcast message
1920
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/narrowcast</code>
1921
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1922
+ #
1923
+ # @param validate_message_request [ValidateMessageRequest]
1924
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message
1925
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1926
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1927
+ def validate_narrowcast_with_http_info: (
1928
+ validate_message_request: ValidateMessageRequest
1929
+ ) -> (
1930
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1931
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1932
+ )
1933
+
1934
+ # Validate message objects of a narrowcast message
1935
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/narrowcast</code>
1936
+ # When you want to get HTTP status code or response headers, use {#validate_narrowcast_with_http_info} instead of this.
1937
+ #
1938
+ # @param validate_message_request [ValidateMessageRequest]
1939
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message
1940
+ # @return [String, nil] when HTTP status code is 200
1941
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1942
+ def validate_narrowcast: (
1943
+ validate_message_request: ValidateMessageRequest
1944
+ ) -> (
1945
+ String? # when HTTP status code is 200
1946
+ | String? # otherwise
1947
+ )
1948
+
1949
+ # Validate message objects of a push message
1950
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/push</code>
1951
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1952
+ #
1953
+ # @param validate_message_request [ValidateMessageRequest]
1954
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message
1955
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1956
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1957
+ def validate_push_with_http_info: (
1958
+ validate_message_request: ValidateMessageRequest
1959
+ ) -> (
1960
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1961
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1962
+ )
1963
+
1964
+ # Validate message objects of a push message
1965
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/push</code>
1966
+ # When you want to get HTTP status code or response headers, use {#validate_push_with_http_info} instead of this.
1967
+ #
1968
+ # @param validate_message_request [ValidateMessageRequest]
1969
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message
1970
+ # @return [String, nil] when HTTP status code is 200
1971
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
1972
+ def validate_push: (
1973
+ validate_message_request: ValidateMessageRequest
1974
+ ) -> (
1975
+ String? # when HTTP status code is 200
1976
+ | String? # otherwise
1977
+ )
1978
+
1979
+ # Validate message objects of a reply message
1980
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/reply</code>
1981
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
1982
+ #
1983
+ # @param validate_message_request [ValidateMessageRequest]
1984
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message
1985
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
1986
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
1987
+ def validate_reply_with_http_info: (
1988
+ validate_message_request: ValidateMessageRequest
1989
+ ) -> (
1990
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
1991
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
1992
+ )
1993
+
1994
+ # Validate message objects of a reply message
1995
+ # This requests to <code>POST https://api.line.me/v2/bot/message/validate/reply</code>
1996
+ # When you want to get HTTP status code or response headers, use {#validate_reply_with_http_info} instead of this.
1997
+ #
1998
+ # @param validate_message_request [ValidateMessageRequest]
1999
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message
2000
+ # @return [String, nil] when HTTP status code is 200
2001
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
2002
+ def validate_reply: (
2003
+ validate_message_request: ValidateMessageRequest
2004
+ ) -> (
2005
+ String? # when HTTP status code is 200
2006
+ | String? # otherwise
2007
+ )
2008
+
2009
+ # Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
2010
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/validate/batch</code>
2011
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
2012
+ #
2013
+ # @param rich_menu_batch_request [RichMenuBatchRequest]
2014
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request
2015
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
2016
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
2017
+ def validate_rich_menu_batch_request_with_http_info: (
2018
+ rich_menu_batch_request: RichMenuBatchRequest
2019
+ ) -> (
2020
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
2021
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
2022
+ )
2023
+
2024
+ # Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
2025
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/validate/batch</code>
2026
+ # When you want to get HTTP status code or response headers, use {#validate_rich_menu_batch_request_with_http_info} instead of this.
2027
+ #
2028
+ # @param rich_menu_batch_request [RichMenuBatchRequest]
2029
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request
2030
+ # @return [String, nil] when HTTP status code is 200
2031
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
2032
+ def validate_rich_menu_batch_request: (
2033
+ rich_menu_batch_request: RichMenuBatchRequest
2034
+ ) -> (
2035
+ String? # when HTTP status code is 200
2036
+ | String? # otherwise
2037
+ )
2038
+
2039
+ # Validate rich menu object
2040
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/validate</code>
2041
+ # This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
2042
+ #
2043
+ # @param rich_menu_request [RichMenuRequest]
2044
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object
2045
+ # @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
2046
+ # @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
2047
+ def validate_rich_menu_object_with_http_info: (
2048
+ rich_menu_request: RichMenuRequest
2049
+ ) -> (
2050
+ [String?, 200, Hash[untyped, untyped]] # when HTTP status code is 200
2051
+ | [String?, Integer, Hash[untyped, untyped]] # otherwise
2052
+ )
2053
+
2054
+ # Validate rich menu object
2055
+ # This requests to <code>POST https://api.line.me/v2/bot/richmenu/validate</code>
2056
+ # When you want to get HTTP status code or response headers, use {#validate_rich_menu_object_with_http_info} instead of this.
2057
+ #
2058
+ # @param rich_menu_request [RichMenuRequest]
2059
+ # @see https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object
2060
+ # @return [String, nil] when HTTP status code is 200
2061
+ # @return [String, nil] when other HTTP status code is returned. This String is HTTP response body itself.
2062
+ def validate_rich_menu_object: (
2063
+ rich_menu_request: RichMenuRequest
2064
+ ) -> (
2065
+ String? # when HTTP status code is 200
2066
+ | String? # otherwise
2067
+ )
2068
+ end
2069
+ end
2070
+ end
2071
+ end
2072
+ end