telegram-bot-ruby-rbs 0.2.0 → 0.2.1
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 +5 -40
- data/sig/telegram/bot/api.rbs +65 -29
- data/sig/telegram/bot/core.rbs +1 -1
- data/sig/telegram/bot/types/accepted_gift_types.rbs +1 -1
- data/sig/telegram/bot/types/affiliate_info.rbs +1 -1
- data/sig/telegram/bot/types/animation.rbs +1 -1
- data/sig/telegram/bot/types/area_position.rbs +17 -0
- data/sig/telegram/bot/types/audio.rbs +1 -1
- data/sig/telegram/bot/types/background_fill_freeform_gradient.rbs +1 -1
- data/sig/telegram/bot/types/background_fill_gradient.rbs +1 -1
- data/sig/telegram/bot/types/background_fill_solid.rbs +1 -1
- data/sig/telegram/bot/types/background_type_chat_theme.rbs +1 -1
- data/sig/telegram/bot/types/background_type_fill.rbs +1 -1
- data/sig/telegram/bot/types/background_type_pattern.rbs +1 -1
- data/sig/telegram/bot/types/background_type_wallpaper.rbs +1 -1
- data/sig/telegram/bot/types/base.rbs +1 -1
- data/sig/telegram/bot/types/birthdate.rbs +1 -1
- data/sig/telegram/bot/types/bot_access_settings.rbs +1 -1
- data/sig/telegram/bot/types/bot_command.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_all_chat_administrators.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_all_group_chats.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_all_private_chats.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_chat.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_chat_administrators.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_chat_member.rbs +1 -1
- data/sig/telegram/bot/types/bot_command_scope_default.rbs +1 -1
- data/sig/telegram/bot/types/bot_description.rbs +1 -1
- data/sig/telegram/bot/types/bot_name.rbs +1 -1
- data/sig/telegram/bot/types/bot_short_description.rbs +1 -1
- data/sig/telegram/bot/types/bot_subscription_updated.rbs +1 -1
- data/sig/telegram/bot/types/business_bot_rights.rbs +1 -1
- data/sig/telegram/bot/types/business_connection.rbs +1 -1
- data/sig/telegram/bot/types/business_intro.rbs +1 -1
- data/sig/telegram/bot/types/business_location.rbs +1 -1
- data/sig/telegram/bot/types/business_messages_deleted.rbs +1 -1
- data/sig/telegram/bot/types/business_opening_hours.rbs +1 -1
- data/sig/telegram/bot/types/business_opening_hours_interval.rbs +1 -1
- data/sig/telegram/bot/types/callback_game.rbs +1 -1
- data/sig/telegram/bot/types/callback_query.rbs +1 -1
- data/sig/telegram/bot/types/chat.rbs +1 -1
- data/sig/telegram/bot/types/chat_administrator_rights.rbs +3 -2
- data/sig/telegram/bot/types/chat_background.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost_added.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost_removed.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost_source_gift_code.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost_source_giveaway.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost_source_premium.rbs +1 -1
- data/sig/telegram/bot/types/chat_boost_updated.rbs +1 -1
- data/sig/telegram/bot/types/chat_full_info.rbs +4 -2
- data/sig/telegram/bot/types/chat_invite_link.rbs +1 -1
- data/sig/telegram/bot/types/chat_join_request.rbs +1 -1
- data/sig/telegram/bot/types/chat_location.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_administrator.rbs +3 -2
- data/sig/telegram/bot/types/chat_member_banned.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_left.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_member.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_owner.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_restricted.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_updated.rbs +1 -1
- data/sig/telegram/bot/types/chat_owner_changed.rbs +1 -1
- data/sig/telegram/bot/types/chat_owner_left.rbs +1 -1
- data/sig/telegram/bot/types/chat_permissions.rbs +1 -1
- data/sig/telegram/bot/types/chat_photo.rbs +1 -1
- data/sig/telegram/bot/types/chat_share_theme_backdrop.rbs +14 -0
- data/sig/telegram/bot/types/chat_share_theme_backdrops.rbs +12 -0
- data/sig/telegram/bot/types/chat_share_theme_emoji.rbs +14 -0
- data/sig/telegram/bot/types/chat_share_theme_unique_gift.rbs +13 -0
- data/sig/telegram/bot/types/chat_shared.rbs +1 -1
- data/sig/telegram/bot/types/checklist.rbs +1 -1
- data/sig/telegram/bot/types/checklist_task.rbs +1 -1
- data/sig/telegram/bot/types/checklist_tasks_added.rbs +1 -1
- data/sig/telegram/bot/types/checklist_tasks_done.rbs +1 -1
- data/sig/telegram/bot/types/chosen_inline_result.rbs +1 -1
- data/sig/telegram/bot/types/community.rbs +1 -1
- data/sig/telegram/bot/types/community_chat_added.rbs +1 -1
- data/sig/telegram/bot/types/community_chat_joined.rbs +12 -0
- data/sig/telegram/bot/types/community_chat_removed.rbs +1 -1
- data/sig/telegram/bot/types/contact.rbs +1 -1
- data/sig/telegram/bot/types/copy_text_button.rbs +1 -1
- data/sig/telegram/bot/types/dice.rbs +1 -1
- data/sig/telegram/bot/types/direct_message_price_changed.rbs +1 -1
- data/sig/telegram/bot/types/direct_messages_topic.rbs +1 -1
- data/sig/telegram/bot/types/disabled_button.rbs +11 -0
- data/sig/telegram/bot/types/document.rbs +1 -1
- data/sig/telegram/bot/types/emoji_type_custom_emoji.rbs +13 -0
- data/sig/telegram/bot/types/emoji_type_emoji.rbs +13 -0
- data/sig/telegram/bot/types/encrypted_credentials.rbs +1 -1
- data/sig/telegram/bot/types/encrypted_passport_element.rbs +1 -1
- data/sig/telegram/bot/types/ephemeral_message_parameters.rbs +14 -0
- data/sig/telegram/bot/types/error.rbs +1 -1
- data/sig/telegram/bot/types/external_reply_info.rbs +3 -2
- data/sig/telegram/bot/types/file.rbs +1 -1
- data/sig/telegram/bot/types/force_reply.rbs +1 -1
- data/sig/telegram/bot/types/forum_topic.rbs +1 -1
- data/sig/telegram/bot/types/forum_topic_closed.rbs +1 -1
- data/sig/telegram/bot/types/forum_topic_created.rbs +1 -1
- data/sig/telegram/bot/types/forum_topic_edited.rbs +1 -1
- data/sig/telegram/bot/types/forum_topic_reopened.rbs +1 -1
- data/sig/telegram/bot/types/game.rbs +1 -1
- data/sig/telegram/bot/types/game_high_score.rbs +1 -1
- data/sig/telegram/bot/types/general_forum_topic_hidden.rbs +1 -1
- data/sig/telegram/bot/types/general_forum_topic_unhidden.rbs +1 -1
- data/sig/telegram/bot/types/gift.rbs +1 -1
- data/sig/telegram/bot/types/gift_background.rbs +1 -1
- data/sig/telegram/bot/types/gift_info.rbs +1 -1
- data/sig/telegram/bot/types/gifts.rbs +1 -1
- data/sig/telegram/bot/types/giveaway.rbs +1 -1
- data/sig/telegram/bot/types/giveaway_completed.rbs +1 -1
- data/sig/telegram/bot/types/giveaway_created.rbs +1 -1
- data/sig/telegram/bot/types/giveaway_winners.rbs +1 -1
- data/sig/telegram/bot/types/inaccessible_message.rbs +1 -1
- data/sig/telegram/bot/types/inline_keyboard_button.rbs +3 -2
- data/sig/telegram/bot/types/inline_keyboard_markup.rbs +3 -2
- data/sig/telegram/bot/types/inline_query.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_article.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_audio.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_audio.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_document.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_gif.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_photo.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_sticker.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_video.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_cached_voice.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_contact.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_document.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_game.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_gif.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_location.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_mpeg4_gif.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_photo.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_venue.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_video.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_result_voice.rbs +1 -1
- data/sig/telegram/bot/types/inline_query_results_button.rbs +1 -1
- data/sig/telegram/bot/types/input_checklist.rbs +1 -1
- data/sig/telegram/bot/types/input_checklist_task.rbs +1 -1
- data/sig/telegram/bot/types/input_contact_message_content.rbs +1 -1
- data/sig/telegram/bot/types/input_file.rbs +1 -1
- data/sig/telegram/bot/types/input_invoice_message_content.rbs +1 -1
- data/sig/telegram/bot/types/input_location_message_content.rbs +1 -1
- data/sig/telegram/bot/types/input_media_animation.rbs +1 -1
- data/sig/telegram/bot/types/input_media_audio.rbs +1 -1
- data/sig/telegram/bot/types/input_media_document.rbs +1 -1
- data/sig/telegram/bot/types/input_media_link.rbs +1 -1
- data/sig/telegram/bot/types/input_media_live_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_media_location.rbs +1 -1
- data/sig/telegram/bot/types/input_media_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_media_sticker.rbs +1 -1
- data/sig/telegram/bot/types/input_media_venue.rbs +1 -1
- data/sig/telegram/bot/types/input_media_video.rbs +1 -1
- data/sig/telegram/bot/types/input_media_voice_note.rbs +1 -1
- data/sig/telegram/bot/types/input_paid_media_live_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_paid_media_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_paid_media_video.rbs +1 -1
- data/sig/telegram/bot/types/input_poll_option.rbs +1 -1
- data/sig/telegram/bot/types/input_profile_photo_animated.rbs +1 -1
- data/sig/telegram/bot/types/input_profile_photo_static.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_anchor.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_animation.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_audio.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_block_quotation.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_buttons.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_collage.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_details.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_divider.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_document.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_expandable_block_quotation.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_footer.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_list.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_list_item.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_map.rbs +5 -5
- data/sig/telegram/bot/types/input_rich_block_mathematical_expression.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_paragraph.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_preformatted.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_pull_quotation.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_section_heading.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_slideshow.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_table.rbs +3 -2
- data/sig/telegram/bot/types/input_rich_block_thinking.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_video.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_block_voice_note.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_message.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_message_content.rbs +1 -1
- data/sig/telegram/bot/types/input_rich_message_media.rbs +3 -3
- data/sig/telegram/bot/types/input_shared_widget_message_content.rbs +17 -0
- data/sig/telegram/bot/types/input_sticker.rbs +1 -1
- data/sig/telegram/bot/types/input_story_content_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_story_content_video.rbs +1 -1
- data/sig/telegram/bot/types/input_text_message_content.rbs +1 -1
- data/sig/telegram/bot/types/input_venue_message_content.rbs +1 -1
- data/sig/telegram/bot/types/input_widget_message_content.rbs +22 -0
- data/sig/telegram/bot/types/invoice.rbs +1 -1
- data/sig/telegram/bot/types/keyboard_button.rbs +1 -1
- data/sig/telegram/bot/types/keyboard_button_poll_type.rbs +1 -1
- data/sig/telegram/bot/types/keyboard_button_request_chat.rbs +1 -1
- data/sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs +1 -1
- data/sig/telegram/bot/types/keyboard_button_request_users.rbs +1 -1
- data/sig/telegram/bot/types/labeled_price.rbs +1 -1
- data/sig/telegram/bot/types/link.rbs +1 -1
- data/sig/telegram/bot/types/link_preview_options.rbs +1 -1
- data/sig/telegram/bot/types/live_photo.rbs +1 -1
- data/sig/telegram/bot/types/location.rbs +1 -1
- data/sig/telegram/bot/types/location_address.rbs +1 -1
- data/sig/telegram/bot/types/login_url.rbs +1 -1
- data/sig/telegram/bot/types/managed_bot_created.rbs +1 -1
- data/sig/telegram/bot/types/managed_bot_updated.rbs +1 -1
- data/sig/telegram/bot/types/mask_position.rbs +1 -1
- data/sig/telegram/bot/types/menu_button_commands.rbs +1 -1
- data/sig/telegram/bot/types/menu_button_default.rbs +1 -1
- data/sig/telegram/bot/types/menu_button_web_app.rbs +1 -1
- data/sig/telegram/bot/types/message.rbs +6 -2
- data/sig/telegram/bot/types/message_auto_delete_timer_changed.rbs +1 -1
- data/sig/telegram/bot/types/message_entity.rbs +1 -1
- data/sig/telegram/bot/types/message_generation_stopped.rbs +14 -0
- data/sig/telegram/bot/types/message_id.rbs +1 -1
- data/sig/telegram/bot/types/message_origin_channel.rbs +1 -1
- data/sig/telegram/bot/types/message_origin_chat.rbs +1 -1
- data/sig/telegram/bot/types/message_origin_hidden_user.rbs +1 -1
- data/sig/telegram/bot/types/message_origin_user.rbs +1 -1
- data/sig/telegram/bot/types/message_reaction_count_updated.rbs +1 -1
- data/sig/telegram/bot/types/message_reaction_updated.rbs +1 -1
- data/sig/telegram/bot/types/order_info.rbs +1 -1
- data/sig/telegram/bot/types/owned_gift_regular.rbs +1 -1
- data/sig/telegram/bot/types/owned_gift_unique.rbs +1 -1
- data/sig/telegram/bot/types/owned_gifts.rbs +1 -1
- data/sig/telegram/bot/types/paid_media_info.rbs +1 -1
- data/sig/telegram/bot/types/paid_media_live_photo.rbs +1 -1
- data/sig/telegram/bot/types/paid_media_photo.rbs +1 -1
- data/sig/telegram/bot/types/paid_media_preview.rbs +1 -1
- data/sig/telegram/bot/types/paid_media_purchased.rbs +1 -1
- data/sig/telegram/bot/types/paid_media_video.rbs +1 -1
- data/sig/telegram/bot/types/paid_message_price_changed.rbs +1 -1
- data/sig/telegram/bot/types/paid_messages_waived.rbs +11 -0
- data/sig/telegram/bot/types/passport_data.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_data_field.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_file.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_files.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_front_side.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_reverse_side.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_selfie.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_translation_file.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_translation_files.rbs +1 -1
- data/sig/telegram/bot/types/passport_element_error_unspecified.rbs +1 -1
- data/sig/telegram/bot/types/passport_file.rbs +1 -1
- data/sig/telegram/bot/types/photo_size.rbs +1 -1
- data/sig/telegram/bot/types/poll.rbs +1 -1
- data/sig/telegram/bot/types/poll_answer.rbs +1 -1
- data/sig/telegram/bot/types/poll_media.rbs +1 -1
- data/sig/telegram/bot/types/poll_option.rbs +1 -1
- data/sig/telegram/bot/types/poll_option_added.rbs +1 -1
- data/sig/telegram/bot/types/poll_option_deleted.rbs +1 -1
- data/sig/telegram/bot/types/pre_checkout_query.rbs +1 -1
- data/sig/telegram/bot/types/prepared_inline_message.rbs +1 -1
- data/sig/telegram/bot/types/prepared_keyboard_button.rbs +1 -1
- data/sig/telegram/bot/types/proximity_alert_triggered.rbs +1 -1
- data/sig/telegram/bot/types/reaction_count.rbs +1 -1
- data/sig/telegram/bot/types/reaction_type_custom_emoji.rbs +1 -1
- data/sig/telegram/bot/types/reaction_type_emoji.rbs +1 -1
- data/sig/telegram/bot/types/reaction_type_paid.rbs +1 -1
- data/sig/telegram/bot/types/refunded_payment.rbs +1 -1
- data/sig/telegram/bot/types/reply_keyboard_markup.rbs +3 -2
- data/sig/telegram/bot/types/reply_keyboard_remove.rbs +1 -1
- data/sig/telegram/bot/types/reply_parameters.rbs +3 -2
- data/sig/telegram/bot/types/response_parameters.rbs +1 -1
- data/sig/telegram/bot/types/revenue_withdrawal_state_failed.rbs +1 -1
- data/sig/telegram/bot/types/revenue_withdrawal_state_pending.rbs +1 -1
- data/sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_anchor.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_animation.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_audio.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_block_quotation.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_buttons.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_caption.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_collage.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_details.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_divider.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_document.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_expandable_block_quotation.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_footer.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_list.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_list_item.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_map.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_mathematical_expression.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_paragraph.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_photo.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_preformatted.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_pull_quotation.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_section_heading.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_slideshow.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_table.rbs +3 -2
- data/sig/telegram/bot/types/rich_block_table_cell.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_thinking.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_video.rbs +1 -1
- data/sig/telegram/bot/types/rich_block_voice_note.rbs +1 -1
- data/sig/telegram/bot/types/rich_message.rbs +1 -1
- data/sig/telegram/bot/types/rich_message_button.rbs +22 -0
- data/sig/telegram/bot/types/rich_text_anchor.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_anchor_link.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_bank_card_number.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_bold.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_bot_command.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_button.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_cashtag.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_code.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_custom_emoji.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_date_time.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_email_address.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_hashtag.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_italic.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_marked.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_mathematical_expression.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_mention.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_phone_number.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_reference.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_reference_link.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_spoiler.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_strikethrough.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_subscript.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_superscript.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_text_mention.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_ton_address.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_underline.rbs +1 -1
- data/sig/telegram/bot/types/rich_text_url.rbs +1 -1
- data/sig/telegram/bot/types/sent_guest_message.rbs +1 -1
- data/sig/telegram/bot/types/sent_web_app_message.rbs +1 -1
- data/sig/telegram/bot/types/shared_user.rbs +1 -1
- data/sig/telegram/bot/types/shared_widget_query.rbs +16 -0
- data/sig/telegram/bot/types/shipping_address.rbs +1 -1
- data/sig/telegram/bot/types/shipping_option.rbs +1 -1
- data/sig/telegram/bot/types/shipping_query.rbs +1 -1
- data/sig/telegram/bot/types/star_amount.rbs +1 -1
- data/sig/telegram/bot/types/star_transaction.rbs +1 -1
- data/sig/telegram/bot/types/star_transactions.rbs +1 -1
- data/sig/telegram/bot/types/sticker.rbs +1 -1
- data/sig/telegram/bot/types/sticker_set.rbs +1 -1
- data/sig/telegram/bot/types/story.rbs +1 -1
- data/sig/telegram/bot/types/story_area.rbs +3 -3
- data/sig/telegram/bot/types/story_area_position.rbs +1 -1
- data/sig/telegram/bot/types/story_area_type_link.rbs +1 -1
- data/sig/telegram/bot/types/story_area_type_location.rbs +1 -1
- data/sig/telegram/bot/types/story_area_type_suggested_reaction.rbs +1 -1
- data/sig/telegram/bot/types/story_area_type_unique_gift.rbs +1 -1
- data/sig/telegram/bot/types/story_area_type_weather.rbs +1 -1
- data/sig/telegram/bot/types/successful_payment.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_approval_failed.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_approved.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_declined.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_info.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_paid.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_parameters.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_price.rbs +1 -1
- data/sig/telegram/bot/types/suggested_post_refunded.rbs +1 -1
- data/sig/telegram/bot/types/switch_inline_query_chosen_chat.rbs +1 -1
- data/sig/telegram/bot/types/text_quote.rbs +3 -2
- data/sig/telegram/bot/types/ton_nft.rbs +18 -0
- data/sig/telegram/bot/types/ton_nft_attribute.rbs +13 -0
- data/sig/telegram/bot/types/ton_wallet_card.rbs +15 -0
- data/sig/telegram/bot/types/ton_wallet_card_sticker.rbs +13 -0
- data/sig/telegram/bot/types/ton_wallet_transfer.rbs +15 -0
- data/sig/telegram/bot/types/transaction_partner_affiliate_program.rbs +1 -1
- data/sig/telegram/bot/types/transaction_partner_chat.rbs +1 -1
- data/sig/telegram/bot/types/transaction_partner_fragment.rbs +1 -1
- data/sig/telegram/bot/types/transaction_partner_other.rbs +1 -1
- data/sig/telegram/bot/types/transaction_partner_telegram_ads.rbs +1 -1
- data/sig/telegram/bot/types/transaction_partner_telegram_api.rbs +1 -1
- data/sig/telegram/bot/types/transaction_partner_user.rbs +1 -1
- data/sig/telegram/bot/types/unions.rbs +14 -5
- data/sig/telegram/bot/types/unique_gift.rbs +1 -1
- data/sig/telegram/bot/types/unique_gift_backdrop.rbs +1 -1
- data/sig/telegram/bot/types/unique_gift_backdrop_colors.rbs +1 -1
- data/sig/telegram/bot/types/unique_gift_colors.rbs +1 -1
- data/sig/telegram/bot/types/unique_gift_info.rbs +5 -2
- data/sig/telegram/bot/types/unique_gift_model.rbs +1 -1
- data/sig/telegram/bot/types/unique_gift_symbol.rbs +1 -1
- data/sig/telegram/bot/types/update.rbs +5 -2
- data/sig/telegram/bot/types/user.rbs +1 -1
- data/sig/telegram/bot/types/user_chat_boosts.rbs +1 -1
- data/sig/telegram/bot/types/user_profile_audios.rbs +1 -1
- data/sig/telegram/bot/types/user_profile_photos.rbs +1 -1
- data/sig/telegram/bot/types/user_rating.rbs +1 -1
- data/sig/telegram/bot/types/users_shared.rbs +1 -1
- data/sig/telegram/bot/types/venue.rbs +1 -1
- data/sig/telegram/bot/types/video.rbs +1 -1
- data/sig/telegram/bot/types/video_chat_ended.rbs +1 -1
- data/sig/telegram/bot/types/video_chat_participants_invited.rbs +1 -1
- data/sig/telegram/bot/types/video_chat_scheduled.rbs +1 -1
- data/sig/telegram/bot/types/video_chat_started.rbs +1 -1
- data/sig/telegram/bot/types/video_note.rbs +1 -1
- data/sig/telegram/bot/types/video_quality.rbs +1 -1
- data/sig/telegram/bot/types/voice.rbs +1 -1
- data/sig/telegram/bot/types/web_app_data.rbs +1 -1
- data/sig/telegram/bot/types/web_app_info.rbs +1 -1
- data/sig/telegram/bot/types/webhook_info.rbs +1 -1
- data/sig/telegram/bot/types/widget.rbs +17 -0
- data/sig/telegram/bot/types/widget_query.rbs +21 -0
- data/sig/telegram/bot/types/widget_query_type_data.rbs +13 -0
- data/sig/telegram/bot/types/widget_query_type_sent_transaction.rbs +14 -0
- data/sig/telegram/bot/types/widget_query_type_sign_data.rbs +14 -0
- data/sig/telegram/bot/types/widget_query_wallet.rbs +15 -0
- data/sig/telegram/bot/types/write_access_allowed.rbs +1 -1
- metadata +41 -6
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichTextTonAddress < Base
|
|
6
|
+
def self.new: (?type: String, text: rich_text, address: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader text: rich_text
|
|
10
|
+
attr_reader address: String
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class SharedWidgetQuery < Base
|
|
6
|
+
def self.new: (id: String, from: User, type: widget_query_type, data: String, widget_id: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader id: String
|
|
9
|
+
attr_reader from: User
|
|
10
|
+
attr_reader type: widget_query_type
|
|
11
|
+
attr_reader data: String
|
|
12
|
+
attr_reader widget_id: String
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class StoryArea < Base
|
|
6
|
-
def self.new: (position:
|
|
6
|
+
def self.new: (position: AreaPosition, type: story_area_type) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
-
attr_reader position:
|
|
8
|
+
attr_reader position: AreaPosition
|
|
9
9
|
attr_reader type: story_area_type
|
|
10
10
|
end
|
|
11
11
|
end
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class TextQuote < Base
|
|
6
|
-
def self.new: (text: String, ?entities: Array[MessageEntity], position: Integer, ?is_manual: true) -> instance
|
|
6
|
+
def self.new: (text: String, ?entities: Array[MessageEntity], ?rich_texts: Array[rich_text], position: Integer, ?is_manual: true) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
8
|
attr_reader text: String
|
|
9
9
|
attr_reader entities: Array[MessageEntity]?
|
|
10
|
+
attr_reader rich_texts: Array[rich_text]?
|
|
10
11
|
attr_reader position: Integer
|
|
11
12
|
attr_reader is_manual: true?
|
|
12
13
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class TonNft < Base
|
|
6
|
+
def self.new: (address: String, ?collection_address: String, index: String, name: String, description: String, ?attributes: Array[TonNftAttribute], ?gift: UniqueGift) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader address: String
|
|
9
|
+
attr_reader collection_address: String?
|
|
10
|
+
attr_reader index: String
|
|
11
|
+
attr_reader name: String
|
|
12
|
+
attr_reader description: String
|
|
13
|
+
attr_reader attributes: Array[TonNftAttribute]?
|
|
14
|
+
attr_reader gift: UniqueGift?
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class TonNftAttribute < Base
|
|
6
|
+
def self.new: (trait_type: String, value: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader trait_type: String
|
|
9
|
+
attr_reader value: String
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class TonWalletCard < Base
|
|
6
|
+
def self.new: (address: String, amount: String, stickers: Array[TonWalletCardSticker], ?background_nft_address: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader address: String
|
|
9
|
+
attr_reader amount: String
|
|
10
|
+
attr_reader stickers: Array[TonWalletCardSticker]
|
|
11
|
+
attr_reader background_nft_address: String?
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class TonWalletCardSticker < Base
|
|
6
|
+
def self.new: (position: AreaPosition, nft: TonNft) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader position: AreaPosition
|
|
9
|
+
attr_reader nft: TonNft
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class TonWalletTransfer < Base
|
|
6
|
+
def self.new: (transaction_id: String, peer_address: String, amount: String, ?comment: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader transaction_id: String
|
|
9
|
+
attr_reader peer_address: String
|
|
10
|
+
attr_reader amount: String
|
|
11
|
+
attr_reader comment: String?
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
@@ -17,13 +17,19 @@
|
|
|
17
17
|
type chat_member = ChatMemberOwner | ChatMemberAdministrator | ChatMemberMember | ChatMemberRestricted | ChatMemberLeft | ChatMemberBanned
|
|
18
18
|
ChatMember: untyped
|
|
19
19
|
|
|
20
|
+
type chat_share_theme = ChatShareThemeEmoji | ChatShareThemeUniqueGift
|
|
21
|
+
ChatShareTheme: untyped
|
|
22
|
+
|
|
23
|
+
type emoji_type = EmojiTypeEmoji | EmojiTypeCustomEmoji
|
|
24
|
+
EmojiType: untyped
|
|
25
|
+
|
|
20
26
|
type inline_query_result = InlineQueryResultCachedAudio | InlineQueryResultCachedDocument | InlineQueryResultCachedGif | InlineQueryResultCachedMpeg4Gif | InlineQueryResultCachedPhoto | InlineQueryResultCachedSticker | InlineQueryResultCachedVideo | InlineQueryResultCachedVoice | InlineQueryResultArticle | InlineQueryResultAudio | InlineQueryResultContact | InlineQueryResultGame | InlineQueryResultDocument | InlineQueryResultGif | InlineQueryResultLocation | InlineQueryResultMpeg4Gif | InlineQueryResultPhoto | InlineQueryResultVenue | InlineQueryResultVideo | InlineQueryResultVoice
|
|
21
27
|
InlineQueryResult: untyped
|
|
22
28
|
|
|
23
29
|
type input_media = InputMediaAnimation | InputMediaAudio | InputMediaDocument | InputMediaLivePhoto | InputMediaPhoto | InputMediaVideo
|
|
24
30
|
InputMedia: untyped
|
|
25
31
|
|
|
26
|
-
type input_message_content = InputTextMessageContent | InputRichMessageContent | InputLocationMessageContent | InputVenueMessageContent | InputContactMessageContent | InputInvoiceMessageContent
|
|
32
|
+
type input_message_content = InputTextMessageContent | InputRichMessageContent | InputLocationMessageContent | InputVenueMessageContent | InputContactMessageContent | InputInvoiceMessageContent | InputWidgetMessageContent | InputSharedWidgetMessageContent
|
|
27
33
|
InputMessageContent: untyped
|
|
28
34
|
|
|
29
35
|
type input_paid_media = InputPaidMediaLivePhoto | InputPaidMediaPhoto | InputPaidMediaVideo
|
|
@@ -38,7 +44,7 @@
|
|
|
38
44
|
type input_profile_photo = InputProfilePhotoStatic | InputProfilePhotoAnimated
|
|
39
45
|
InputProfilePhoto: untyped
|
|
40
46
|
|
|
41
|
-
type input_rich_block = InputRichBlockParagraph | InputRichBlockSectionHeading | InputRichBlockPreformatted | InputRichBlockFooter | InputRichBlockDivider | InputRichBlockMathematicalExpression | InputRichBlockAnchor | InputRichBlockList | InputRichBlockBlockQuotation | InputRichBlockPullQuotation | InputRichBlockCollage | InputRichBlockSlideshow | InputRichBlockTable | InputRichBlockDetails | InputRichBlockMap | InputRichBlockAnimation | InputRichBlockAudio | InputRichBlockPhoto | InputRichBlockVideo | InputRichBlockVoiceNote | InputRichBlockThinking
|
|
47
|
+
type input_rich_block = InputRichBlockParagraph | InputRichBlockSectionHeading | InputRichBlockPreformatted | InputRichBlockFooter | InputRichBlockDivider | InputRichBlockMathematicalExpression | InputRichBlockAnchor | InputRichBlockList | InputRichBlockBlockQuotation | InputRichBlockExpandableBlockQuotation | InputRichBlockPullQuotation | InputRichBlockCollage | InputRichBlockSlideshow | InputRichBlockTable | InputRichBlockDetails | InputRichBlockMap | InputRichBlockButtons | InputRichBlockAnimation | InputRichBlockAudio | InputRichBlockDocument | InputRichBlockPhoto | InputRichBlockVideo | InputRichBlockVoiceNote | InputRichBlockThinking
|
|
42
48
|
InputRichBlock: untyped
|
|
43
49
|
|
|
44
50
|
type input_story_content = InputStoryContentPhoto | InputStoryContentVideo
|
|
@@ -68,10 +74,10 @@
|
|
|
68
74
|
type revenue_withdrawal_state = RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed
|
|
69
75
|
RevenueWithdrawalState: untyped
|
|
70
76
|
|
|
71
|
-
type rich_block = RichBlockParagraph | RichBlockSectionHeading | RichBlockPreformatted | RichBlockFooter | RichBlockDivider | RichBlockMathematicalExpression | RichBlockAnchor | RichBlockList | RichBlockBlockQuotation | RichBlockPullQuotation | RichBlockCollage | RichBlockSlideshow | RichBlockTable | RichBlockDetails | RichBlockMap | RichBlockAnimation | RichBlockAudio | RichBlockPhoto | RichBlockVideo | RichBlockVoiceNote | RichBlockThinking
|
|
77
|
+
type rich_block = RichBlockParagraph | RichBlockSectionHeading | RichBlockPreformatted | RichBlockFooter | RichBlockDivider | RichBlockMathematicalExpression | RichBlockAnchor | RichBlockList | RichBlockBlockQuotation | RichBlockExpandableBlockQuotation | RichBlockPullQuotation | RichBlockCollage | RichBlockSlideshow | RichBlockTable | RichBlockDetails | RichBlockMap | RichBlockButtons | RichBlockAnimation | RichBlockAudio | RichBlockDocument | RichBlockPhoto | RichBlockVideo | RichBlockVoiceNote | RichBlockThinking
|
|
72
78
|
RichBlock: untyped
|
|
73
79
|
|
|
74
|
-
type rich_text = String | Array[rich_text] | RichTextBold | RichTextItalic | RichTextUnderline | RichTextStrikethrough | RichTextSpoiler | RichTextDateTime | RichTextTextMention | RichTextSubscript | RichTextSuperscript | RichTextMarked | RichTextCode | RichTextCustomEmoji | RichTextMathematicalExpression | RichTextUrl | RichTextEmailAddress | RichTextPhoneNumber | RichTextBankCardNumber | RichTextMention | RichTextHashtag | RichTextCashtag | RichTextBotCommand | RichTextAnchor | RichTextAnchorLink | RichTextReference | RichTextReferenceLink
|
|
80
|
+
type rich_text = String | Array[rich_text] | RichTextBold | RichTextItalic | RichTextUnderline | RichTextStrikethrough | RichTextSpoiler | RichTextDateTime | RichTextTextMention | RichTextSubscript | RichTextSuperscript | RichTextMarked | RichTextCode | RichTextCustomEmoji | RichTextMathematicalExpression | RichTextUrl | RichTextEmailAddress | RichTextPhoneNumber | RichTextBankCardNumber | RichTextTonAddress | RichTextMention | RichTextHashtag | RichTextCashtag | RichTextBotCommand | RichTextButton | RichTextAnchor | RichTextAnchorLink | RichTextReference | RichTextReferenceLink
|
|
75
81
|
RichText: untyped
|
|
76
82
|
|
|
77
83
|
type story_area_type = StoryAreaTypeLocation | StoryAreaTypeSuggestedReaction | StoryAreaTypeLink | StoryAreaTypeWeather | StoryAreaTypeUniqueGift
|
|
@@ -79,6 +85,9 @@
|
|
|
79
85
|
|
|
80
86
|
type transaction_partner = TransactionPartnerUser | TransactionPartnerChat | TransactionPartnerAffiliateProgram | TransactionPartnerFragment | TransactionPartnerTelegramAds | TransactionPartnerTelegramApi | TransactionPartnerOther
|
|
81
87
|
TransactionPartner: untyped
|
|
88
|
+
|
|
89
|
+
type widget_query_type = WidgetQueryTypeData | WidgetQueryTypeSignData | WidgetQueryTypeSentTransaction
|
|
90
|
+
WidgetQueryType: untyped
|
|
82
91
|
end
|
|
83
92
|
end
|
|
84
93
|
end
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class UniqueGiftInfo < Base
|
|
6
|
-
def self.new: (gift: UniqueGift, origin: String, ?last_resale_currency: String, ?last_resale_amount: Integer, ?owned_gift_id: String, ?transfer_star_count: Integer, ?next_transfer_date: Integer) -> instance
|
|
6
|
+
def self.new: (gift: UniqueGift, origin: String, ?text: String, ?entities: Array[MessageEntity], ?is_private: true, ?last_resale_currency: String, ?last_resale_amount: Integer, ?owned_gift_id: String, ?transfer_star_count: Integer, ?next_transfer_date: Integer) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
8
|
attr_reader gift: UniqueGift
|
|
9
9
|
attr_reader origin: String
|
|
10
|
+
attr_reader text: String?
|
|
11
|
+
attr_reader entities: Array[MessageEntity]?
|
|
12
|
+
attr_reader is_private: true?
|
|
10
13
|
attr_reader last_resale_currency: String?
|
|
11
14
|
attr_reader last_resale_amount: Integer?
|
|
12
15
|
attr_reader owned_gift_id: String?
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.9.0. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class Update < Base
|
|
6
|
-
def self.new: (update_id: Integer, ?message: Message, ?edited_message: Message, ?channel_post: Message, ?edited_channel_post: Message, ?business_connection: BusinessConnection, ?business_message: Message, ?edited_business_message: Message, ?deleted_business_messages: BusinessMessagesDeleted, ?guest_message: Message, ?message_reaction: MessageReactionUpdated, ?message_reaction_count: MessageReactionCountUpdated, ?inline_query: InlineQuery, ?chosen_inline_result: ChosenInlineResult, ?callback_query: CallbackQuery, ?shipping_query: ShippingQuery, ?pre_checkout_query: PreCheckoutQuery, ?purchased_paid_media: PaidMediaPurchased, ?poll: Poll, ?poll_answer: PollAnswer, ?my_chat_member: ChatMemberUpdated, ?chat_member: ChatMemberUpdated, ?chat_join_request: ChatJoinRequest, ?chat_boost: ChatBoostUpdated, ?removed_chat_boost: ChatBoostRemoved, ?managed_bot: ManagedBotUpdated, ?subscription: BotSubscriptionUpdated) -> instance
|
|
6
|
+
def self.new: (update_id: Integer, ?message: Message, ?edited_message: Message, ?channel_post: Message, ?edited_channel_post: Message, ?business_connection: BusinessConnection, ?business_message: Message, ?edited_business_message: Message, ?deleted_business_messages: BusinessMessagesDeleted, ?guest_message: Message, ?message_reaction: MessageReactionUpdated, ?message_reaction_count: MessageReactionCountUpdated, ?inline_query: InlineQuery, ?chosen_inline_result: ChosenInlineResult, ?callback_query: CallbackQuery, ?widget_query: WidgetQuery, ?shared_widget_query: SharedWidgetQuery, ?shipping_query: ShippingQuery, ?pre_checkout_query: PreCheckoutQuery, ?purchased_paid_media: PaidMediaPurchased, ?poll: Poll, ?poll_answer: PollAnswer, ?my_chat_member: ChatMemberUpdated, ?chat_member: ChatMemberUpdated, ?chat_join_request: ChatJoinRequest, ?chat_boost: ChatBoostUpdated, ?removed_chat_boost: ChatBoostRemoved, ?managed_bot: ManagedBotUpdated, ?subscription: BotSubscriptionUpdated, ?stopped_message_generation: MessageGenerationStopped) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
8
|
attr_reader update_id: Integer
|
|
9
9
|
attr_reader message: Message?
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
attr_reader inline_query: InlineQuery?
|
|
21
21
|
attr_reader chosen_inline_result: ChosenInlineResult?
|
|
22
22
|
attr_reader callback_query: CallbackQuery?
|
|
23
|
+
attr_reader widget_query: WidgetQuery?
|
|
24
|
+
attr_reader shared_widget_query: SharedWidgetQuery?
|
|
23
25
|
attr_reader shipping_query: ShippingQuery?
|
|
24
26
|
attr_reader pre_checkout_query: PreCheckoutQuery?
|
|
25
27
|
attr_reader purchased_paid_media: PaidMediaPurchased?
|
|
@@ -32,6 +34,7 @@
|
|
|
32
34
|
attr_reader removed_chat_boost: ChatBoostRemoved?
|
|
33
35
|
attr_reader managed_bot: ManagedBotUpdated?
|
|
34
36
|
attr_reader subscription: BotSubscriptionUpdated?
|
|
37
|
+
attr_reader stopped_message_generation: MessageGenerationStopped?
|
|
35
38
|
def current_message: () -> Base?
|
|
36
39
|
end
|
|
37
40
|
end
|