telegram-bot-ruby-rbs 0.1.0 → 0.2.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 +7 -4
- data/sig/telegram/bot/api.rbs +103 -43
- 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/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 +13 -0
- data/sig/telegram/bot/types/bot_command.rbs +3 -2
- 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 +14 -0
- 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 +1 -1
- 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 +3 -2
- data/sig/telegram/bot/types/chat_location.rbs +1 -1
- data/sig/telegram/bot/types/chat_member_administrator.rbs +1 -1
- 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 +3 -2
- 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 +3 -2
- data/sig/telegram/bot/types/chat_photo.rbs +1 -1
- 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 +13 -0
- data/sig/telegram/bot/types/community_chat_added.rbs +12 -0
- data/sig/telegram/bot/types/community_chat_removed.rbs +11 -0
- 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/document.rbs +1 -1
- 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/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 +1 -1
- data/sig/telegram/bot/types/inline_keyboard_markup.rbs +1 -1
- 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 +13 -0
- data/sig/telegram/bot/types/input_media_live_photo.rbs +19 -0
- data/sig/telegram/bot/types/input_media_location.rbs +15 -0
- data/sig/telegram/bot/types/input_media_photo.rbs +1 -1
- data/sig/telegram/bot/types/input_media_sticker.rbs +14 -0
- data/sig/telegram/bot/types/input_media_venue.rbs +20 -0
- data/sig/telegram/bot/types/input_media_video.rbs +1 -1
- data/sig/telegram/bot/types/input_media_voice_note.rbs +17 -0
- data/sig/telegram/bot/types/input_paid_media_live_photo.rbs +14 -0
- 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 +3 -2
- 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 +13 -0
- data/sig/telegram/bot/types/input_rich_block_animation.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_audio.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_block_quotation.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_collage.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_details.rbs +15 -0
- data/sig/telegram/bot/types/input_rich_block_divider.rbs +12 -0
- data/sig/telegram/bot/types/input_rich_block_footer.rbs +13 -0
- data/sig/telegram/bot/types/input_rich_block_list.rbs +13 -0
- data/sig/telegram/bot/types/input_rich_block_list_item.rbs +16 -0
- data/sig/telegram/bot/types/input_rich_block_map.rbs +17 -0
- data/sig/telegram/bot/types/input_rich_block_mathematical_expression.rbs +13 -0
- data/sig/telegram/bot/types/input_rich_block_paragraph.rbs +13 -0
- data/sig/telegram/bot/types/input_rich_block_photo.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_preformatted.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_pull_quotation.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_section_heading.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_slideshow.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_table.rbs +16 -0
- data/sig/telegram/bot/types/input_rich_block_thinking.rbs +13 -0
- data/sig/telegram/bot/types/input_rich_block_video.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_block_voice_note.rbs +14 -0
- data/sig/telegram/bot/types/input_rich_message.rbs +17 -0
- data/sig/telegram/bot/types/input_rich_message_content.rbs +12 -0
- data/sig/telegram/bot/types/input_rich_message_media.rbs +13 -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/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 +12 -0
- data/sig/telegram/bot/types/link_preview_options.rbs +1 -1
- data/sig/telegram/bot/types/live_photo.rbs +19 -0
- 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 +11 -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_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 +13 -0
- 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/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 +6 -2
- data/sig/telegram/bot/types/poll_answer.rbs +1 -1
- data/sig/telegram/bot/types/poll_media.rbs +21 -0
- data/sig/telegram/bot/types/poll_option.rbs +3 -2
- 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 +1 -1
- data/sig/telegram/bot/types/reply_keyboard_remove.rbs +1 -1
- data/sig/telegram/bot/types/reply_parameters.rbs +4 -3
- 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 +13 -0
- data/sig/telegram/bot/types/rich_block_animation.rbs +15 -0
- data/sig/telegram/bot/types/rich_block_audio.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_block_quotation.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_caption.rbs +13 -0
- data/sig/telegram/bot/types/rich_block_collage.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_details.rbs +15 -0
- data/sig/telegram/bot/types/rich_block_divider.rbs +12 -0
- data/sig/telegram/bot/types/rich_block_footer.rbs +13 -0
- data/sig/telegram/bot/types/rich_block_list.rbs +13 -0
- data/sig/telegram/bot/types/rich_block_list_item.rbs +17 -0
- data/sig/telegram/bot/types/rich_block_map.rbs +17 -0
- data/sig/telegram/bot/types/rich_block_mathematical_expression.rbs +13 -0
- data/sig/telegram/bot/types/rich_block_paragraph.rbs +13 -0
- data/sig/telegram/bot/types/rich_block_photo.rbs +15 -0
- data/sig/telegram/bot/types/rich_block_preformatted.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_pull_quotation.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_section_heading.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_slideshow.rbs +14 -0
- data/sig/telegram/bot/types/rich_block_table.rbs +16 -0
- data/sig/telegram/bot/types/rich_block_table_cell.rbs +17 -0
- data/sig/telegram/bot/types/rich_block_thinking.rbs +13 -0
- data/sig/telegram/bot/types/rich_block_video.rbs +15 -0
- data/sig/telegram/bot/types/rich_block_voice_note.rbs +14 -0
- data/sig/telegram/bot/types/rich_message.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_anchor.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_anchor_link.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_bank_card_number.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_bold.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_bot_command.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_cashtag.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_code.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_custom_emoji.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_date_time.rbs +15 -0
- data/sig/telegram/bot/types/rich_text_email_address.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_hashtag.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_italic.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_marked.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_mathematical_expression.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_mention.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_phone_number.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_reference.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_reference_link.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_spoiler.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_strikethrough.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_subscript.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_superscript.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_text_mention.rbs +14 -0
- data/sig/telegram/bot/types/rich_text_underline.rbs +13 -0
- data/sig/telegram/bot/types/rich_text_url.rbs +14 -0
- data/sig/telegram/bot/types/sent_guest_message.rbs +12 -0
- 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/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 +1 -1
- 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 +1 -1
- 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 +20 -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 +1 -1
- 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 +4 -2
- data/sig/telegram/bot/types/user.rbs +4 -2
- 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/write_access_allowed.rbs +1 -1
- metadata +98 -6
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class PaidMediaLivePhoto < Base
|
|
6
|
+
def self.new: (?type: String, live_photo: LivePhoto) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader live_photo: LivePhoto
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class Poll < Base
|
|
6
|
-
def self.new: (id: String, question: String, ?question_entities: Array[MessageEntity], options: Array[PollOption], total_voter_count: Integer, is_closed: bool, is_anonymous: bool, type: String, allows_multiple_answers: bool, allows_revoting: bool, ?correct_option_ids: Array[Integer], ?explanation: String, ?explanation_entities: Array[MessageEntity], ?open_period: Integer, ?close_date: Integer, ?description: String, ?description_entities: Array[MessageEntity]) -> instance
|
|
6
|
+
def self.new: (id: String, question: String, ?question_entities: Array[MessageEntity], options: Array[PollOption], total_voter_count: Integer, is_closed: bool, is_anonymous: bool, type: String, allows_multiple_answers: bool, allows_revoting: bool, members_only: bool, ?country_codes: Array[String], ?correct_option_ids: Array[Integer], ?explanation: String, ?explanation_entities: Array[MessageEntity], ?explanation_media: PollMedia, ?open_period: Integer, ?close_date: Integer, ?description: String, ?description_entities: Array[MessageEntity], ?media: PollMedia) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
8
|
attr_reader id: String
|
|
9
9
|
attr_reader question: String
|
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
attr_reader type: String
|
|
16
16
|
attr_reader allows_multiple_answers: bool
|
|
17
17
|
attr_reader allows_revoting: bool
|
|
18
|
+
attr_reader members_only: bool
|
|
19
|
+
attr_reader country_codes: Array[String]?
|
|
18
20
|
attr_reader correct_option_ids: Array[Integer]?
|
|
19
21
|
attr_reader explanation: String?
|
|
20
22
|
attr_reader explanation_entities: Array[MessageEntity]?
|
|
23
|
+
attr_reader explanation_media: PollMedia?
|
|
21
24
|
attr_reader open_period: Integer?
|
|
22
25
|
attr_reader close_date: Integer?
|
|
23
26
|
attr_reader description: String?
|
|
24
27
|
attr_reader description_entities: Array[MessageEntity]?
|
|
28
|
+
attr_reader media: PollMedia?
|
|
25
29
|
end
|
|
26
30
|
end
|
|
27
31
|
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class PollMedia < Base
|
|
6
|
+
def self.new: (?animation: Animation, ?audio: Audio, ?document: Document, ?link: Link, ?live_photo: LivePhoto, ?location: Location, ?photo: Array[PhotoSize], ?sticker: Sticker, ?venue: Venue, ?video: Video) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader animation: Animation?
|
|
9
|
+
attr_reader audio: Audio?
|
|
10
|
+
attr_reader document: Document?
|
|
11
|
+
attr_reader link: Link?
|
|
12
|
+
attr_reader live_photo: LivePhoto?
|
|
13
|
+
attr_reader location: Location?
|
|
14
|
+
attr_reader photo: Array[PhotoSize]?
|
|
15
|
+
attr_reader sticker: Sticker?
|
|
16
|
+
attr_reader venue: Venue?
|
|
17
|
+
attr_reader video: Video?
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class PollOption < Base
|
|
6
|
-
def self.new: (persistent_id: String, text: String, ?text_entities: Array[MessageEntity], voter_count: Integer, ?added_by_user: User, ?added_by_chat: Chat, ?addition_date: Integer) -> instance
|
|
6
|
+
def self.new: (persistent_id: String, text: String, ?text_entities: Array[MessageEntity], ?media: PollMedia, voter_count: Integer, ?added_by_user: User, ?added_by_chat: Chat, ?addition_date: Integer) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
8
|
attr_reader persistent_id: String
|
|
9
9
|
attr_reader text: String
|
|
10
10
|
attr_reader text_entities: Array[MessageEntity]?
|
|
11
|
+
attr_reader media: PollMedia?
|
|
11
12
|
attr_reader voter_count: Integer
|
|
12
13
|
attr_reader added_by_user: User?
|
|
13
14
|
attr_reader added_by_chat: Chat?
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
# Generated for telegram-bot-ruby 2.
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
2
|
module Telegram
|
|
3
3
|
module Bot
|
|
4
4
|
module Types
|
|
5
5
|
class ReplyParameters < Base
|
|
6
|
-
def self.new: (message_id: Integer, ?chat_id: (Integer | String), ?allow_sending_without_reply: bool, ?quote: String, ?quote_parse_mode: String, ?quote_entities: Array[MessageEntity], ?quote_position: Integer, ?checklist_task_id: Integer, ?poll_option_id: String) -> instance
|
|
6
|
+
def self.new: (?message_id: Integer, ?chat_id: (Integer | String), ?ephemeral_message_id: Integer, ?allow_sending_without_reply: bool, ?quote: String, ?quote_parse_mode: String, ?quote_entities: Array[MessageEntity], ?quote_position: Integer, ?checklist_task_id: Integer, ?poll_option_id: String) -> instance
|
|
7
7
|
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
-
attr_reader message_id: Integer
|
|
8
|
+
attr_reader message_id: Integer?
|
|
9
9
|
attr_reader chat_id: ((Integer | String))?
|
|
10
|
+
attr_reader ephemeral_message_id: Integer?
|
|
10
11
|
attr_reader allow_sending_without_reply: bool?
|
|
11
12
|
attr_reader quote: String?
|
|
12
13
|
attr_reader quote_parse_mode: String?
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockAnchor < Base
|
|
6
|
+
def self.new: (?type: String, name: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader name: String
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockAnimation < Base
|
|
6
|
+
def self.new: (?type: String, animation: Animation, ?has_spoiler: true, ?caption: RichBlockCaption) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader animation: Animation
|
|
10
|
+
attr_reader has_spoiler: true?
|
|
11
|
+
attr_reader caption: RichBlockCaption?
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockAudio < Base
|
|
6
|
+
def self.new: (?type: String, audio: Audio, ?caption: RichBlockCaption) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader audio: Audio
|
|
10
|
+
attr_reader caption: RichBlockCaption?
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockBlockQuotation < Base
|
|
6
|
+
def self.new: (?type: String, blocks: Array[rich_block], ?credit: rich_text) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader blocks: Array[rich_block]
|
|
10
|
+
attr_reader credit: rich_text?
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockCaption < Base
|
|
6
|
+
def self.new: (text: rich_text, ?credit: rich_text) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader text: rich_text
|
|
9
|
+
attr_reader credit: rich_text?
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockCollage < Base
|
|
6
|
+
def self.new: (?type: String, blocks: Array[rich_block], ?caption: RichBlockCaption) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader blocks: Array[rich_block]
|
|
10
|
+
attr_reader caption: RichBlockCaption?
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockDetails < Base
|
|
6
|
+
def self.new: (?type: String, summary: rich_text, blocks: Array[rich_block], ?is_open: true) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader summary: rich_text
|
|
10
|
+
attr_reader blocks: Array[rich_block]
|
|
11
|
+
attr_reader is_open: true?
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockDivider < Base
|
|
6
|
+
def self.new: (?type: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockFooter < Base
|
|
6
|
+
def self.new: (?type: String, text: rich_text) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader text: rich_text
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockList < Base
|
|
6
|
+
def self.new: (?type: String, items: Array[RichBlockListItem]) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader items: Array[RichBlockListItem]
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockListItem < Base
|
|
6
|
+
def self.new: (label: String, blocks: Array[rich_block], ?has_checkbox: true, ?is_checked: true, ?value: Integer, ?type: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader label: String
|
|
9
|
+
attr_reader blocks: Array[rich_block]
|
|
10
|
+
attr_reader has_checkbox: true?
|
|
11
|
+
attr_reader is_checked: true?
|
|
12
|
+
attr_reader value: Integer?
|
|
13
|
+
attr_reader type: String?
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockMap < Base
|
|
6
|
+
def self.new: (?type: String, location: Location, zoom: Integer, width: Integer, height: Integer, ?caption: RichBlockCaption) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader location: Location
|
|
10
|
+
attr_reader zoom: Integer
|
|
11
|
+
attr_reader width: Integer
|
|
12
|
+
attr_reader height: Integer
|
|
13
|
+
attr_reader caption: RichBlockCaption?
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockMathematicalExpression < Base
|
|
6
|
+
def self.new: (?type: String, expression: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader expression: String
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockParagraph < Base
|
|
6
|
+
def self.new: (?type: String, text: rich_text) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader text: rich_text
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockPhoto < Base
|
|
6
|
+
def self.new: (?type: String, photo: Array[PhotoSize], ?has_spoiler: true, ?caption: RichBlockCaption) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader photo: Array[PhotoSize]
|
|
10
|
+
attr_reader has_spoiler: true?
|
|
11
|
+
attr_reader caption: RichBlockCaption?
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockPreformatted < Base
|
|
6
|
+
def self.new: (?type: String, text: rich_text, ?language: String) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader text: rich_text
|
|
10
|
+
attr_reader language: String?
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated for telegram-bot-ruby 2.8.1. Do not edit by hand.
|
|
2
|
+
module Telegram
|
|
3
|
+
module Bot
|
|
4
|
+
module Types
|
|
5
|
+
class RichBlockPullQuotation < Base
|
|
6
|
+
def self.new: (?type: String, text: rich_text, ?credit: rich_text) -> instance
|
|
7
|
+
| (?Hash[Symbol | String, untyped] attributes) -> instance
|
|
8
|
+
attr_reader type: String
|
|
9
|
+
attr_reader text: rich_text
|
|
10
|
+
attr_reader credit: rich_text?
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|