line-bot-api 2.7.0 → 2.8.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/README.md +1 -1
- data/lib/line/bot/v2/channel_access_token/api/channel_access_token_client.rb +15 -15
- data/lib/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/error_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/insight/api/insight_client.rb +10 -10
- data/lib/line/bot/v2/insight/model/age_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/app_type_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/area_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/insight/model/error_response.rb +3 -3
- data/lib/line/bot/v2/insight/model/gender_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_friends_demographics_response.rb +7 -7
- data/lib/line/bot/v2/insight/model/get_message_event_response.rb +5 -5
- data/lib/line/bot/v2/insight/model/get_message_event_response_click.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_message_event_response_message.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_message_event_response_overview.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_number_of_followers_response.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb +5 -5
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rb +2 -2
- data/lib/line/bot/v2/insight/model/subscription_period_tile.rb +2 -2
- data/lib/line/bot/v2/liff/api/liff_client.rb +6 -6
- data/lib/line/bot/v2/liff/model/add_liff_app_request.rb +4 -4
- data/lib/line/bot/v2/liff/model/add_liff_app_response.rb +2 -2
- data/lib/line/bot/v2/liff/model/get_all_liff_apps_response.rb +3 -3
- data/lib/line/bot/v2/liff/model/liff_app.rb +4 -4
- data/lib/line/bot/v2/liff/model/liff_features.rb +2 -2
- data/lib/line/bot/v2/liff/model/liff_view.rb +2 -2
- data/lib/line/bot/v2/liff/model/update_liff_app_request.rb +4 -4
- data/lib/line/bot/v2/liff/model/update_liff_view.rb +2 -2
- data/lib/line/bot/v2/manage_audience/api/manage_audience_blob_client.rb +3 -3
- data/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb +19 -19
- data/lib/line/bot/v2/manage_audience/model/adaccount.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/audience.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/audience_group.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/audience_group_job.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_request.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/detailed_owner.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/error_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/get_audience_data_response.rb +5 -5
- data/lib/line/bot/v2/manage_audience/model/get_audience_groups_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rb +5 -5
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/update_audience_group_description_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/api/messaging_api_blob_client.rb +10 -10
- data/lib/line/bot/v2/messaging_api/api/messaging_api_client.rb +147 -147
- data/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/age_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/all_mention_target.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/alt_uri.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/app_type_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/area_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/audience_recipient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/audio_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/bot_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/broadcast_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/buttons_template.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/camera_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/camera_roll_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/carousel_column.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/carousel_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/chat_reference.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/clipboard_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/confirm_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_create_request.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_create_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_list_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/datetime_picker_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/emoji.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/emoji_substitution_object.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/error_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/filter.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_block_style.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_box.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_bubble.rb +8 -8
- data/lib/line/bot/v2/messaging_api/model/flex_bubble_styles.rb +6 -6
- data/lib/line/bot/v2/messaging_api/model/flex_button.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_carousel.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_component.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_container.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_filler.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_icon.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_image.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/flex_separator.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_span.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_text.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/flex_video.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/gender_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_followers_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_membership_subscription_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_member_count_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_summary_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/image_carousel_column.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/image_carousel_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/image_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/imagemap_area.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_base_size.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_external_link.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_message.rb +7 -7
- data/lib/line/bot/v2/messaging_api/model/imagemap_video.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/issue_link_token_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/limit.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/location_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/location_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_by_token_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/members_ids_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/membership.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/membership_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/mention_substitution_object.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/mention_target.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/message_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/message_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/message_quota_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/messaging_api_pager_coupon_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/multicast_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/narrowcast_progress_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/narrowcast_request.rb +6 -6
- data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/number_of_messages_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/operator_demographic_filter.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/operator_recipient.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/pnp_messages_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/postback_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/push_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/push_message_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quick_reply.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quick_reply_item.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quota_consumption_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/recipient.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/redelivery_recipient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/referral_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/reply_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/reply_message_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_area.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bounds.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_id_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_request.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_size.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_switch_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/room_member_count_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/room_user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sender.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sent_message.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/show_loading_animation_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sticker_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_plan.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_user.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/subscription.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/substitution_object.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/template_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/text_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/text_message_v2.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/uri_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/uri_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/user_mention_target.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/validate_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/video_message.rb +4 -4
- data/lib/line/bot/v2/module/api/line_module_client.rb +5 -5
- data/lib/line/bot/v2/module/model/acquire_chat_control_request.rb +2 -2
- data/lib/line/bot/v2/module/model/detach_module_request.rb +2 -2
- data/lib/line/bot/v2/module/model/get_modules_response.rb +3 -3
- data/lib/line/bot/v2/module/model/module_bot.rb +2 -2
- data/lib/line/bot/v2/module_attach/api/line_module_attach_client.rb +2 -2
- data/lib/line/bot/v2/module_attach/model/attach_module_response.rb +2 -2
- data/lib/line/bot/v2/shop/api/shop_client.rb +1 -1
- data/lib/line/bot/v2/shop/model/error_response.rb +2 -2
- data/lib/line/bot/v2/shop/model/mission_sticker_request.rb +2 -2
- data/lib/line/bot/v2/webhook/model/account_link_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/activated_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/all_mentionee.rb +2 -2
- data/lib/line/bot/v2/webhook/model/attached_module_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/audio_message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/beacon_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/beacon_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/bot_resumed_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/bot_suspended_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/callback_request.rb +3 -3
- data/lib/line/bot/v2/webhook/model/chat_control.rb +2 -2
- data/lib/line/bot/v2/webhook/model/content_provider.rb +2 -2
- data/lib/line/bot/v2/webhook/model/deactivated_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/delivery_context.rb +2 -2
- data/lib/line/bot/v2/webhook/model/detached_module_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/emoji.rb +2 -2
- data/lib/line/bot/v2/webhook/model/event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/file_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/follow_detail.rb +2 -2
- data/lib/line/bot/v2/webhook/model/follow_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/group_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/image_message_content.rb +4 -4
- data/lib/line/bot/v2/webhook/model/image_set.rb +2 -2
- data/lib/line/bot/v2/webhook/model/join_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/joined_members.rb +3 -3
- data/lib/line/bot/v2/webhook/model/joined_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/leave_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/left_members.rb +3 -3
- data/lib/line/bot/v2/webhook/model/left_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/link_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/location_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/member_joined_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/member_left_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/membership_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/membership_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/mention.rb +3 -3
- data/lib/line/bot/v2/webhook/model/mentionee.rb +3 -3
- data/lib/line/bot/v2/webhook/model/message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/message_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/module_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/module_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/pnp_delivery.rb +2 -2
- data/lib/line/bot/v2/webhook/model/pnp_delivery_completion_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/postback_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/postback_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/renewed_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/room_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/source.rb +3 -3
- data/lib/line/bot/v2/webhook/model/sticker_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/text_message_content.rb +4 -4
- data/lib/line/bot/v2/webhook/model/unfollow_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/unsend_detail.rb +2 -2
- data/lib/line/bot/v2/webhook/model/unsend_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/user_mentionee.rb +2 -2
- data/lib/line/bot/v2/webhook/model/user_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/video_message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/video_play_complete.rb +2 -2
- data/lib/line/bot/v2/webhook/model/video_play_complete_event.rb +5 -5
- data/lib/line/bot/version.rb +1 -1
- data/line-bot-api.gemspec +1 -1
- data/sig/line/bot/v2/messaging_api/api/messaging_api_blob_client.rbs +4 -4
- data/sig/line/bot/v2/messaging_api/api/messaging_api_client.rbs +2 -2
- metadata +3 -3
|
@@ -118,7 +118,7 @@ module Line
|
|
|
118
118
|
@aspect_ratio = aspect_ratio
|
|
119
119
|
@aspect_mode = aspect_mode
|
|
120
120
|
@background_color = background_color
|
|
121
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
121
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
122
122
|
@animated = animated
|
|
123
123
|
|
|
124
124
|
dynamic_attributes.each do |key, value|
|
|
@@ -137,9 +137,9 @@ module Line
|
|
|
137
137
|
# Create an instance of the class from a hash
|
|
138
138
|
# @param args [Hash] Hash containing all the required attributes
|
|
139
139
|
# @return [Line::Bot::V2::MessagingApi::FlexImage] Instance of the class
|
|
140
|
-
def self.create(args)
|
|
140
|
+
def self.create(args)
|
|
141
141
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
142
|
-
return new(**symbolized_args) # steep:ignore
|
|
142
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
# @param other [Object] Object to compare
|
|
@@ -44,10 +44,10 @@ module Line
|
|
|
44
44
|
)
|
|
45
45
|
@type = "flex"
|
|
46
46
|
|
|
47
|
-
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
48
|
-
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
47
|
+
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
48
|
+
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
49
49
|
@alt_text = alt_text
|
|
50
|
-
@contents = contents.is_a?(Line::Bot::V2::MessagingApi::FlexContainer) ? contents : Line::Bot::V2::MessagingApi::FlexContainer.create(**contents)
|
|
50
|
+
@contents = contents.is_a?(Line::Bot::V2::MessagingApi::FlexContainer) ? contents : Line::Bot::V2::MessagingApi::FlexContainer.create(**contents)
|
|
51
51
|
|
|
52
52
|
dynamic_attributes.each do |key, value|
|
|
53
53
|
self.class.attr_accessor key
|
|
@@ -65,9 +65,9 @@ module Line
|
|
|
65
65
|
# Create an instance of the class from a hash
|
|
66
66
|
# @param args [Hash] Hash containing all the required attributes
|
|
67
67
|
# @return [Line::Bot::V2::MessagingApi::FlexMessage] Instance of the class
|
|
68
|
-
def self.create(args)
|
|
68
|
+
def self.create(args)
|
|
69
69
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
70
|
-
return new(**symbolized_args) # steep:ignore
|
|
70
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# @param other [Object] Object to compare
|
|
@@ -52,9 +52,9 @@ module Line
|
|
|
52
52
|
# Create an instance of the class from a hash
|
|
53
53
|
# @param args [Hash] Hash containing all the required attributes
|
|
54
54
|
# @return [Line::Bot::V2::MessagingApi::FlexSeparator] Instance of the class
|
|
55
|
-
def self.create(args)
|
|
55
|
+
def self.create(args)
|
|
56
56
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
57
|
-
return new(**symbolized_args)
|
|
57
|
+
return new(**symbolized_args)
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @param other [Object] Object to compare
|
|
@@ -76,9 +76,9 @@ module Line
|
|
|
76
76
|
# Create an instance of the class from a hash
|
|
77
77
|
# @param args [Hash] Hash containing all the required attributes
|
|
78
78
|
# @return [Line::Bot::V2::MessagingApi::FlexSpan] Instance of the class
|
|
79
|
-
def self.create(args)
|
|
79
|
+
def self.create(args)
|
|
80
80
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
81
|
-
return new(**symbolized_args)
|
|
81
|
+
return new(**symbolized_args)
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# @param other [Object] Object to compare
|
|
@@ -150,11 +150,11 @@ module Line
|
|
|
150
150
|
@offset_bottom = offset_bottom
|
|
151
151
|
@offset_start = offset_start
|
|
152
152
|
@offset_end = offset_end
|
|
153
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
153
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
154
154
|
@max_lines = max_lines
|
|
155
155
|
@contents = contents&.map do |item|
|
|
156
156
|
if item.is_a?(Hash)
|
|
157
|
-
Line::Bot::V2::MessagingApi::FlexSpan.create(**item)
|
|
157
|
+
Line::Bot::V2::MessagingApi::FlexSpan.create(**item)
|
|
158
158
|
else
|
|
159
159
|
item
|
|
160
160
|
end
|
|
@@ -178,9 +178,9 @@ module Line
|
|
|
178
178
|
# Create an instance of the class from a hash
|
|
179
179
|
# @param args [Hash] Hash containing all the required attributes
|
|
180
180
|
# @return [Line::Bot::V2::MessagingApi::FlexText] Instance of the class
|
|
181
|
-
def self.create(args)
|
|
181
|
+
def self.create(args)
|
|
182
182
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
183
|
-
return new(**symbolized_args)
|
|
183
|
+
return new(**symbolized_args)
|
|
184
184
|
end
|
|
185
185
|
|
|
186
186
|
# @param other [Object] Object to compare
|
|
@@ -50,9 +50,9 @@ module Line
|
|
|
50
50
|
|
|
51
51
|
@url = url
|
|
52
52
|
@preview_url = preview_url
|
|
53
|
-
@alt_content = alt_content.is_a?(Line::Bot::V2::MessagingApi::FlexComponent) ? alt_content : Line::Bot::V2::MessagingApi::FlexComponent.create(**alt_content)
|
|
53
|
+
@alt_content = alt_content.is_a?(Line::Bot::V2::MessagingApi::FlexComponent) ? alt_content : Line::Bot::V2::MessagingApi::FlexComponent.create(**alt_content)
|
|
54
54
|
@aspect_ratio = aspect_ratio
|
|
55
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
55
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
56
56
|
|
|
57
57
|
dynamic_attributes.each do |key, value|
|
|
58
58
|
self.class.attr_accessor key
|
|
@@ -70,9 +70,9 @@ module Line
|
|
|
70
70
|
# Create an instance of the class from a hash
|
|
71
71
|
# @param args [Hash] Hash containing all the required attributes
|
|
72
72
|
# @return [Line::Bot::V2::MessagingApi::FlexVideo] Instance of the class
|
|
73
|
-
def self.create(args)
|
|
73
|
+
def self.create(args)
|
|
74
74
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
75
|
-
return new(**symbolized_args) # steep:ignore
|
|
75
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::GenderDemographicFilter] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -47,9 +47,9 @@ module Line
|
|
|
47
47
|
# Create an instance of the class from a hash
|
|
48
48
|
# @param args [Hash] Hash containing all the required attributes
|
|
49
49
|
# @return [Line::Bot::V2::MessagingApi::GetAggregationUnitNameListResponse] Instance of the class
|
|
50
|
-
def self.create(args)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
|
-
return new(**symbolized_args) # steep:ignore
|
|
52
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# @param other [Object] Object to compare
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::GetAggregationUnitUsageResponse] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -47,9 +47,9 @@ module Line
|
|
|
47
47
|
# Create an instance of the class from a hash
|
|
48
48
|
# @param args [Hash] Hash containing all the required attributes
|
|
49
49
|
# @return [Line::Bot::V2::MessagingApi::GetFollowersResponse] Instance of the class
|
|
50
|
-
def self.create(args)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
|
-
return new(**symbolized_args) # steep:ignore
|
|
52
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# @param other [Object] Object to compare
|
|
@@ -48,9 +48,9 @@ module Line
|
|
|
48
48
|
# Create an instance of the class from a hash
|
|
49
49
|
# @param args [Hash] Hash containing all the required attributes
|
|
50
50
|
# @return [Line::Bot::V2::MessagingApi::GetJoinedMembershipUsersResponse] Instance of the class
|
|
51
|
-
def self.create(args)
|
|
51
|
+
def self.create(args)
|
|
52
52
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
53
|
-
return new(**symbolized_args) # steep:ignore
|
|
53
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# @param other [Object] Object to compare
|
|
@@ -26,7 +26,7 @@ module Line
|
|
|
26
26
|
|
|
27
27
|
@subscriptions = subscriptions.map do |item|
|
|
28
28
|
if item.is_a?(Hash)
|
|
29
|
-
Line::Bot::V2::MessagingApi::Subscription.create(**item)
|
|
29
|
+
Line::Bot::V2::MessagingApi::Subscription.create(**item)
|
|
30
30
|
else
|
|
31
31
|
item
|
|
32
32
|
end
|
|
@@ -48,9 +48,9 @@ module Line
|
|
|
48
48
|
# Create an instance of the class from a hash
|
|
49
49
|
# @param args [Hash] Hash containing all the required attributes
|
|
50
50
|
# @return [Line::Bot::V2::MessagingApi::GetMembershipSubscriptionResponse] Instance of the class
|
|
51
|
-
def self.create(args)
|
|
51
|
+
def self.create(args)
|
|
52
52
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
53
|
-
return new(**symbolized_args) # steep:ignore
|
|
53
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# @param other [Object] Object to compare
|
|
@@ -42,9 +42,9 @@ module Line
|
|
|
42
42
|
# Create an instance of the class from a hash
|
|
43
43
|
# @param args [Hash] Hash containing all the required attributes
|
|
44
44
|
# @return [Line::Bot::V2::MessagingApi::GetMessageContentTranscodingResponse] Instance of the class
|
|
45
|
-
def self.create(args)
|
|
45
|
+
def self.create(args)
|
|
46
46
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
47
|
-
return new(**symbolized_args) # steep:ignore
|
|
47
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# @param other [Object] Object to compare
|
|
@@ -47,9 +47,9 @@ module Line
|
|
|
47
47
|
# Create an instance of the class from a hash
|
|
48
48
|
# @param args [Hash] Hash containing all the required attributes
|
|
49
49
|
# @return [Line::Bot::V2::MessagingApi::GetWebhookEndpointResponse] Instance of the class
|
|
50
|
-
def self.create(args)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
|
-
return new(**symbolized_args) # steep:ignore
|
|
52
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# @param other [Object] Object to compare
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::GroupMemberCountResponse] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -53,9 +53,9 @@ module Line
|
|
|
53
53
|
# Create an instance of the class from a hash
|
|
54
54
|
# @param args [Hash] Hash containing all the required attributes
|
|
55
55
|
# @return [Line::Bot::V2::MessagingApi::GroupSummaryResponse] Instance of the class
|
|
56
|
-
def self.create(args)
|
|
56
|
+
def self.create(args)
|
|
57
57
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
58
|
-
return new(**symbolized_args) # steep:ignore
|
|
58
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# @param other [Object] Object to compare
|
|
@@ -53,9 +53,9 @@ module Line
|
|
|
53
53
|
# Create an instance of the class from a hash
|
|
54
54
|
# @param args [Hash] Hash containing all the required attributes
|
|
55
55
|
# @return [Line::Bot::V2::MessagingApi::GroupUserProfileResponse] Instance of the class
|
|
56
|
-
def self.create(args)
|
|
56
|
+
def self.create(args)
|
|
57
57
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
58
|
-
return new(**symbolized_args) # steep:ignore
|
|
58
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# @param other [Object] Object to compare
|
|
@@ -28,7 +28,7 @@ module Line
|
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
@image_url = image_url
|
|
31
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
31
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
32
32
|
|
|
33
33
|
dynamic_attributes.each do |key, value|
|
|
34
34
|
self.class.attr_accessor key
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::ImageCarouselColumn] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args) # steep:ignore
|
|
51
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -30,7 +30,7 @@ module Line
|
|
|
30
30
|
|
|
31
31
|
@columns = columns.map do |item|
|
|
32
32
|
if item.is_a?(Hash)
|
|
33
|
-
Line::Bot::V2::MessagingApi::ImageCarouselColumn.create(**item)
|
|
33
|
+
Line::Bot::V2::MessagingApi::ImageCarouselColumn.create(**item)
|
|
34
34
|
else
|
|
35
35
|
item
|
|
36
36
|
end
|
|
@@ -52,9 +52,9 @@ module Line
|
|
|
52
52
|
# Create an instance of the class from a hash
|
|
53
53
|
# @param args [Hash] Hash containing all the required attributes
|
|
54
54
|
# @return [Line::Bot::V2::MessagingApi::ImageCarouselTemplate] Instance of the class
|
|
55
|
-
def self.create(args)
|
|
55
|
+
def self.create(args)
|
|
56
56
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
57
|
-
return new(**symbolized_args) # steep:ignore
|
|
57
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @param other [Object] Object to compare
|
|
@@ -44,8 +44,8 @@ module Line
|
|
|
44
44
|
)
|
|
45
45
|
@type = "image"
|
|
46
46
|
|
|
47
|
-
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
48
|
-
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
47
|
+
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
48
|
+
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
49
49
|
@original_content_url = original_content_url
|
|
50
50
|
@preview_image_url = preview_image_url
|
|
51
51
|
|
|
@@ -65,9 +65,9 @@ module Line
|
|
|
65
65
|
# Create an instance of the class from a hash
|
|
66
66
|
# @param args [Hash] Hash containing all the required attributes
|
|
67
67
|
# @return [Line::Bot::V2::MessagingApi::ImageMessage] Instance of the class
|
|
68
|
-
def self.create(args)
|
|
68
|
+
def self.create(args)
|
|
69
69
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
70
|
-
return new(**symbolized_args) # steep:ignore
|
|
70
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# @param other [Object] Object to compare
|
|
@@ -29,7 +29,7 @@ module Line
|
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
@type = type
|
|
32
|
-
@area = area.is_a?(Line::Bot::V2::MessagingApi::ImagemapArea) ? area : Line::Bot::V2::MessagingApi::ImagemapArea.create(**area)
|
|
32
|
+
@area = area.is_a?(Line::Bot::V2::MessagingApi::ImagemapArea) ? area : Line::Bot::V2::MessagingApi::ImagemapArea.create(**area)
|
|
33
33
|
|
|
34
34
|
dynamic_attributes.each do |key, value|
|
|
35
35
|
self.class.attr_accessor key
|
|
@@ -47,11 +47,11 @@ module Line
|
|
|
47
47
|
# Create an instance of the class from a hash
|
|
48
48
|
# @param args [Hash] Hash containing all the required attributes
|
|
49
49
|
# @return [Line::Bot::V2::MessagingApi::ImagemapAction] Instance of the class
|
|
50
|
-
def self.create(args)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
52
|
klass = detect_class(type: symbolized_args[:type])
|
|
53
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
54
|
-
return new(**symbolized_args) # steep:ignore
|
|
53
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
54
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# @param other [Object] Object to compare
|
|
@@ -58,9 +58,9 @@ module Line
|
|
|
58
58
|
# Create an instance of the class from a hash
|
|
59
59
|
# @param args [Hash] Hash containing all the required attributes
|
|
60
60
|
# @return [Line::Bot::V2::MessagingApi::ImagemapArea] Instance of the class
|
|
61
|
-
def self.create(args)
|
|
61
|
+
def self.create(args)
|
|
62
62
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
63
|
-
return new(**symbolized_args) # steep:ignore
|
|
63
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::ImagemapBaseSize] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args) # steep:ignore
|
|
51
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::ImagemapExternalLink] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -59,19 +59,19 @@ module Line
|
|
|
59
59
|
)
|
|
60
60
|
@type = "imagemap"
|
|
61
61
|
|
|
62
|
-
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
63
|
-
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
62
|
+
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
63
|
+
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
64
64
|
@base_url = base_url
|
|
65
65
|
@alt_text = alt_text
|
|
66
|
-
@base_size = base_size.is_a?(Line::Bot::V2::MessagingApi::ImagemapBaseSize) ? base_size : Line::Bot::V2::MessagingApi::ImagemapBaseSize.create(**base_size)
|
|
66
|
+
@base_size = base_size.is_a?(Line::Bot::V2::MessagingApi::ImagemapBaseSize) ? base_size : Line::Bot::V2::MessagingApi::ImagemapBaseSize.create(**base_size)
|
|
67
67
|
@actions = actions.map do |item|
|
|
68
68
|
if item.is_a?(Hash)
|
|
69
|
-
Line::Bot::V2::MessagingApi::ImagemapAction.create(**item)
|
|
69
|
+
Line::Bot::V2::MessagingApi::ImagemapAction.create(**item)
|
|
70
70
|
else
|
|
71
71
|
item
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
|
-
@video = video.is_a?(Line::Bot::V2::MessagingApi::ImagemapVideo) || video.nil? ? video : Line::Bot::V2::MessagingApi::ImagemapVideo.create(**video)
|
|
74
|
+
@video = video.is_a?(Line::Bot::V2::MessagingApi::ImagemapVideo) || video.nil? ? video : Line::Bot::V2::MessagingApi::ImagemapVideo.create(**video)
|
|
75
75
|
|
|
76
76
|
dynamic_attributes.each do |key, value|
|
|
77
77
|
self.class.attr_accessor key
|
|
@@ -89,9 +89,9 @@ module Line
|
|
|
89
89
|
# Create an instance of the class from a hash
|
|
90
90
|
# @param args [Hash] Hash containing all the required attributes
|
|
91
91
|
# @return [Line::Bot::V2::MessagingApi::ImagemapMessage] Instance of the class
|
|
92
|
-
def self.create(args)
|
|
92
|
+
def self.create(args)
|
|
93
93
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
94
|
-
return new(**symbolized_args) # steep:ignore
|
|
94
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
# @param other [Object] Object to compare
|
|
@@ -39,8 +39,8 @@ module Line
|
|
|
39
39
|
|
|
40
40
|
@original_content_url = original_content_url
|
|
41
41
|
@preview_image_url = preview_image_url
|
|
42
|
-
@area = area.is_a?(Line::Bot::V2::MessagingApi::ImagemapArea) || area.nil? ? area : Line::Bot::V2::MessagingApi::ImagemapArea.create(**area)
|
|
43
|
-
@external_link = external_link.is_a?(Line::Bot::V2::MessagingApi::ImagemapExternalLink) || external_link.nil? ? external_link : Line::Bot::V2::MessagingApi::ImagemapExternalLink.create(**external_link)
|
|
42
|
+
@area = area.is_a?(Line::Bot::V2::MessagingApi::ImagemapArea) || area.nil? ? area : Line::Bot::V2::MessagingApi::ImagemapArea.create(**area)
|
|
43
|
+
@external_link = external_link.is_a?(Line::Bot::V2::MessagingApi::ImagemapExternalLink) || external_link.nil? ? external_link : Line::Bot::V2::MessagingApi::ImagemapExternalLink.create(**external_link)
|
|
44
44
|
|
|
45
45
|
dynamic_attributes.each do |key, value|
|
|
46
46
|
self.class.attr_accessor key
|
|
@@ -58,9 +58,9 @@ module Line
|
|
|
58
58
|
# Create an instance of the class from a hash
|
|
59
59
|
# @param args [Hash] Hash containing all the required attributes
|
|
60
60
|
# @return [Line::Bot::V2::MessagingApi::ImagemapVideo] Instance of the class
|
|
61
|
-
def self.create(args)
|
|
61
|
+
def self.create(args)
|
|
62
62
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
63
|
-
return new(**symbolized_args)
|
|
63
|
+
return new(**symbolized_args)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# @param other [Object] Object to compare
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::IssueLinkTokenResponse] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -54,9 +54,9 @@ module Line
|
|
|
54
54
|
# Create an instance of the class from a hash
|
|
55
55
|
# @param args [Hash] Hash containing all the required attributes
|
|
56
56
|
# @return [Line::Bot::V2::MessagingApi::Limit] Instance of the class
|
|
57
|
-
def self.create(args)
|
|
57
|
+
def self.create(args)
|
|
58
58
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
59
|
-
return new(**symbolized_args)
|
|
59
|
+
return new(**symbolized_args)
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::LocationAction] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -54,8 +54,8 @@ module Line
|
|
|
54
54
|
)
|
|
55
55
|
@type = "location"
|
|
56
56
|
|
|
57
|
-
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
58
|
-
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
57
|
+
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
58
|
+
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
59
59
|
@title = title
|
|
60
60
|
@address = address
|
|
61
61
|
@latitude = latitude
|
|
@@ -77,9 +77,9 @@ module Line
|
|
|
77
77
|
# Create an instance of the class from a hash
|
|
78
78
|
# @param args [Hash] Hash containing all the required attributes
|
|
79
79
|
# @return [Line::Bot::V2::MessagingApi::LocationMessage] Instance of the class
|
|
80
|
-
def self.create(args)
|
|
80
|
+
def self.create(args)
|
|
81
81
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
82
|
-
return new(**symbolized_args) # steep:ignore
|
|
82
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# @param other [Object] Object to compare
|
|
@@ -52,9 +52,9 @@ module Line
|
|
|
52
52
|
# Create an instance of the class from a hash
|
|
53
53
|
# @param args [Hash] Hash containing all the required attributes
|
|
54
54
|
# @return [Line::Bot::V2::MessagingApi::LotteryAcquisitionConditionRequest] Instance of the class
|
|
55
|
-
def self.create(args)
|
|
55
|
+
def self.create(args)
|
|
56
56
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
57
|
-
return new(**symbolized_args) # steep:ignore
|
|
57
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @param other [Object] Object to compare
|
|
@@ -52,9 +52,9 @@ module Line
|
|
|
52
52
|
# Create an instance of the class from a hash
|
|
53
53
|
# @param args [Hash] Hash containing all the required attributes
|
|
54
54
|
# @return [Line::Bot::V2::MessagingApi::LotteryAcquisitionConditionResponse] Instance of the class
|
|
55
|
-
def self.create(args)
|
|
55
|
+
def self.create(args)
|
|
56
56
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
57
|
-
return new(**symbolized_args)
|
|
57
|
+
return new(**symbolized_args)
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @param other [Object] Object to compare
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::MarkMessagesAsReadByTokenRequest] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -23,7 +23,7 @@ module Line
|
|
|
23
23
|
**dynamic_attributes
|
|
24
24
|
)
|
|
25
25
|
|
|
26
|
-
@chat = chat.is_a?(Line::Bot::V2::MessagingApi::ChatReference) ? chat : Line::Bot::V2::MessagingApi::ChatReference.create(**chat)
|
|
26
|
+
@chat = chat.is_a?(Line::Bot::V2::MessagingApi::ChatReference) ? chat : Line::Bot::V2::MessagingApi::ChatReference.create(**chat)
|
|
27
27
|
|
|
28
28
|
dynamic_attributes.each do |key, value|
|
|
29
29
|
self.class.attr_accessor key
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::MarkMessagesAsReadRequest] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::MembersIdsResponse] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args) # steep:ignore
|
|
51
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -94,9 +94,9 @@ module Line
|
|
|
94
94
|
# Create an instance of the class from a hash
|
|
95
95
|
# @param args [Hash] Hash containing all the required attributes
|
|
96
96
|
# @return [Line::Bot::V2::MessagingApi::Membership] Instance of the class
|
|
97
|
-
def self.create(args)
|
|
97
|
+
def self.create(args)
|
|
98
98
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
99
|
-
return new(**symbolized_args) # steep:ignore
|
|
99
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
# @param other [Object] Object to compare
|