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
|
@@ -60,9 +60,9 @@ module Line
|
|
|
60
60
|
# Create an instance of the class from a hash
|
|
61
61
|
# @param args [Hash] Hash containing all the required attributes
|
|
62
62
|
# @return [Line::Bot::V2::Insight::GetStatisticsPerUnitResponseOverview] Instance of the class
|
|
63
|
-
def self.create(args)
|
|
63
|
+
def self.create(args)
|
|
64
64
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
65
|
-
return new(**symbolized_args)
|
|
65
|
+
return new(**symbolized_args)
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# @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::Insight::SubscriptionPeriodTile] 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
|
|
@@ -55,7 +55,7 @@ module Line
|
|
|
55
55
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 400
|
|
56
56
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 401
|
|
57
57
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
58
|
-
def add_liff_app_with_http_info(
|
|
58
|
+
def add_liff_app_with_http_info(
|
|
59
59
|
add_liff_app_request:
|
|
60
60
|
)
|
|
61
61
|
path = "/liff/v1/apps"
|
|
@@ -71,7 +71,7 @@ module Line
|
|
|
71
71
|
json.transform_keys! do |key|
|
|
72
72
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
73
73
|
end
|
|
74
|
-
response_body = Line::Bot::V2::Liff::AddLiffAppResponse.create(json)
|
|
74
|
+
response_body = Line::Bot::V2::Liff::AddLiffAppResponse.create(json)
|
|
75
75
|
[response_body, 200, response.each_header.to_h]
|
|
76
76
|
when 400
|
|
77
77
|
[response.body, 400, response.each_header.to_h]
|
|
@@ -112,7 +112,7 @@ module Line
|
|
|
112
112
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 401
|
|
113
113
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 404
|
|
114
114
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
115
|
-
def delete_liff_app_with_http_info(
|
|
115
|
+
def delete_liff_app_with_http_info(
|
|
116
116
|
liff_id:
|
|
117
117
|
)
|
|
118
118
|
path = "/liff/v1/apps/{liffId}"
|
|
@@ -163,7 +163,7 @@ module Line
|
|
|
163
163
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 401
|
|
164
164
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 404
|
|
165
165
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
166
|
-
def get_all_liff_apps_with_http_info(
|
|
166
|
+
def get_all_liff_apps_with_http_info(
|
|
167
167
|
)
|
|
168
168
|
path = "/liff/v1/apps"
|
|
169
169
|
|
|
@@ -177,7 +177,7 @@ module Line
|
|
|
177
177
|
json.transform_keys! do |key|
|
|
178
178
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
179
179
|
end
|
|
180
|
-
response_body = Line::Bot::V2::Liff::GetAllLiffAppsResponse.create(json)
|
|
180
|
+
response_body = Line::Bot::V2::Liff::GetAllLiffAppsResponse.create(json)
|
|
181
181
|
[response_body, 200, response.each_header.to_h]
|
|
182
182
|
when 401
|
|
183
183
|
[response.body, 401, response.each_header.to_h]
|
|
@@ -217,7 +217,7 @@ module Line
|
|
|
217
217
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 401
|
|
218
218
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 404
|
|
219
219
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
220
|
-
def update_liff_app_with_http_info(
|
|
220
|
+
def update_liff_app_with_http_info(
|
|
221
221
|
liff_id:,
|
|
222
222
|
update_liff_app_request:
|
|
223
223
|
)
|
|
@@ -48,9 +48,9 @@ module Line
|
|
|
48
48
|
**dynamic_attributes
|
|
49
49
|
)
|
|
50
50
|
|
|
51
|
-
@view = view.is_a?(Line::Bot::V2::Liff::LiffView) ? view : Line::Bot::V2::Liff::LiffView.create(**view)
|
|
51
|
+
@view = view.is_a?(Line::Bot::V2::Liff::LiffView) ? view : Line::Bot::V2::Liff::LiffView.create(**view)
|
|
52
52
|
@description = description
|
|
53
|
-
@features = features.is_a?(Line::Bot::V2::Liff::LiffFeatures) || features.nil? ? features : Line::Bot::V2::Liff::LiffFeatures.create(**features)
|
|
53
|
+
@features = features.is_a?(Line::Bot::V2::Liff::LiffFeatures) || features.nil? ? features : Line::Bot::V2::Liff::LiffFeatures.create(**features)
|
|
54
54
|
@permanent_link_pattern = permanent_link_pattern
|
|
55
55
|
@scope = scope
|
|
56
56
|
@bot_prompt = bot_prompt
|
|
@@ -71,9 +71,9 @@ module Line
|
|
|
71
71
|
# Create an instance of the class from a hash
|
|
72
72
|
# @param args [Hash] Hash containing all the required attributes
|
|
73
73
|
# @return [Line::Bot::V2::Liff::AddLiffAppRequest] Instance of the class
|
|
74
|
-
def self.create(args)
|
|
74
|
+
def self.create(args)
|
|
75
75
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
76
|
-
return new(**symbolized_args) # steep:ignore
|
|
76
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# @param other [Object] Object to compare
|
|
@@ -40,9 +40,9 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::Liff::AddLiffAppResponse] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
|
-
return new(**symbolized_args) # steep:ignore
|
|
45
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# @param other [Object] Object to compare
|
|
@@ -24,7 +24,7 @@ module Line
|
|
|
24
24
|
|
|
25
25
|
@apps = apps&.map do |item|
|
|
26
26
|
if item.is_a?(Hash)
|
|
27
|
-
Line::Bot::V2::Liff::LiffApp.create(**item)
|
|
27
|
+
Line::Bot::V2::Liff::LiffApp.create(**item)
|
|
28
28
|
else
|
|
29
29
|
item
|
|
30
30
|
end
|
|
@@ -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::Liff::GetAllLiffAppsResponse] 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
|
|
@@ -53,9 +53,9 @@ module Line
|
|
|
53
53
|
)
|
|
54
54
|
|
|
55
55
|
@liff_id = liff_id
|
|
56
|
-
@view = view.is_a?(Line::Bot::V2::Liff::LiffView) || view.nil? ? view : Line::Bot::V2::Liff::LiffView.create(**view)
|
|
56
|
+
@view = view.is_a?(Line::Bot::V2::Liff::LiffView) || view.nil? ? view : Line::Bot::V2::Liff::LiffView.create(**view)
|
|
57
57
|
@description = description
|
|
58
|
-
@features = features.is_a?(Line::Bot::V2::Liff::LiffFeatures) || features.nil? ? features : Line::Bot::V2::Liff::LiffFeatures.create(**features)
|
|
58
|
+
@features = features.is_a?(Line::Bot::V2::Liff::LiffFeatures) || features.nil? ? features : Line::Bot::V2::Liff::LiffFeatures.create(**features)
|
|
59
59
|
@permanent_link_pattern = permanent_link_pattern
|
|
60
60
|
@scope = scope
|
|
61
61
|
@bot_prompt = bot_prompt
|
|
@@ -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::Liff::LiffApp] 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
|
|
@@ -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::Liff::LiffFeatures] 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
|
|
@@ -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::Liff::LiffView] 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
|
|
@@ -48,9 +48,9 @@ module Line
|
|
|
48
48
|
**dynamic_attributes
|
|
49
49
|
)
|
|
50
50
|
|
|
51
|
-
@view = view.is_a?(Line::Bot::V2::Liff::UpdateLiffView) || view.nil? ? view : Line::Bot::V2::Liff::UpdateLiffView.create(**view)
|
|
51
|
+
@view = view.is_a?(Line::Bot::V2::Liff::UpdateLiffView) || view.nil? ? view : Line::Bot::V2::Liff::UpdateLiffView.create(**view)
|
|
52
52
|
@description = description
|
|
53
|
-
@features = features.is_a?(Line::Bot::V2::Liff::LiffFeatures) || features.nil? ? features : Line::Bot::V2::Liff::LiffFeatures.create(**features)
|
|
53
|
+
@features = features.is_a?(Line::Bot::V2::Liff::LiffFeatures) || features.nil? ? features : Line::Bot::V2::Liff::LiffFeatures.create(**features)
|
|
54
54
|
@permanent_link_pattern = permanent_link_pattern
|
|
55
55
|
@scope = scope
|
|
56
56
|
@bot_prompt = bot_prompt
|
|
@@ -71,9 +71,9 @@ module Line
|
|
|
71
71
|
# Create an instance of the class from a hash
|
|
72
72
|
# @param args [Hash] Hash containing all the required attributes
|
|
73
73
|
# @return [Line::Bot::V2::Liff::UpdateLiffAppRequest] Instance of the class
|
|
74
|
-
def self.create(args)
|
|
74
|
+
def self.create(args)
|
|
75
75
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
76
|
-
return new(**symbolized_args)
|
|
76
|
+
return new(**symbolized_args)
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# @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::Liff::UpdateLiffView] 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)
|
|
58
|
+
return new(**symbolized_args)
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# @param other [Object] Object to compare
|
|
@@ -55,7 +55,7 @@ module Line
|
|
|
55
55
|
# @see https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file
|
|
56
56
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
|
|
57
57
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
58
|
-
def add_user_ids_to_audience_with_http_info(
|
|
58
|
+
def add_user_ids_to_audience_with_http_info(
|
|
59
59
|
file:,
|
|
60
60
|
audience_group_id: nil,
|
|
61
61
|
upload_description: nil
|
|
@@ -116,7 +116,7 @@ module Line
|
|
|
116
116
|
# @see https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file
|
|
117
117
|
# @return [Array(Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse, Integer, Hash{String => String})] when HTTP status code is 202
|
|
118
118
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
119
|
-
def create_audience_for_uploading_user_ids_with_http_info(
|
|
119
|
+
def create_audience_for_uploading_user_ids_with_http_info(
|
|
120
120
|
file:,
|
|
121
121
|
description: nil,
|
|
122
122
|
is_ifa_audience: nil,
|
|
@@ -142,7 +142,7 @@ module Line
|
|
|
142
142
|
json.transform_keys! do |key|
|
|
143
143
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
144
144
|
end
|
|
145
|
-
response_body = Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse.create(json)
|
|
145
|
+
response_body = Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse.create(json)
|
|
146
146
|
[response_body, 202, response.each_header.to_h]
|
|
147
147
|
else
|
|
148
148
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -53,7 +53,7 @@ module Line
|
|
|
53
53
|
# @see https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group
|
|
54
54
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 202
|
|
55
55
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
56
|
-
def add_audience_to_audience_group_with_http_info(
|
|
56
|
+
def add_audience_to_audience_group_with_http_info(
|
|
57
57
|
add_audience_to_audience_group_request:
|
|
58
58
|
)
|
|
59
59
|
path = "/v2/bot/audienceGroup/upload"
|
|
@@ -97,7 +97,7 @@ module Line
|
|
|
97
97
|
# @see https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group
|
|
98
98
|
# @return [Array(Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse, Integer, Hash{String => String})] when HTTP status code is 202
|
|
99
99
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
100
|
-
def create_audience_group_with_http_info(
|
|
100
|
+
def create_audience_group_with_http_info(
|
|
101
101
|
create_audience_group_request:
|
|
102
102
|
)
|
|
103
103
|
path = "/v2/bot/audienceGroup/upload"
|
|
@@ -113,7 +113,7 @@ module Line
|
|
|
113
113
|
json.transform_keys! do |key|
|
|
114
114
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
115
115
|
end
|
|
116
|
-
response_body = Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse.create(json)
|
|
116
|
+
response_body = Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse.create(json)
|
|
117
117
|
[response_body, 202, response.each_header.to_h]
|
|
118
118
|
else
|
|
119
119
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -146,7 +146,7 @@ module Line
|
|
|
146
146
|
# @see https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group
|
|
147
147
|
# @return [Array(Line::Bot::V2::ManageAudience::CreateClickBasedAudienceGroupResponse, Integer, Hash{String => String})] when HTTP status code is 202
|
|
148
148
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
149
|
-
def create_click_based_audience_group_with_http_info(
|
|
149
|
+
def create_click_based_audience_group_with_http_info(
|
|
150
150
|
create_click_based_audience_group_request:
|
|
151
151
|
)
|
|
152
152
|
path = "/v2/bot/audienceGroup/click"
|
|
@@ -162,7 +162,7 @@ module Line
|
|
|
162
162
|
json.transform_keys! do |key|
|
|
163
163
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
164
164
|
end
|
|
165
|
-
response_body = Line::Bot::V2::ManageAudience::CreateClickBasedAudienceGroupResponse.create(json)
|
|
165
|
+
response_body = Line::Bot::V2::ManageAudience::CreateClickBasedAudienceGroupResponse.create(json)
|
|
166
166
|
[response_body, 202, response.each_header.to_h]
|
|
167
167
|
else
|
|
168
168
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -195,7 +195,7 @@ module Line
|
|
|
195
195
|
# @see https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group
|
|
196
196
|
# @return [Array(Line::Bot::V2::ManageAudience::CreateImpBasedAudienceGroupResponse, Integer, Hash{String => String})] when HTTP status code is 202
|
|
197
197
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
198
|
-
def create_imp_based_audience_group_with_http_info(
|
|
198
|
+
def create_imp_based_audience_group_with_http_info(
|
|
199
199
|
create_imp_based_audience_group_request:
|
|
200
200
|
)
|
|
201
201
|
path = "/v2/bot/audienceGroup/imp"
|
|
@@ -211,7 +211,7 @@ module Line
|
|
|
211
211
|
json.transform_keys! do |key|
|
|
212
212
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
213
213
|
end
|
|
214
|
-
response_body = Line::Bot::V2::ManageAudience::CreateImpBasedAudienceGroupResponse.create(json)
|
|
214
|
+
response_body = Line::Bot::V2::ManageAudience::CreateImpBasedAudienceGroupResponse.create(json)
|
|
215
215
|
[response_body, 202, response.each_header.to_h]
|
|
216
216
|
else
|
|
217
217
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -244,7 +244,7 @@ module Line
|
|
|
244
244
|
# @see https://developers.line.biz/en/reference/messaging-api/#delete-audience-group
|
|
245
245
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
|
|
246
246
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
247
|
-
def delete_audience_group_with_http_info(
|
|
247
|
+
def delete_audience_group_with_http_info(
|
|
248
248
|
audience_group_id:
|
|
249
249
|
)
|
|
250
250
|
path = "/v2/bot/audienceGroup/{audienceGroupId}"
|
|
@@ -289,7 +289,7 @@ module Line
|
|
|
289
289
|
# @return [Array(Line::Bot::V2::ManageAudience::GetAudienceDataResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
290
290
|
# @return [Array(Line::Bot::V2::ManageAudience::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
|
|
291
291
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
292
|
-
def get_audience_data_with_http_info(
|
|
292
|
+
def get_audience_data_with_http_info(
|
|
293
293
|
audience_group_id:
|
|
294
294
|
)
|
|
295
295
|
path = "/v2/bot/audienceGroup/{audienceGroupId}"
|
|
@@ -305,14 +305,14 @@ module Line
|
|
|
305
305
|
json.transform_keys! do |key|
|
|
306
306
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
307
307
|
end
|
|
308
|
-
response_body = Line::Bot::V2::ManageAudience::GetAudienceDataResponse.create(json)
|
|
308
|
+
response_body = Line::Bot::V2::ManageAudience::GetAudienceDataResponse.create(json)
|
|
309
309
|
[response_body, 200, response.each_header.to_h]
|
|
310
310
|
when 400
|
|
311
311
|
json = Line::Bot::V2::Utils.deep_underscore(JSON.parse(response.body))
|
|
312
312
|
json.transform_keys! do |key|
|
|
313
313
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
314
314
|
end
|
|
315
|
-
response_body = Line::Bot::V2::ManageAudience::ErrorResponse.create(json)
|
|
315
|
+
response_body = Line::Bot::V2::ManageAudience::ErrorResponse.create(json)
|
|
316
316
|
[response_body, 400, response.each_header.to_h]
|
|
317
317
|
else
|
|
318
318
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -351,7 +351,7 @@ module Line
|
|
|
351
351
|
# @see https://developers.line.biz/en/reference/messaging-api/#get-audience-groups
|
|
352
352
|
# @return [Array(Line::Bot::V2::ManageAudience::GetAudienceGroupsResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
353
353
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
354
|
-
def get_audience_groups_with_http_info(
|
|
354
|
+
def get_audience_groups_with_http_info(
|
|
355
355
|
page:,
|
|
356
356
|
description: nil,
|
|
357
357
|
status: nil,
|
|
@@ -380,7 +380,7 @@ module Line
|
|
|
380
380
|
json.transform_keys! do |key|
|
|
381
381
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
382
382
|
end
|
|
383
|
-
response_body = Line::Bot::V2::ManageAudience::GetAudienceGroupsResponse.create(json)
|
|
383
|
+
response_body = Line::Bot::V2::ManageAudience::GetAudienceGroupsResponse.create(json)
|
|
384
384
|
[response_body, 200, response.each_header.to_h]
|
|
385
385
|
else
|
|
386
386
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -429,7 +429,7 @@ module Line
|
|
|
429
429
|
# @return [Array(Line::Bot::V2::ManageAudience::GetSharedAudienceDataResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
430
430
|
# @return [Array(Line::Bot::V2::ManageAudience::ErrorResponse, Integer, Hash{String => String})] when HTTP status code is 400
|
|
431
431
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
432
|
-
def get_shared_audience_data_with_http_info(
|
|
432
|
+
def get_shared_audience_data_with_http_info(
|
|
433
433
|
audience_group_id:
|
|
434
434
|
)
|
|
435
435
|
path = "/v2/bot/audienceGroup/shared/{audienceGroupId}"
|
|
@@ -445,14 +445,14 @@ module Line
|
|
|
445
445
|
json.transform_keys! do |key|
|
|
446
446
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
447
447
|
end
|
|
448
|
-
response_body = Line::Bot::V2::ManageAudience::GetSharedAudienceDataResponse.create(json)
|
|
448
|
+
response_body = Line::Bot::V2::ManageAudience::GetSharedAudienceDataResponse.create(json)
|
|
449
449
|
[response_body, 200, response.each_header.to_h]
|
|
450
450
|
when 400
|
|
451
451
|
json = Line::Bot::V2::Utils.deep_underscore(JSON.parse(response.body))
|
|
452
452
|
json.transform_keys! do |key|
|
|
453
453
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
454
454
|
end
|
|
455
|
-
response_body = Line::Bot::V2::ManageAudience::ErrorResponse.create(json)
|
|
455
|
+
response_body = Line::Bot::V2::ManageAudience::ErrorResponse.create(json)
|
|
456
456
|
[response_body, 400, response.each_header.to_h]
|
|
457
457
|
else
|
|
458
458
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -491,7 +491,7 @@ module Line
|
|
|
491
491
|
# @see https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list
|
|
492
492
|
# @return [Array(Line::Bot::V2::ManageAudience::GetSharedAudienceGroupsResponse, Integer, Hash{String => String})] when HTTP status code is 200
|
|
493
493
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
494
|
-
def get_shared_audience_groups_with_http_info(
|
|
494
|
+
def get_shared_audience_groups_with_http_info(
|
|
495
495
|
page:,
|
|
496
496
|
description: nil,
|
|
497
497
|
status: nil,
|
|
@@ -520,7 +520,7 @@ module Line
|
|
|
520
520
|
json.transform_keys! do |key|
|
|
521
521
|
Line::Bot::V2::RESERVED_WORDS.include?(key) ? "_#{key}".to_sym : key
|
|
522
522
|
end
|
|
523
|
-
response_body = Line::Bot::V2::ManageAudience::GetSharedAudienceGroupsResponse.create(json)
|
|
523
|
+
response_body = Line::Bot::V2::ManageAudience::GetSharedAudienceGroupsResponse.create(json)
|
|
524
524
|
[response_body, 200, response.each_header.to_h]
|
|
525
525
|
else
|
|
526
526
|
[response.body, response.code.to_i, response.each_header.to_h]
|
|
@@ -569,7 +569,7 @@ module Line
|
|
|
569
569
|
# @see https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group
|
|
570
570
|
# @return [Array((String|nil), Integer, Hash{String => String})] when HTTP status code is 200
|
|
571
571
|
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
|
|
572
|
-
def update_audience_group_description_with_http_info(
|
|
572
|
+
def update_audience_group_description_with_http_info(
|
|
573
573
|
audience_group_id:,
|
|
574
574
|
update_audience_group_description_request:
|
|
575
575
|
)
|
|
@@ -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::ManageAudience::Adaccount] 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)
|
|
46
|
+
return new(**symbolized_args)
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -38,7 +38,7 @@ module Line
|
|
|
38
38
|
@upload_description = upload_description
|
|
39
39
|
@audiences = audiences&.map do |item|
|
|
40
40
|
if item.is_a?(Hash)
|
|
41
|
-
Line::Bot::V2::ManageAudience::Audience.create(**item)
|
|
41
|
+
Line::Bot::V2::ManageAudience::Audience.create(**item)
|
|
42
42
|
else
|
|
43
43
|
item
|
|
44
44
|
end
|
|
@@ -60,9 +60,9 @@ module Line
|
|
|
60
60
|
# Create an instance of the class from a hash
|
|
61
61
|
# @param args [Hash] Hash containing all the required attributes
|
|
62
62
|
# @return [Line::Bot::V2::ManageAudience::AddAudienceToAudienceGroupRequest] Instance of the class
|
|
63
|
-
def self.create(args)
|
|
63
|
+
def self.create(args)
|
|
64
64
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
65
|
-
return new(**symbolized_args)
|
|
65
|
+
return new(**symbolized_args)
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# @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::ManageAudience::Audience] 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)
|
|
46
|
+
return new(**symbolized_args)
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -107,9 +107,9 @@ module Line
|
|
|
107
107
|
# Create an instance of the class from a hash
|
|
108
108
|
# @param args [Hash] Hash containing all the required attributes
|
|
109
109
|
# @return [Line::Bot::V2::ManageAudience::AudienceGroup] Instance of the class
|
|
110
|
-
def self.create(args)
|
|
110
|
+
def self.create(args)
|
|
111
111
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
112
|
-
return new(**symbolized_args)
|
|
112
|
+
return new(**symbolized_args)
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
# @param other [Object] Object to compare
|
|
@@ -84,9 +84,9 @@ module Line
|
|
|
84
84
|
# Create an instance of the class from a hash
|
|
85
85
|
# @param args [Hash] Hash containing all the required attributes
|
|
86
86
|
# @return [Line::Bot::V2::ManageAudience::AudienceGroupJob] Instance of the class
|
|
87
|
-
def self.create(args)
|
|
87
|
+
def self.create(args)
|
|
88
88
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
89
|
-
return new(**symbolized_args)
|
|
89
|
+
return new(**symbolized_args)
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# @param other [Object] Object to compare
|
|
@@ -44,7 +44,7 @@ module Line
|
|
|
44
44
|
@upload_description = upload_description
|
|
45
45
|
@audiences = audiences&.map do |item|
|
|
46
46
|
if item.is_a?(Hash)
|
|
47
|
-
Line::Bot::V2::ManageAudience::Audience.create(**item)
|
|
47
|
+
Line::Bot::V2::ManageAudience::Audience.create(**item)
|
|
48
48
|
else
|
|
49
49
|
item
|
|
50
50
|
end
|
|
@@ -66,9 +66,9 @@ module Line
|
|
|
66
66
|
# Create an instance of the class from a hash
|
|
67
67
|
# @param args [Hash] Hash containing all the required attributes
|
|
68
68
|
# @return [Line::Bot::V2::ManageAudience::CreateAudienceGroupRequest] Instance of the class
|
|
69
|
-
def self.create(args)
|
|
69
|
+
def self.create(args)
|
|
70
70
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
71
|
-
return new(**symbolized_args)
|
|
71
|
+
return new(**symbolized_args)
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
# @param other [Object] Object to compare
|
|
@@ -84,9 +84,9 @@ module Line
|
|
|
84
84
|
# Create an instance of the class from a hash
|
|
85
85
|
# @param args [Hash] Hash containing all the required attributes
|
|
86
86
|
# @return [Line::Bot::V2::ManageAudience::CreateAudienceGroupResponse] Instance of the class
|
|
87
|
-
def self.create(args)
|
|
87
|
+
def self.create(args)
|
|
88
88
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
89
|
-
return new(**symbolized_args)
|
|
89
|
+
return new(**symbolized_args)
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# @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::ManageAudience::CreateClickBasedAudienceGroupRequest] 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
|
|
@@ -96,9 +96,9 @@ module Line
|
|
|
96
96
|
# Create an instance of the class from a hash
|
|
97
97
|
# @param args [Hash] Hash containing all the required attributes
|
|
98
98
|
# @return [Line::Bot::V2::ManageAudience::CreateClickBasedAudienceGroupResponse] Instance of the class
|
|
99
|
-
def self.create(args)
|
|
99
|
+
def self.create(args)
|
|
100
100
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
101
|
-
return new(**symbolized_args)
|
|
101
|
+
return new(**symbolized_args)
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
# @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::ManageAudience::CreateImpBasedAudienceGroupRequest] 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)
|
|
53
|
+
return new(**symbolized_args)
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# @param other [Object] Object to compare
|
|
@@ -66,9 +66,9 @@ module Line
|
|
|
66
66
|
# Create an instance of the class from a hash
|
|
67
67
|
# @param args [Hash] Hash containing all the required attributes
|
|
68
68
|
# @return [Line::Bot::V2::ManageAudience::CreateImpBasedAudienceGroupResponse] Instance of the class
|
|
69
|
-
def self.create(args)
|
|
69
|
+
def self.create(args)
|
|
70
70
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
71
|
-
return new(**symbolized_args)
|
|
71
|
+
return new(**symbolized_args)
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
# @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::ManageAudience::DetailedOwner] 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)
|
|
58
|
+
return new(**symbolized_args)
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# @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::ManageAudience::ErrorDetail] 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
|
|
@@ -31,7 +31,7 @@ module Line
|
|
|
31
31
|
@message = message
|
|
32
32
|
@details = details&.map do |item|
|
|
33
33
|
if item.is_a?(Hash)
|
|
34
|
-
Line::Bot::V2::ManageAudience::ErrorDetail.create(**item)
|
|
34
|
+
Line::Bot::V2::ManageAudience::ErrorDetail.create(**item)
|
|
35
35
|
else
|
|
36
36
|
item
|
|
37
37
|
end
|
|
@@ -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::ManageAudience::ErrorResponse] 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
|