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.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +38 -8
- data/README.md +1 -1
- data/lib/line/bot/{api → v1/api}/errors.rb +2 -0
- data/lib/line/bot/{api → v1/api}/version.rb +3 -1
- data/lib/line/bot/{api.rb → v1/api.rb} +3 -1
- data/lib/line/bot/{client.rb → v1/client.rb} +563 -3
- data/lib/line/bot/{event → v1/event}/account_link.rb +4 -0
- data/lib/line/bot/{event → v1/event}/base.rb +6 -0
- data/lib/line/bot/{event → v1/event}/beacon.rb +4 -0
- data/lib/line/bot/{event → v1/event}/follow.rb +4 -0
- data/lib/line/bot/{event → v1/event}/join.rb +4 -0
- data/lib/line/bot/{event → v1/event}/leave.rb +4 -0
- data/lib/line/bot/{event → v1/event}/member_joined.rb +4 -0
- data/lib/line/bot/{event → v1/event}/member_left.rb +4 -0
- data/lib/line/bot/{event → v1/event}/message.rb +6 -0
- data/lib/line/bot/{event → v1/event}/postback.rb +4 -0
- data/lib/line/bot/{event → v1/event}/things.rb +6 -0
- data/lib/line/bot/{event → v1/event}/unfollow.rb +4 -0
- data/lib/line/bot/{event → v1/event}/unsend.rb +4 -0
- data/lib/line/bot/{event → v1/event}/video_play_complete.rb +4 -0
- data/lib/line/bot/{event.rb → v1/event.rb} +14 -14
- data/lib/line/bot/{httpclient.rb → v1/httpclient.rb} +22 -0
- data/lib/line/bot/{util.rb → v1/util.rb} +4 -0
- data/lib/line/bot/v2/channel_access_token/api/channel_access_token_client.rb +533 -0
- data/lib/line/bot/v2/channel_access_token/core.rb +20 -0
- data/lib/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rb +68 -0
- data/lib/line/bot/v2/channel_access_token/model/error_response.rb +73 -0
- data/lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb +86 -0
- data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb +80 -0
- data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb +80 -0
- data/lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb +79 -0
- data/lib/line/bot/v2/http_client.rb +165 -0
- data/lib/line/bot/v2/insight/api/insight_client.rb +314 -0
- data/lib/line/bot/v2/insight/core.rb +32 -0
- data/lib/line/bot/v2/insight/model/age_tile.rb +72 -0
- data/lib/line/bot/v2/insight/model/app_type_tile.rb +72 -0
- data/lib/line/bot/v2/insight/model/area_tile.rb +72 -0
- data/lib/line/bot/v2/insight/model/error_detail.rb +72 -0
- data/lib/line/bot/v2/insight/model/error_response.rb +79 -0
- data/lib/line/bot/v2/insight/model/gender_tile.rb +72 -0
- data/lib/line/bot/v2/insight/model/get_friends_demographics_response.rb +128 -0
- data/lib/line/bot/v2/insight/model/get_message_event_response.rb +92 -0
- data/lib/line/bot/v2/insight/model/get_message_event_response_click.rb +90 -0
- data/lib/line/bot/v2/insight/model/get_message_event_response_message.rb +132 -0
- data/lib/line/bot/v2/insight/model/get_message_event_response_overview.rb +103 -0
- data/lib/line/bot/v2/insight/model/get_number_of_followers_response.rb +86 -0
- data/lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb +128 -0
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb +92 -0
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb +91 -0
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb +139 -0
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rb +86 -0
- data/lib/line/bot/v2/insight/model/subscription_period_tile.rb +72 -0
- data/lib/line/bot/v2/liff/api/liff_client.rb +273 -0
- data/lib/line/bot/v2/liff/core.rb +24 -0
- data/lib/line/bot/v2/liff/model/add_liff_app_request.rb +97 -0
- data/lib/line/bot/v2/liff/model/add_liff_app_response.rb +66 -0
- data/lib/line/bot/v2/liff/model/get_all_liff_apps_response.rb +72 -0
- data/lib/line/bot/v2/liff/model/liff_app.rb +102 -0
- data/lib/line/bot/v2/liff/model/liff_bot_prompt.rb +21 -0
- data/lib/line/bot/v2/liff/model/liff_features.rb +72 -0
- data/lib/line/bot/v2/liff/model/liff_scope.rb +21 -0
- data/lib/line/bot/v2/liff/model/liff_view.rb +79 -0
- data/lib/line/bot/v2/liff/model/update_liff_app_request.rb +97 -0
- data/lib/line/bot/v2/liff/model/update_liff_view.rb +79 -0
- data/lib/line/bot/v2/manage_audience/api/manage_audience_blob_client.rb +182 -0
- data/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb +616 -0
- data/lib/line/bot/v2/manage_audience/core.rb +42 -0
- data/lib/line/bot/v2/manage_audience/model/adaccount.rb +67 -0
- data/lib/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rb +86 -0
- data/lib/line/bot/v2/manage_audience/model/audience.rb +67 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group.rb +133 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_create_route.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_failed_type.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_job.rb +110 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_job_failed_type.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_job_status.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_job_type.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_permission.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_status.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group_type.rb +21 -0
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_request.rb +92 -0
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb +110 -0
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rb +80 -0
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rb +122 -0
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rb +74 -0
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rb +92 -0
- data/lib/line/bot/v2/manage_audience/model/detailed_owner.rb +79 -0
- data/lib/line/bot/v2/manage_audience/model/error_detail.rb +72 -0
- data/lib/line/bot/v2/manage_audience/model/error_response.rb +79 -0
- data/lib/line/bot/v2/manage_audience/model/get_audience_data_response.rb +86 -0
- data/lib/line/bot/v2/manage_audience/model/get_audience_groups_response.rb +104 -0
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rb +86 -0
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rb +104 -0
- data/lib/line/bot/v2/manage_audience/model/update_audience_group_description_request.rb +68 -0
- data/lib/line/bot/v2/messaging_api/api/messaging_api_blob_client.rb +282 -0
- data/lib/line/bot/v2/messaging_api/api/messaging_api_client.rb +3354 -0
- data/lib/line/bot/v2/messaging_api/core.rb +173 -0
- data/lib/line/bot/v2/messaging_api/model/action.rb +92 -0
- data/lib/line/bot/v2/messaging_api/model/age_demographic.rb +20 -0
- data/lib/line/bot/v2/messaging_api/model/age_demographic_filter.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/all_mention_target.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/alt_uri.rb +66 -0
- data/lib/line/bot/v2/messaging_api/model/app_type_demographic.rb +20 -0
- data/lib/line/bot/v2/messaging_api/model/app_type_demographic_filter.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/area_demographic.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/area_demographic_filter.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/audience_recipient.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/audio_message.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/bot_info_response.rb +103 -0
- data/lib/line/bot/v2/messaging_api/model/broadcast_request.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/buttons_template.rb +120 -0
- data/lib/line/bot/v2/messaging_api/model/camera_action.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/camera_roll_action.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/carousel_column.rb +103 -0
- data/lib/line/bot/v2/messaging_api/model/carousel_template.rb +90 -0
- data/lib/line/bot/v2/messaging_api/model/chat_reference.rb +68 -0
- data/lib/line/bot/v2/messaging_api/model/clipboard_action.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rb +85 -0
- data/lib/line/bot/v2/messaging_api/model/confirm_template.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/datetime_picker_action.rb +103 -0
- data/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +82 -0
- data/lib/line/bot/v2/messaging_api/model/emoji.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/emoji_substitution_object.rb +80 -0
- data/lib/line/bot/v2/messaging_api/model/error_detail.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/error_response.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/filter.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/flex_block_style.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box.rb +234 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +76 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box_border_width.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box_corner_radius.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rb +96 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box_padding.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_box_spacing.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_bubble.rb +114 -0
- data/lib/line/bot/v2/messaging_api/model/flex_bubble_styles.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/flex_button.rb +150 -0
- data/lib/line/bot/v2/messaging_api/model/flex_carousel.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/flex_component.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/flex_container.rb +77 -0
- data/lib/line/bot/v2/messaging_api/model/flex_filler.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/flex_icon.rb +127 -0
- data/lib/line/bot/v2/messaging_api/model/flex_icon_size.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_image.rb +163 -0
- data/lib/line/bot/v2/messaging_api/model/flex_image_size.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_margin.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_message.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/flex_offset.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_separator.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/flex_span.rb +102 -0
- data/lib/line/bot/v2/messaging_api/model/flex_span_size.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_text.rb +204 -0
- data/lib/line/bot/v2/messaging_api/model/flex_text_font_size.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/flex_video.rb +96 -0
- data/lib/line/bot/v2/messaging_api/model/gender_demographic.rb +20 -0
- data/lib/line/bot/v2/messaging_api/model/gender_demographic_filter.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/get_followers_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rb +74 -0
- data/lib/line/bot/v2/messaging_api/model/get_membership_subscription_response.rb +74 -0
- data/lib/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rb +68 -0
- data/lib/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/group_member_count_response.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/group_summary_response.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/group_user_profile_response.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/image_carousel_column.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/image_carousel_template.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/image_message.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +85 -0
- data/lib/line/bot/v2/messaging_api/model/imagemap_area.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/imagemap_base_size.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/imagemap_external_link.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/imagemap_message.rb +115 -0
- data/lib/line/bot/v2/messaging_api/model/imagemap_video.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/issue_link_token_response.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/limit.rb +74 -0
- data/lib/line/bot/v2/messaging_api/model/location_action.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/location_message.rb +103 -0
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/members_ids_response.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/membership.rb +120 -0
- data/lib/line/bot/v2/messaging_api/model/membership_list_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/mention_substitution_object.rb +74 -0
- data/lib/line/bot/v2/messaging_api/model/mention_target.rb +77 -0
- data/lib/line/bot/v2/messaging_api/model/message.rb +98 -0
- data/lib/line/bot/v2/messaging_api/model/message_action.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/message_imagemap_action.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/message_quota_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/multicast_request.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/narrowcast_progress_response.rb +109 -0
- data/lib/line/bot/v2/messaging_api/model/narrowcast_request.rb +97 -0
- data/lib/line/bot/v2/messaging_api/model/number_of_messages_response.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/operator_demographic_filter.rb +96 -0
- data/lib/line/bot/v2/messaging_api/model/operator_recipient.rb +96 -0
- data/lib/line/bot/v2/messaging_api/model/pnp_messages_request.rb +85 -0
- data/lib/line/bot/v2/messaging_api/model/postback_action.rb +102 -0
- data/lib/line/bot/v2/messaging_api/model/push_message_request.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/push_message_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/quick_reply.rb +74 -0
- data/lib/line/bot/v2/messaging_api/model/quick_reply_item.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/quota_consumption_response.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/quota_type.rb +22 -0
- data/lib/line/bot/v2/messaging_api/model/recipient.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/redelivery_recipient.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/reply_message_request.rb +85 -0
- data/lib/line/bot/v2/messaging_api/model/reply_message_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_response.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_area.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +80 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_phase.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_request.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bounds.rb +86 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_id_response.rb +66 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_list_response.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_request.rb +96 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_response.rb +102 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_size.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/rich_menu_switch_action.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/room_member_count_response.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/room_user_profile_response.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/sender.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/sent_message.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/show_loading_animation_request.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/sticker_message.rb +97 -0
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_plan.rb +97 -0
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_user.rb +85 -0
- data/lib/line/bot/v2/messaging_api/model/subscription.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic.rb +20 -0
- data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/substitution_object.rb +78 -0
- data/lib/line/bot/v2/messaging_api/model/template.rb +79 -0
- data/lib/line/bot/v2/messaging_api/model/template_image_aspect_ratio.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/template_image_size.rb +21 -0
- data/lib/line/bot/v2/messaging_api/model/template_message.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/text_message.rb +103 -0
- data/lib/line/bot/v2/messaging_api/model/text_message_v2.rb +97 -0
- data/lib/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rb +67 -0
- data/lib/line/bot/v2/messaging_api/model/uri_action.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/uri_imagemap_action.rb +84 -0
- data/lib/line/bot/v2/messaging_api/model/user_mention_target.rb +73 -0
- data/lib/line/bot/v2/messaging_api/model/user_profile_response.rb +91 -0
- data/lib/line/bot/v2/messaging_api/model/validate_message_request.rb +72 -0
- data/lib/line/bot/v2/messaging_api/model/video_message.rb +97 -0
- data/lib/line/bot/v2/module/api/line_module_client.rb +247 -0
- data/lib/line/bot/v2/module/core.rb +18 -0
- data/lib/line/bot/v2/module/model/acquire_chat_control_request.rb +74 -0
- data/lib/line/bot/v2/module/model/detach_module_request.rb +68 -0
- data/lib/line/bot/v2/module/model/get_modules_response.rb +80 -0
- data/lib/line/bot/v2/module/model/module_bot.rb +92 -0
- data/lib/line/bot/v2/module_attach/api/line_module_attach_client.rb +160 -0
- data/lib/line/bot/v2/module_attach/core.rb +15 -0
- data/lib/line/bot/v2/module_attach/model/attach_module_response.rb +73 -0
- data/lib/line/bot/v2/reserved_words.rb +50 -0
- data/lib/line/bot/v2/shop/api/shop_client.rb +95 -0
- data/lib/line/bot/v2/shop/core.rb +16 -0
- data/lib/line/bot/v2/shop/model/error_response.rb +67 -0
- data/lib/line/bot/v2/shop/model/mission_sticker_request.rb +86 -0
- data/lib/line/bot/v2/utils.rb +143 -0
- data/lib/line/bot/v2/webhook/core.rb +77 -0
- data/lib/line/bot/v2/webhook/model/account_link_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/action_result.rb +72 -0
- data/lib/line/bot/v2/webhook/model/activated_event.rb +103 -0
- data/lib/line/bot/v2/webhook/model/all_mentionee.rb +79 -0
- data/lib/line/bot/v2/webhook/model/attached_module_content.rb +78 -0
- data/lib/line/bot/v2/webhook/model/audio_message_content.rb +84 -0
- data/lib/line/bot/v2/webhook/model/beacon_content.rb +78 -0
- data/lib/line/bot/v2/webhook/model/beacon_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/bot_resumed_event.rb +97 -0
- data/lib/line/bot/v2/webhook/model/bot_suspended_event.rb +97 -0
- data/lib/line/bot/v2/webhook/model/callback_request.rb +80 -0
- data/lib/line/bot/v2/webhook/model/chat_control.rb +66 -0
- data/lib/line/bot/v2/webhook/model/content_provider.rb +79 -0
- data/lib/line/bot/v2/webhook/model/deactivated_event.rb +97 -0
- data/lib/line/bot/v2/webhook/model/delivery_context.rb +67 -0
- data/lib/line/bot/v2/webhook/model/detached_module_content.rb +78 -0
- data/lib/line/bot/v2/webhook/model/emoji.rb +84 -0
- data/lib/line/bot/v2/webhook/model/event.rb +126 -0
- data/lib/line/bot/v2/webhook/model/event_mode.rb +21 -0
- data/lib/line/bot/v2/webhook/model/file_message_content.rb +84 -0
- data/lib/line/bot/v2/webhook/model/follow_detail.rb +66 -0
- data/lib/line/bot/v2/webhook/model/follow_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/group_source.rb +78 -0
- data/lib/line/bot/v2/webhook/model/image_message_content.rb +90 -0
- data/lib/line/bot/v2/webhook/model/image_set.rb +78 -0
- data/lib/line/bot/v2/webhook/model/join_event.rb +103 -0
- data/lib/line/bot/v2/webhook/model/joined_members.rb +72 -0
- data/lib/line/bot/v2/webhook/model/joined_membership_content.rb +72 -0
- data/lib/line/bot/v2/webhook/model/leave_event.rb +97 -0
- data/lib/line/bot/v2/webhook/model/left_members.rb +72 -0
- data/lib/line/bot/v2/webhook/model/left_membership_content.rb +72 -0
- data/lib/line/bot/v2/webhook/model/link_content.rb +73 -0
- data/lib/line/bot/v2/webhook/model/link_things_content.rb +72 -0
- data/lib/line/bot/v2/webhook/model/location_message_content.rb +96 -0
- data/lib/line/bot/v2/webhook/model/member_joined_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/member_left_event.rb +103 -0
- data/lib/line/bot/v2/webhook/model/membership_content.rb +79 -0
- data/lib/line/bot/v2/webhook/model/membership_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/mention.rb +72 -0
- data/lib/line/bot/v2/webhook/model/mentionee.rb +90 -0
- data/lib/line/bot/v2/webhook/model/message_content.rb +89 -0
- data/lib/line/bot/v2/webhook/model/message_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/module_content.rb +77 -0
- data/lib/line/bot/v2/webhook/model/module_event.rb +103 -0
- data/lib/line/bot/v2/webhook/model/pnp_delivery.rb +67 -0
- data/lib/line/bot/v2/webhook/model/pnp_delivery_completion_event.rb +103 -0
- data/lib/line/bot/v2/webhook/model/postback_content.rb +72 -0
- data/lib/line/bot/v2/webhook/model/postback_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/renewed_membership_content.rb +72 -0
- data/lib/line/bot/v2/webhook/model/room_source.rb +78 -0
- data/lib/line/bot/v2/webhook/model/scenario_result.rb +115 -0
- data/lib/line/bot/v2/webhook/model/scenario_result_things_content.rb +78 -0
- data/lib/line/bot/v2/webhook/model/source.rb +80 -0
- data/lib/line/bot/v2/webhook/model/sticker_message_content.rb +115 -0
- data/lib/line/bot/v2/webhook/model/text_message_content.rb +108 -0
- data/lib/line/bot/v2/webhook/model/things_content.rb +78 -0
- data/lib/line/bot/v2/webhook/model/things_event.rb +109 -0
- data/lib/line/bot/v2/webhook/model/unfollow_event.rb +97 -0
- data/lib/line/bot/v2/webhook/model/unlink_things_content.rb +72 -0
- data/lib/line/bot/v2/webhook/model/unsend_detail.rb +66 -0
- data/lib/line/bot/v2/webhook/model/unsend_event.rb +103 -0
- data/lib/line/bot/v2/webhook/model/user_mentionee.rb +91 -0
- data/lib/line/bot/v2/webhook/model/user_source.rb +72 -0
- data/lib/line/bot/v2/webhook/model/video_message_content.rb +90 -0
- data/lib/line/bot/v2/webhook/model/video_play_complete.rb +66 -0
- data/lib/line/bot/v2/webhook/model/video_play_complete_event.rb +109 -0
- data/lib/line/bot/v2/webhook_parser.rb +94 -0
- data/lib/line/bot/version.rb +7 -0
- data/lib/line/bot.rb +24 -9
- data/line-bot-api.gemspec +23 -18
- data/sig/line/bot/v2/channel_access_token/api/channel_access_token_client.rbs +327 -0
- data/sig/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rbs +41 -0
- data/sig/line/bot/v2/channel_access_token/model/error_response.rbs +43 -0
- data/sig/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rbs +50 -0
- data/sig/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rbs +47 -0
- data/sig/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rbs +47 -0
- data/sig/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rbs +46 -0
- data/sig/line/bot/v2/http_client.rbs +111 -0
- data/sig/line/bot/v2/insight/api/insight_client.rbs +196 -0
- data/sig/line/bot/v2/insight/model/age_tile.rbs +42 -0
- data/sig/line/bot/v2/insight/model/app_type_tile.rbs +42 -0
- data/sig/line/bot/v2/insight/model/area_tile.rbs +42 -0
- data/sig/line/bot/v2/insight/model/error_detail.rbs +42 -0
- data/sig/line/bot/v2/insight/model/error_response.rbs +43 -0
- data/sig/line/bot/v2/insight/model/gender_tile.rbs +42 -0
- data/sig/line/bot/v2/insight/model/get_friends_demographics_response.rbs +56 -0
- data/sig/line/bot/v2/insight/model/get_message_event_response.rbs +47 -0
- data/sig/line/bot/v2/insight/model/get_message_event_response_click.rbs +51 -0
- data/sig/line/bot/v2/insight/model/get_message_event_response_message.rbs +72 -0
- data/sig/line/bot/v2/insight/model/get_message_event_response_overview.rbs +58 -0
- data/sig/line/bot/v2/insight/model/get_number_of_followers_response.rbs +50 -0
- data/sig/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rbs +71 -0
- data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response.rbs +47 -0
- data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rbs +52 -0
- data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rbs +76 -0
- data/sig/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rbs +50 -0
- data/sig/line/bot/v2/insight/model/subscription_period_tile.rbs +42 -0
- data/sig/line/bot/v2/liff/api/liff_client.rbs +198 -0
- data/sig/line/bot/v2/liff/model/add_liff_app_request.rbs +55 -0
- data/sig/line/bot/v2/liff/model/add_liff_app_response.rbs +39 -0
- data/sig/line/bot/v2/liff/model/get_all_liff_apps_response.rbs +39 -0
- data/sig/line/bot/v2/liff/model/liff_app.rbs +57 -0
- data/sig/line/bot/v2/liff/model/liff_bot_prompt.rbs +21 -0
- data/sig/line/bot/v2/liff/model/liff_features.rbs +42 -0
- data/sig/line/bot/v2/liff/model/liff_scope.rbs +21 -0
- data/sig/line/bot/v2/liff/model/liff_view.rbs +46 -0
- data/sig/line/bot/v2/liff/model/update_liff_app_request.rbs +55 -0
- data/sig/line/bot/v2/liff/model/update_liff_view.rbs +46 -0
- data/sig/line/bot/v2/manage_audience/api/manage_audience_blob_client.rbs +122 -0
- data/sig/line/bot/v2/manage_audience/api/manage_audience_client.rbs +394 -0
- data/sig/line/bot/v2/manage_audience/model/adaccount.rbs +40 -0
- data/sig/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rbs +47 -0
- data/sig/line/bot/v2/manage_audience/model/audience.rbs +40 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group.rbs +73 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_create_route.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_failed_type.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_job.rbs +62 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_job_failed_type.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_job_status.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_job_type.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_permission.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_status.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group_type.rbs +21 -0
- data/sig/line/bot/v2/manage_audience/model/create_audience_group_request.rbs +50 -0
- data/sig/line/bot/v2/manage_audience/model/create_audience_group_response.rbs +62 -0
- data/sig/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rbs +47 -0
- data/sig/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rbs +68 -0
- data/sig/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rbs +44 -0
- data/sig/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rbs +53 -0
- data/sig/line/bot/v2/manage_audience/model/detailed_owner.rbs +46 -0
- data/sig/line/bot/v2/manage_audience/model/error_detail.rbs +42 -0
- data/sig/line/bot/v2/manage_audience/model/error_response.rbs +43 -0
- data/sig/line/bot/v2/manage_audience/model/get_audience_data_response.rbs +47 -0
- data/sig/line/bot/v2/manage_audience/model/get_audience_groups_response.rbs +56 -0
- data/sig/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rbs +47 -0
- data/sig/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rbs +56 -0
- data/sig/line/bot/v2/manage_audience/model/update_audience_group_description_request.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/api/messaging_api_blob_client.rbs +196 -0
- data/sig/line/bot/v2/messaging_api/api/messaging_api_client.rbs +2072 -0
- data/sig/line/bot/v2/messaging_api/model/action.rbs +48 -0
- data/sig/line/bot/v2/messaging_api/model/age_demographic.rbs +20 -0
- data/sig/line/bot/v2/messaging_api/model/age_demographic_filter.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/all_mention_target.rbs +38 -0
- data/sig/line/bot/v2/messaging_api/model/alt_uri.rbs +39 -0
- data/sig/line/bot/v2/messaging_api/model/app_type_demographic.rbs +20 -0
- data/sig/line/bot/v2/messaging_api/model/app_type_demographic_filter.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/area_demographic.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/area_demographic_filter.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/audience_recipient.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/audio_message.rbs +50 -0
- data/sig/line/bot/v2/messaging_api/model/bot_info_response.rbs +58 -0
- data/sig/line/bot/v2/messaging_api/model/broadcast_request.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/buttons_template.rbs +61 -0
- data/sig/line/bot/v2/messaging_api/model/camera_action.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/camera_roll_action.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/carousel_column.rbs +55 -0
- data/sig/line/bot/v2/messaging_api/model/carousel_template.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/chat_reference.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/model/clipboard_action.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rbs +47 -0
- data/sig/line/bot/v2/messaging_api/model/confirm_template.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/datetime_picker_action.rbs +56 -0
- data/sig/line/bot/v2/messaging_api/model/demographic_filter.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/emoji.rbs +45 -0
- data/sig/line/bot/v2/messaging_api/model/emoji_substitution_object.rbs +45 -0
- data/sig/line/bot/v2/messaging_api/model/error_detail.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/error_response.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/filter.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/flex_block_style.rbs +45 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box.rbs +118 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box_background.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box_border_width.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box_corner_radius.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rbs +52 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box_padding.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_box_spacing.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_bubble.rbs +61 -0
- data/sig/line/bot/v2/messaging_api/model/flex_bubble_styles.rbs +48 -0
- data/sig/line/bot/v2/messaging_api/model/flex_button.rbs +79 -0
- data/sig/line/bot/v2/messaging_api/model/flex_carousel.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/flex_component.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/flex_container.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/flex_filler.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/flex_icon.rbs +68 -0
- data/sig/line/bot/v2/messaging_api/model/flex_icon_size.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_image.rbs +86 -0
- data/sig/line/bot/v2/messaging_api/model/flex_image_size.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_margin.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_message.rbs +50 -0
- data/sig/line/bot/v2/messaging_api/model/flex_offset.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_separator.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/flex_span.rbs +55 -0
- data/sig/line/bot/v2/messaging_api/model/flex_span_size.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_text.rbs +103 -0
- data/sig/line/bot/v2/messaging_api/model/flex_text_font_size.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/flex_video.rbs +52 -0
- data/sig/line/bot/v2/messaging_api/model/gender_demographic.rbs +20 -0
- data/sig/line/bot/v2/messaging_api/model/gender_demographic_filter.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/get_followers_response.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/get_membership_subscription_response.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/group_member_count_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/group_summary_response.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/group_user_profile_response.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/image_carousel_column.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/image_carousel_template.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/image_message.rbs +50 -0
- data/sig/line/bot/v2/messaging_api/model/imagemap_action.rbs +47 -0
- data/sig/line/bot/v2/messaging_api/model/imagemap_area.rbs +48 -0
- data/sig/line/bot/v2/messaging_api/model/imagemap_base_size.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/imagemap_external_link.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/imagemap_message.rbs +59 -0
- data/sig/line/bot/v2/messaging_api/model/imagemap_video.rbs +48 -0
- data/sig/line/bot/v2/messaging_api/model/issue_link_token_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/limit.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/location_action.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/location_message.rbs +56 -0
- data/sig/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/members_ids_response.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/membership.rbs +66 -0
- data/sig/line/bot/v2/messaging_api/model/membership_list_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/mention_substitution_object.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/mention_target.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/message.rbs +50 -0
- data/sig/line/bot/v2/messaging_api/model/message_action.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/message_imagemap_action.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/message_quota_response.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/multicast_request.rbs +49 -0
- data/sig/line/bot/v2/messaging_api/model/narrowcast_progress_response.rbs +61 -0
- data/sig/line/bot/v2/messaging_api/model/narrowcast_request.rbs +52 -0
- data/sig/line/bot/v2/messaging_api/model/number_of_messages_response.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/operator_demographic_filter.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/operator_recipient.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/pnp_messages_request.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/postback_action.rbs +55 -0
- data/sig/line/bot/v2/messaging_api/model/push_message_request.rbs +49 -0
- data/sig/line/bot/v2/messaging_api/model/push_message_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/quick_reply.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/model/quick_reply_item.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/quota_consumption_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/quota_type.rbs +22 -0
- data/sig/line/bot/v2/messaging_api/model/recipient.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/redelivery_recipient.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/reply_message_request.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/reply_message_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_alias_response.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_area.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rbs +45 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_progress_phase.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_request.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rbs +38 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_bounds.rbs +50 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_id_response.rbs +39 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_list_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_request.rbs +51 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_response.rbs +54 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_size.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/rich_menu_switch_action.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/room_member_count_response.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/room_user_profile_response.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/sender.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/sent_message.rbs +42 -0
- data/sig/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/show_loading_animation_request.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/sticker_message.rbs +53 -0
- data/sig/line/bot/v2/messaging_api/model/subscribed_membership_plan.rbs +55 -0
- data/sig/line/bot/v2/messaging_api/model/subscribed_membership_user.rbs +49 -0
- data/sig/line/bot/v2/messaging_api/model/subscription.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/subscription_period_demographic.rbs +20 -0
- data/sig/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/substitution_object.rbs +44 -0
- data/sig/line/bot/v2/messaging_api/model/template.rbs +43 -0
- data/sig/line/bot/v2/messaging_api/model/template_image_aspect_ratio.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/template_image_size.rbs +21 -0
- data/sig/line/bot/v2/messaging_api/model/template_message.rbs +50 -0
- data/sig/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rbs +52 -0
- data/sig/line/bot/v2/messaging_api/model/text_message.rbs +53 -0
- data/sig/line/bot/v2/messaging_api/model/text_message_v2.rbs +53 -0
- data/sig/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rbs +40 -0
- data/sig/line/bot/v2/messaging_api/model/uri_action.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/uri_imagemap_action.rbs +46 -0
- data/sig/line/bot/v2/messaging_api/model/user_mention_target.rbs +41 -0
- data/sig/line/bot/v2/messaging_api/model/user_profile_response.rbs +52 -0
- data/sig/line/bot/v2/messaging_api/model/validate_message_request.rbs +39 -0
- data/sig/line/bot/v2/messaging_api/model/video_message.rbs +53 -0
- data/sig/line/bot/v2/module/api/line_module_client.rbs +170 -0
- data/sig/line/bot/v2/module/model/acquire_chat_control_request.rbs +44 -0
- data/sig/line/bot/v2/module/model/detach_module_request.rbs +41 -0
- data/sig/line/bot/v2/module/model/get_modules_response.rbs +44 -0
- data/sig/line/bot/v2/module/model/module_bot.rbs +53 -0
- data/sig/line/bot/v2/module_attach/api/line_module_attach_client.rbs +111 -0
- data/sig/line/bot/v2/module_attach/model/attach_module_response.rbs +43 -0
- data/sig/line/bot/v2/reserved_words.rbs +7 -0
- data/sig/line/bot/v2/shop/api/shop_client.rbs +72 -0
- data/sig/line/bot/v2/shop/model/error_response.rbs +40 -0
- data/sig/line/bot/v2/shop/model/mission_sticker_request.rbs +50 -0
- data/sig/line/bot/v2/utils.rbs +25 -0
- data/sig/line/bot/v2/webhook/model/account_link_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/action_result.rbs +42 -0
- data/sig/line/bot/v2/webhook/model/activated_event.rbs +56 -0
- data/sig/line/bot/v2/webhook/model/all_mentionee.rbs +44 -0
- data/sig/line/bot/v2/webhook/model/attached_module_content.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/audio_message_content.rbs +46 -0
- data/sig/line/bot/v2/webhook/model/beacon_content.rbs +45 -0
- data/sig/line/bot/v2/webhook/model/beacon_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/bot_resumed_event.rbs +53 -0
- data/sig/line/bot/v2/webhook/model/bot_suspended_event.rbs +53 -0
- data/sig/line/bot/v2/webhook/model/callback_request.rbs +44 -0
- data/sig/line/bot/v2/webhook/model/chat_control.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/content_provider.rbs +46 -0
- data/sig/line/bot/v2/webhook/model/deactivated_event.rbs +53 -0
- data/sig/line/bot/v2/webhook/model/delivery_context.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/detached_module_content.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/emoji.rbs +48 -0
- data/sig/line/bot/v2/webhook/model/event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/event_mode.rbs +21 -0
- data/sig/line/bot/v2/webhook/model/file_message_content.rbs +46 -0
- data/sig/line/bot/v2/webhook/model/follow_detail.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/follow_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/group_source.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/image_message_content.rbs +49 -0
- data/sig/line/bot/v2/webhook/model/image_set.rbs +45 -0
- data/sig/line/bot/v2/webhook/model/join_event.rbs +56 -0
- data/sig/line/bot/v2/webhook/model/joined_members.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/joined_membership_content.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/leave_event.rbs +53 -0
- data/sig/line/bot/v2/webhook/model/left_members.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/left_membership_content.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/link_content.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/link_things_content.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/location_message_content.rbs +52 -0
- data/sig/line/bot/v2/webhook/model/member_joined_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/member_left_event.rbs +56 -0
- data/sig/line/bot/v2/webhook/model/membership_content.rbs +44 -0
- data/sig/line/bot/v2/webhook/model/membership_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/mention.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/mentionee.rbs +50 -0
- data/sig/line/bot/v2/webhook/model/message_content.rbs +47 -0
- data/sig/line/bot/v2/webhook/model/message_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/module_content.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/module_event.rbs +56 -0
- data/sig/line/bot/v2/webhook/model/pnp_delivery.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/pnp_delivery_completion_event.rbs +56 -0
- data/sig/line/bot/v2/webhook/model/postback_content.rbs +42 -0
- data/sig/line/bot/v2/webhook/model/postback_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/renewed_membership_content.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/room_source.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/scenario_result.rbs +61 -0
- data/sig/line/bot/v2/webhook/model/scenario_result_things_content.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/source.rbs +45 -0
- data/sig/line/bot/v2/webhook/model/sticker_message_content.rbs +62 -0
- data/sig/line/bot/v2/webhook/model/text_message_content.rbs +55 -0
- data/sig/line/bot/v2/webhook/model/things_content.rbs +43 -0
- data/sig/line/bot/v2/webhook/model/things_event.rbs +59 -0
- data/sig/line/bot/v2/webhook/model/unfollow_event.rbs +53 -0
- data/sig/line/bot/v2/webhook/model/unlink_things_content.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/unsend_detail.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/unsend_event.rbs +56 -0
- data/sig/line/bot/v2/webhook/model/user_mentionee.rbs +50 -0
- data/sig/line/bot/v2/webhook/model/user_source.rbs +40 -0
- data/sig/line/bot/v2/webhook/model/video_message_content.rbs +49 -0
- data/sig/line/bot/v2/webhook/model/video_play_complete.rbs +39 -0
- data/sig/line/bot/v2/webhook/model/video_play_complete_event.rbs +59 -0
- data/sig/line/bot/v2/webhook_parser.rbs +26 -0
- data/sig/line/bot/version.rbs +5 -0
- metadata +666 -69
@@ -0,0 +1,43 @@
|
|
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 MentionTarget
|
15
|
+
attr_accessor type: String
|
16
|
+
|
17
|
+
|
18
|
+
# @param type [String] Target to be mentioned
|
19
|
+
def initialize: (
|
20
|
+
type: String,
|
21
|
+
**untyped dynamic_attributes
|
22
|
+
) -> void
|
23
|
+
|
24
|
+
# Create an instance of the class from a hash
|
25
|
+
# @param args [Hash] Hash containing all the required attributes
|
26
|
+
# @return [Line::Bot::V2::MessagingApi::MentionTarget] Instance of the class
|
27
|
+
def self.create: (Hash[Symbol, untyped]) -> MentionTarget
|
28
|
+
|
29
|
+
# @param other [Object] Object to compare
|
30
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
31
|
+
def ==: (untyped other) -> bool
|
32
|
+
|
33
|
+
# @return [Integer] Hash code of the object
|
34
|
+
def hash: () -> Integer
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def self.detect_class: (type: String) -> Class?
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# @see https://developers.line.biz/en/reference/messaging-api/#message-common-properties
|
15
|
+
class Message
|
16
|
+
attr_accessor type: String
|
17
|
+
attr_accessor quick_reply: QuickReply?
|
18
|
+
attr_accessor sender: Sender?
|
19
|
+
|
20
|
+
|
21
|
+
# @param type [String] Type of message
|
22
|
+
# @param quick_reply [QuickReply, Hash[Symbol, untyped], nil]
|
23
|
+
# @param sender [Sender, Hash[Symbol, untyped], nil]
|
24
|
+
def initialize: (
|
25
|
+
type: String,
|
26
|
+
?quick_reply: QuickReply?| Hash[Symbol, untyped]?,
|
27
|
+
?sender: Sender?| Hash[Symbol, untyped]?,
|
28
|
+
**untyped dynamic_attributes
|
29
|
+
) -> void
|
30
|
+
|
31
|
+
# Create an instance of the class from a hash
|
32
|
+
# @param args [Hash] Hash containing all the required attributes
|
33
|
+
# @return [Line::Bot::V2::MessagingApi::Message] Instance of the class
|
34
|
+
def self.create: (Hash[Symbol, untyped]) -> Message
|
35
|
+
|
36
|
+
# @param other [Object] Object to compare
|
37
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
38
|
+
def ==: (untyped other) -> bool
|
39
|
+
|
40
|
+
# @return [Integer] Hash code of the object
|
41
|
+
def hash: () -> Integer
|
42
|
+
|
43
|
+
private
|
44
|
+
|
45
|
+
def self.detect_class: (type: String) -> Class?
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,43 @@
|
|
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 MessageAction < Action
|
15
|
+
attr_reader type: String?
|
16
|
+
attr_accessor label: String?
|
17
|
+
attr_accessor text: String?
|
18
|
+
|
19
|
+
|
20
|
+
# @param label [String,nil] Label for the action.
|
21
|
+
# @param text [String,nil]
|
22
|
+
def initialize: (
|
23
|
+
?label: String?,
|
24
|
+
?text: String?,
|
25
|
+
**untyped dynamic_attributes
|
26
|
+
) -> void
|
27
|
+
|
28
|
+
# Create an instance of the class from a hash
|
29
|
+
# @param args [Hash] Hash containing all the required attributes
|
30
|
+
# @return [Line::Bot::V2::MessagingApi::MessageAction] Instance of the class
|
31
|
+
def self.create: (Hash[Symbol, untyped]) -> MessageAction
|
32
|
+
|
33
|
+
# @param other [Object] Object to compare
|
34
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
35
|
+
def ==: (untyped other) -> bool
|
36
|
+
|
37
|
+
# @return [Integer] Hash code of the object
|
38
|
+
def hash: () -> Integer
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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 MessageImagemapAction < ImagemapAction
|
15
|
+
attr_reader type: String
|
16
|
+
attr_accessor area: ImagemapArea
|
17
|
+
attr_accessor text: String
|
18
|
+
attr_accessor label: String?
|
19
|
+
|
20
|
+
|
21
|
+
# @param area [ImagemapArea, Hash[Symbol, untyped]]
|
22
|
+
# @param text [String]
|
23
|
+
# @param label [String,nil]
|
24
|
+
def initialize: (
|
25
|
+
area: ImagemapArea| Hash[Symbol, untyped],
|
26
|
+
text: String,
|
27
|
+
?label: String?,
|
28
|
+
**untyped dynamic_attributes
|
29
|
+
) -> void
|
30
|
+
|
31
|
+
# Create an instance of the class from a hash
|
32
|
+
# @param args [Hash] Hash containing all the required attributes
|
33
|
+
# @return [Line::Bot::V2::MessagingApi::MessageImagemapAction] Instance of the class
|
34
|
+
def self.create: (Hash[Symbol, untyped]) -> MessageImagemapAction
|
35
|
+
|
36
|
+
# @param other [Object] Object to compare
|
37
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
38
|
+
def ==: (untyped other) -> bool
|
39
|
+
|
40
|
+
# @return [Integer] Hash code of the object
|
41
|
+
def hash: () -> Integer
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,43 @@
|
|
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
|
+
# @see https://developers.line.biz/en/reference/messaging-api/#get-quota
|
15
|
+
class MessageQuotaResponse
|
16
|
+
attr_accessor type: 'none'|'limited'
|
17
|
+
attr_accessor value: Integer?
|
18
|
+
|
19
|
+
|
20
|
+
# @param type [String] ('none'|'limited')
|
21
|
+
# @param value [Integer,nil] The target limit for sending messages in the current month. This property is returned when the `type` property has a value of `limited`.
|
22
|
+
def initialize: (
|
23
|
+
type: 'none'|'limited',
|
24
|
+
?value: Integer?,
|
25
|
+
**untyped dynamic_attributes
|
26
|
+
) -> void
|
27
|
+
|
28
|
+
# Create an instance of the class from a hash
|
29
|
+
# @param args [Hash] Hash containing all the required attributes
|
30
|
+
# @return [Line::Bot::V2::MessagingApi::MessageQuotaResponse] Instance of the class
|
31
|
+
def self.create: (Hash[Symbol, untyped]) -> MessageQuotaResponse
|
32
|
+
|
33
|
+
# @param other [Object] Object to compare
|
34
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
35
|
+
def ==: (untyped other) -> bool
|
36
|
+
|
37
|
+
# @return [Integer] Hash code of the object
|
38
|
+
def hash: () -> Integer
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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
|
+
# @see https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
|
15
|
+
class MulticastRequest
|
16
|
+
attr_accessor messages: Array[Message]
|
17
|
+
attr_accessor to: Array[String]
|
18
|
+
attr_accessor notification_disabled: bool?
|
19
|
+
attr_accessor custom_aggregation_units: Array[String]?
|
20
|
+
|
21
|
+
|
22
|
+
# @param messages [Array[Message, Hash[Symbol, untyped]]] Messages to send
|
23
|
+
# @param to [Array[String]] Array of user IDs. Use userId values which are returned in webhook event objects. Do not use LINE IDs found on LINE.
|
24
|
+
# @param notification_disabled [bool,nil] `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
|
25
|
+
# @param custom_aggregation_units [Array[String],nil] Name of aggregation unit. Case-sensitive.
|
26
|
+
def initialize: (
|
27
|
+
messages: Array[Message| Hash[Symbol, untyped]],
|
28
|
+
to: Array[String],
|
29
|
+
?notification_disabled: bool?,
|
30
|
+
?custom_aggregation_units: Array[String]?,
|
31
|
+
**untyped dynamic_attributes
|
32
|
+
) -> void
|
33
|
+
|
34
|
+
# Create an instance of the class from a hash
|
35
|
+
# @param args [Hash] Hash containing all the required attributes
|
36
|
+
# @return [Line::Bot::V2::MessagingApi::MulticastRequest] Instance of the class
|
37
|
+
def self.create: (Hash[Symbol, untyped]) -> MulticastRequest
|
38
|
+
|
39
|
+
# @param other [Object] Object to compare
|
40
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
41
|
+
def ==: (untyped other) -> bool
|
42
|
+
|
43
|
+
# @return [Integer] Hash code of the object
|
44
|
+
def hash: () -> Integer
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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
|
+
# @see https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
|
15
|
+
class NarrowcastProgressResponse
|
16
|
+
attr_accessor phase: 'waiting'|'sending'|'succeeded'|'failed'
|
17
|
+
attr_accessor success_count: Integer?
|
18
|
+
attr_accessor failure_count: Integer?
|
19
|
+
attr_accessor target_count: Integer?
|
20
|
+
attr_accessor failed_description: String?
|
21
|
+
attr_accessor error_code: Integer?
|
22
|
+
attr_accessor accepted_time: String
|
23
|
+
attr_accessor completed_time: String?
|
24
|
+
|
25
|
+
|
26
|
+
# @param phase [String] ('waiting'|'sending'|'succeeded'|'failed') The current status. One of: `waiting`: Messages are not yet ready to be sent. They are currently being filtered or processed in some way. `sending`: Messages are currently being sent. `succeeded`: Messages were sent successfully. This may not mean the messages were successfully received. `failed`: Messages failed to be sent. Use the failedDescription property to find the cause of the failure.
|
27
|
+
# @param success_count [Integer,nil] The number of users who successfully received the message.
|
28
|
+
# @param failure_count [Integer,nil] The number of users who failed to send the message.
|
29
|
+
# @param target_count [Integer,nil] The number of intended recipients of the message.
|
30
|
+
# @param failed_description [String,nil] The reason the message failed to be sent. This is only included with a `phase` property value of `failed`.
|
31
|
+
# @param error_code [Integer,nil] Error summary. This is only included with a phase property value of failed. One of: `1`: An internal error occurred. `2`: An error occurred because there weren't enough recipients. `3`: A conflict error of requests occurs because a request that has already been accepted is retried. `4`: An audience of less than 50 recipients is included as a condition of sending.
|
32
|
+
# @param accepted_time [String] Narrowcast message request accepted time in milliseconds. Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z) Timezone: UTC
|
33
|
+
# @param completed_time [String,nil] Processing of narrowcast message request completion time in milliseconds. Returned when the phase property is succeeded or failed. Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z) Timezone: UTC
|
34
|
+
def initialize: (
|
35
|
+
phase: 'waiting'|'sending'|'succeeded'|'failed',
|
36
|
+
?success_count: Integer?,
|
37
|
+
?failure_count: Integer?,
|
38
|
+
?target_count: Integer?,
|
39
|
+
?failed_description: String?,
|
40
|
+
?error_code: Integer?,
|
41
|
+
accepted_time: String,
|
42
|
+
?completed_time: String?,
|
43
|
+
**untyped dynamic_attributes
|
44
|
+
) -> void
|
45
|
+
|
46
|
+
# Create an instance of the class from a hash
|
47
|
+
# @param args [Hash] Hash containing all the required attributes
|
48
|
+
# @return [Line::Bot::V2::MessagingApi::NarrowcastProgressResponse] Instance of the class
|
49
|
+
def self.create: (Hash[Symbol, untyped]) -> NarrowcastProgressResponse
|
50
|
+
|
51
|
+
# @param other [Object] Object to compare
|
52
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
53
|
+
def ==: (untyped other) -> bool
|
54
|
+
|
55
|
+
# @return [Integer] Hash code of the object
|
56
|
+
def hash: () -> Integer
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,52 @@
|
|
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
|
+
# @see https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
|
15
|
+
class NarrowcastRequest
|
16
|
+
attr_accessor messages: Array[Message]
|
17
|
+
attr_accessor recipient: Recipient?
|
18
|
+
attr_accessor filter: Filter?
|
19
|
+
attr_accessor limit: Limit?
|
20
|
+
attr_accessor notification_disabled: bool?
|
21
|
+
|
22
|
+
|
23
|
+
# @param messages [Array[Message, Hash[Symbol, untyped]]] List of Message objects.
|
24
|
+
# @param recipient [Recipient, Hash[Symbol, untyped], nil]
|
25
|
+
# @param filter [Filter, Hash[Symbol, untyped], nil]
|
26
|
+
# @param limit [Limit, Hash[Symbol, untyped], nil]
|
27
|
+
# @param notification_disabled [bool,nil] `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
|
28
|
+
def initialize: (
|
29
|
+
messages: Array[Message| Hash[Symbol, untyped]],
|
30
|
+
?recipient: Recipient?| Hash[Symbol, untyped]?,
|
31
|
+
?filter: Filter?| Hash[Symbol, untyped]?,
|
32
|
+
?limit: Limit?| Hash[Symbol, untyped]?,
|
33
|
+
?notification_disabled: bool?,
|
34
|
+
**untyped dynamic_attributes
|
35
|
+
) -> void
|
36
|
+
|
37
|
+
# Create an instance of the class from a hash
|
38
|
+
# @param args [Hash] Hash containing all the required attributes
|
39
|
+
# @return [Line::Bot::V2::MessagingApi::NarrowcastRequest] Instance of the class
|
40
|
+
def self.create: (Hash[Symbol, untyped]) -> NarrowcastRequest
|
41
|
+
|
42
|
+
# @param other [Object] Object to compare
|
43
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
44
|
+
def ==: (untyped other) -> bool
|
45
|
+
|
46
|
+
# @return [Integer] Hash code of the object
|
47
|
+
def hash: () -> Integer
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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 NumberOfMessagesResponse
|
15
|
+
attr_accessor status: 'ready'|'unready'|'unavailable_for_privacy'|'out_of_service'
|
16
|
+
attr_accessor success: Integer?
|
17
|
+
|
18
|
+
|
19
|
+
# @param status [String] ('ready'|'unready'|'unavailable_for_privacy'|'out_of_service') Aggregation process status. One of: `ready`: The number of messages can be obtained. `unready`: We haven't finished calculating the number of sent messages for the specified in date. For example, this property is returned when the delivery date or a future date is specified. Calculation usually takes about a day. `unavailable_for_privacy`: The total number of messages on the specified day is less than 20. `out_of_service`: The specified date is earlier than the date on which we first started calculating sent messages (March 31, 2018).
|
20
|
+
# @param success [Integer,nil] The number of messages delivered using the phone number on the date specified in `date`. The response has this property only when the value of `status` is `ready`.
|
21
|
+
def initialize: (
|
22
|
+
status: 'ready'|'unready'|'unavailable_for_privacy'|'out_of_service',
|
23
|
+
?success: Integer?,
|
24
|
+
**untyped dynamic_attributes
|
25
|
+
) -> void
|
26
|
+
|
27
|
+
# Create an instance of the class from a hash
|
28
|
+
# @param args [Hash] Hash containing all the required attributes
|
29
|
+
# @return [Line::Bot::V2::MessagingApi::NumberOfMessagesResponse] Instance of the class
|
30
|
+
def self.create: (Hash[Symbol, untyped]) -> NumberOfMessagesResponse
|
31
|
+
|
32
|
+
# @param other [Object] Object to compare
|
33
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
34
|
+
def ==: (untyped other) -> bool
|
35
|
+
|
36
|
+
# @return [Integer] Hash code of the object
|
37
|
+
def hash: () -> Integer
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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 OperatorDemographicFilter < DemographicFilter
|
15
|
+
attr_reader type: String?
|
16
|
+
attr_accessor _and: Array[DemographicFilter]?
|
17
|
+
attr_accessor _or: Array[DemographicFilter]?
|
18
|
+
attr_accessor _not: DemographicFilter?
|
19
|
+
|
20
|
+
|
21
|
+
# @param _and [Array[DemographicFilter, Hash[Symbol, untyped]],nil]
|
22
|
+
# @param _or [Array[DemographicFilter, Hash[Symbol, untyped]],nil]
|
23
|
+
# @param _not [DemographicFilter, Hash[Symbol, untyped], nil]
|
24
|
+
def initialize: (
|
25
|
+
?_and: Array[DemographicFilter| Hash[Symbol, untyped]]?,
|
26
|
+
?_or: Array[DemographicFilter| Hash[Symbol, untyped]]?,
|
27
|
+
?_not: DemographicFilter?| Hash[Symbol, untyped]?,
|
28
|
+
**untyped dynamic_attributes
|
29
|
+
) -> void
|
30
|
+
|
31
|
+
# Create an instance of the class from a hash
|
32
|
+
# @param args [Hash] Hash containing all the required attributes
|
33
|
+
# @return [Line::Bot::V2::MessagingApi::OperatorDemographicFilter] Instance of the class
|
34
|
+
def self.create: (Hash[Symbol, untyped]) -> OperatorDemographicFilter
|
35
|
+
|
36
|
+
# @param other [Object] Object to compare
|
37
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
38
|
+
def ==: (untyped other) -> bool
|
39
|
+
|
40
|
+
# @return [Integer] Hash code of the object
|
41
|
+
def hash: () -> Integer
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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 OperatorRecipient < Recipient
|
15
|
+
attr_reader type: String?
|
16
|
+
attr_accessor _and: Array[Recipient]?
|
17
|
+
attr_accessor _or: Array[Recipient]?
|
18
|
+
attr_accessor _not: Recipient?
|
19
|
+
|
20
|
+
|
21
|
+
# @param _and [Array[Recipient, Hash[Symbol, untyped]],nil] Create a new recipient object by taking the logical conjunction (AND) of the specified array of recipient objects.
|
22
|
+
# @param _or [Array[Recipient, Hash[Symbol, untyped]],nil] Create a new recipient object by taking the logical disjunction (OR) of the specified array of recipient objects.
|
23
|
+
# @param _not [Recipient, Hash[Symbol, untyped], nil]
|
24
|
+
def initialize: (
|
25
|
+
?_and: Array[Recipient| Hash[Symbol, untyped]]?,
|
26
|
+
?_or: Array[Recipient| Hash[Symbol, untyped]]?,
|
27
|
+
?_not: Recipient?| Hash[Symbol, untyped]?,
|
28
|
+
**untyped dynamic_attributes
|
29
|
+
) -> void
|
30
|
+
|
31
|
+
# Create an instance of the class from a hash
|
32
|
+
# @param args [Hash] Hash containing all the required attributes
|
33
|
+
# @return [Line::Bot::V2::MessagingApi::OperatorRecipient] Instance of the class
|
34
|
+
def self.create: (Hash[Symbol, untyped]) -> OperatorRecipient
|
35
|
+
|
36
|
+
# @param other [Object] Object to compare
|
37
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
38
|
+
def ==: (untyped other) -> bool
|
39
|
+
|
40
|
+
# @return [Integer] Hash code of the object
|
41
|
+
def hash: () -> Integer
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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
|
+
# @see https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
|
15
|
+
class PnpMessagesRequest
|
16
|
+
attr_accessor messages: Array[Message]
|
17
|
+
attr_accessor to: String
|
18
|
+
attr_accessor notification_disabled: bool?
|
19
|
+
|
20
|
+
|
21
|
+
# @param messages [Array[Message, Hash[Symbol, untyped]]] Message to be sent.
|
22
|
+
# @param to [String] Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256.
|
23
|
+
# @param notification_disabled [bool,nil] `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
|
24
|
+
def initialize: (
|
25
|
+
messages: Array[Message| Hash[Symbol, untyped]],
|
26
|
+
to: String,
|
27
|
+
?notification_disabled: bool?,
|
28
|
+
**untyped dynamic_attributes
|
29
|
+
) -> void
|
30
|
+
|
31
|
+
# Create an instance of the class from a hash
|
32
|
+
# @param args [Hash] Hash containing all the required attributes
|
33
|
+
# @return [Line::Bot::V2::MessagingApi::PnpMessagesRequest] Instance of the class
|
34
|
+
def self.create: (Hash[Symbol, untyped]) -> PnpMessagesRequest
|
35
|
+
|
36
|
+
# @param other [Object] Object to compare
|
37
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
38
|
+
def ==: (untyped other) -> bool
|
39
|
+
|
40
|
+
# @return [Integer] Hash code of the object
|
41
|
+
def hash: () -> Integer
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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 PostbackAction < Action
|
15
|
+
attr_reader type: String?
|
16
|
+
attr_accessor label: String?
|
17
|
+
attr_accessor data: String?
|
18
|
+
attr_accessor display_text: String?
|
19
|
+
attr_accessor text: String?
|
20
|
+
attr_accessor input_option: 'closeRichMenu'|'openRichMenu'|'openKeyboard'|'openVoice'?
|
21
|
+
attr_accessor fill_in_text: String?
|
22
|
+
|
23
|
+
|
24
|
+
# @param label [String,nil] Label for the action.
|
25
|
+
# @param data [String,nil]
|
26
|
+
# @param display_text [String,nil]
|
27
|
+
# @param text [String,nil]
|
28
|
+
# @param input_option [String,nil] ('closeRichMenu'|'openRichMenu'|'openKeyboard'|'openVoice')
|
29
|
+
# @param fill_in_text [String,nil]
|
30
|
+
def initialize: (
|
31
|
+
?label: String?,
|
32
|
+
?data: String?,
|
33
|
+
?display_text: String?,
|
34
|
+
?text: String?,
|
35
|
+
?input_option: 'closeRichMenu'|'openRichMenu'|'openKeyboard'|'openVoice'?,
|
36
|
+
?fill_in_text: String?,
|
37
|
+
**untyped dynamic_attributes
|
38
|
+
) -> void
|
39
|
+
|
40
|
+
# Create an instance of the class from a hash
|
41
|
+
# @param args [Hash] Hash containing all the required attributes
|
42
|
+
# @return [Line::Bot::V2::MessagingApi::PostbackAction] Instance of the class
|
43
|
+
def self.create: (Hash[Symbol, untyped]) -> PostbackAction
|
44
|
+
|
45
|
+
# @param other [Object] Object to compare
|
46
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
47
|
+
def ==: (untyped other) -> bool
|
48
|
+
|
49
|
+
# @return [Integer] Hash code of the object
|
50
|
+
def hash: () -> Integer
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|