telegram-bot-ruby-rbs 0.2.2 → 0.3.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.
Files changed (406) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -6
  3. data/sig/telegram/bot/api.rbs +87 -47
  4. data/sig/telegram/bot/core.rbs +1 -1
  5. data/sig/telegram/bot/types/accepted_gift_types.rbs +1 -1
  6. data/sig/telegram/bot/types/affiliate_info.rbs +1 -1
  7. data/sig/telegram/bot/types/animation.rbs +1 -1
  8. data/sig/telegram/bot/types/area_position.rbs +17 -0
  9. data/sig/telegram/bot/types/audio.rbs +1 -1
  10. data/sig/telegram/bot/types/background_fill_freeform_gradient.rbs +1 -1
  11. data/sig/telegram/bot/types/background_fill_gradient.rbs +1 -1
  12. data/sig/telegram/bot/types/background_fill_solid.rbs +1 -1
  13. data/sig/telegram/bot/types/background_type_chat_theme.rbs +1 -1
  14. data/sig/telegram/bot/types/background_type_fill.rbs +1 -1
  15. data/sig/telegram/bot/types/background_type_pattern.rbs +1 -1
  16. data/sig/telegram/bot/types/background_type_wallpaper.rbs +1 -1
  17. data/sig/telegram/bot/types/base.rbs +1 -1
  18. data/sig/telegram/bot/types/birthdate.rbs +1 -1
  19. data/sig/telegram/bot/types/bot_access_settings.rbs +1 -1
  20. data/sig/telegram/bot/types/bot_command.rbs +1 -1
  21. data/sig/telegram/bot/types/bot_command_scope_all_chat_administrators.rbs +1 -1
  22. data/sig/telegram/bot/types/bot_command_scope_all_group_chats.rbs +1 -1
  23. data/sig/telegram/bot/types/bot_command_scope_all_private_chats.rbs +1 -1
  24. data/sig/telegram/bot/types/bot_command_scope_chat.rbs +1 -1
  25. data/sig/telegram/bot/types/bot_command_scope_chat_administrators.rbs +1 -1
  26. data/sig/telegram/bot/types/bot_command_scope_chat_member.rbs +1 -1
  27. data/sig/telegram/bot/types/bot_command_scope_default.rbs +1 -1
  28. data/sig/telegram/bot/types/bot_description.rbs +1 -1
  29. data/sig/telegram/bot/types/bot_full_info.rbs +29 -0
  30. data/sig/telegram/bot/types/bot_name.rbs +1 -1
  31. data/sig/telegram/bot/types/bot_short_description.rbs +1 -1
  32. data/sig/telegram/bot/types/bot_subscription_updated.rbs +1 -1
  33. data/sig/telegram/bot/types/business_bot_rights.rbs +1 -1
  34. data/sig/telegram/bot/types/business_connection.rbs +1 -1
  35. data/sig/telegram/bot/types/business_intro.rbs +1 -1
  36. data/sig/telegram/bot/types/business_location.rbs +1 -1
  37. data/sig/telegram/bot/types/business_messages_deleted.rbs +1 -1
  38. data/sig/telegram/bot/types/business_opening_hours.rbs +1 -1
  39. data/sig/telegram/bot/types/business_opening_hours_interval.rbs +1 -1
  40. data/sig/telegram/bot/types/callback_game.rbs +1 -1
  41. data/sig/telegram/bot/types/callback_query.rbs +1 -1
  42. data/sig/telegram/bot/types/chat.rbs +1 -1
  43. data/sig/telegram/bot/types/chat_administrator_rights.rbs +3 -2
  44. data/sig/telegram/bot/types/chat_background.rbs +1 -1
  45. data/sig/telegram/bot/types/chat_boost.rbs +1 -1
  46. data/sig/telegram/bot/types/chat_boost_added.rbs +1 -1
  47. data/sig/telegram/bot/types/chat_boost_removed.rbs +1 -1
  48. data/sig/telegram/bot/types/chat_boost_source_gift_code.rbs +1 -1
  49. data/sig/telegram/bot/types/chat_boost_source_giveaway.rbs +1 -1
  50. data/sig/telegram/bot/types/chat_boost_source_premium.rbs +1 -1
  51. data/sig/telegram/bot/types/chat_boost_updated.rbs +1 -1
  52. data/sig/telegram/bot/types/chat_full_info.rbs +4 -2
  53. data/sig/telegram/bot/types/chat_invite_link.rbs +1 -1
  54. data/sig/telegram/bot/types/chat_join_request.rbs +1 -1
  55. data/sig/telegram/bot/types/chat_location.rbs +1 -1
  56. data/sig/telegram/bot/types/chat_member_administrator.rbs +3 -2
  57. data/sig/telegram/bot/types/chat_member_banned.rbs +1 -1
  58. data/sig/telegram/bot/types/chat_member_left.rbs +1 -1
  59. data/sig/telegram/bot/types/chat_member_member.rbs +1 -1
  60. data/sig/telegram/bot/types/chat_member_owner.rbs +1 -1
  61. data/sig/telegram/bot/types/chat_member_restricted.rbs +1 -1
  62. data/sig/telegram/bot/types/chat_member_updated.rbs +1 -1
  63. data/sig/telegram/bot/types/chat_owner_changed.rbs +1 -1
  64. data/sig/telegram/bot/types/chat_owner_left.rbs +1 -1
  65. data/sig/telegram/bot/types/chat_permissions.rbs +1 -1
  66. data/sig/telegram/bot/types/chat_photo.rbs +1 -1
  67. data/sig/telegram/bot/types/chat_share_theme_backdrop.rbs +14 -0
  68. data/sig/telegram/bot/types/chat_share_theme_backdrops.rbs +12 -0
  69. data/sig/telegram/bot/types/chat_share_theme_emoji.rbs +14 -0
  70. data/sig/telegram/bot/types/chat_share_theme_unique_gift.rbs +13 -0
  71. data/sig/telegram/bot/types/chat_shared.rbs +1 -1
  72. data/sig/telegram/bot/types/checklist.rbs +1 -1
  73. data/sig/telegram/bot/types/checklist_task.rbs +1 -1
  74. data/sig/telegram/bot/types/checklist_tasks_added.rbs +1 -1
  75. data/sig/telegram/bot/types/checklist_tasks_done.rbs +1 -1
  76. data/sig/telegram/bot/types/chosen_inline_result.rbs +1 -1
  77. data/sig/telegram/bot/types/community.rbs +1 -1
  78. data/sig/telegram/bot/types/community_chat_added.rbs +1 -1
  79. data/sig/telegram/bot/types/community_chat_joined.rbs +12 -0
  80. data/sig/telegram/bot/types/community_chat_removed.rbs +1 -1
  81. data/sig/telegram/bot/types/contact.rbs +1 -1
  82. data/sig/telegram/bot/types/copy_text_button.rbs +1 -1
  83. data/sig/telegram/bot/types/dice.rbs +1 -1
  84. data/sig/telegram/bot/types/direct_message_price_changed.rbs +1 -1
  85. data/sig/telegram/bot/types/direct_messages_topic.rbs +1 -1
  86. data/sig/telegram/bot/types/disabled_button.rbs +11 -0
  87. data/sig/telegram/bot/types/document.rbs +1 -1
  88. data/sig/telegram/bot/types/emoji_type_custom_emoji.rbs +13 -0
  89. data/sig/telegram/bot/types/emoji_type_emoji.rbs +13 -0
  90. data/sig/telegram/bot/types/encrypted_credentials.rbs +1 -1
  91. data/sig/telegram/bot/types/encrypted_passport_element.rbs +1 -1
  92. data/sig/telegram/bot/types/ephemeral_message_parameters.rbs +14 -0
  93. data/sig/telegram/bot/types/error.rbs +1 -1
  94. data/sig/telegram/bot/types/external_reply_info.rbs +3 -2
  95. data/sig/telegram/bot/types/file.rbs +1 -1
  96. data/sig/telegram/bot/types/force_reply.rbs +1 -1
  97. data/sig/telegram/bot/types/forum_topic.rbs +1 -1
  98. data/sig/telegram/bot/types/forum_topic_closed.rbs +1 -1
  99. data/sig/telegram/bot/types/forum_topic_created.rbs +1 -1
  100. data/sig/telegram/bot/types/forum_topic_edited.rbs +1 -1
  101. data/sig/telegram/bot/types/forum_topic_reopened.rbs +1 -1
  102. data/sig/telegram/bot/types/game.rbs +1 -1
  103. data/sig/telegram/bot/types/game_high_score.rbs +1 -1
  104. data/sig/telegram/bot/types/general_forum_topic_hidden.rbs +1 -1
  105. data/sig/telegram/bot/types/general_forum_topic_unhidden.rbs +1 -1
  106. data/sig/telegram/bot/types/gift.rbs +1 -1
  107. data/sig/telegram/bot/types/gift_background.rbs +1 -1
  108. data/sig/telegram/bot/types/gift_info.rbs +1 -1
  109. data/sig/telegram/bot/types/gifts.rbs +1 -1
  110. data/sig/telegram/bot/types/giveaway.rbs +1 -1
  111. data/sig/telegram/bot/types/giveaway_completed.rbs +1 -1
  112. data/sig/telegram/bot/types/giveaway_created.rbs +1 -1
  113. data/sig/telegram/bot/types/giveaway_winners.rbs +1 -1
  114. data/sig/telegram/bot/types/inaccessible_message.rbs +1 -1
  115. data/sig/telegram/bot/types/inline_keyboard_button.rbs +3 -2
  116. data/sig/telegram/bot/types/inline_keyboard_markup.rbs +3 -2
  117. data/sig/telegram/bot/types/inline_query.rbs +1 -1
  118. data/sig/telegram/bot/types/inline_query_result_article.rbs +1 -1
  119. data/sig/telegram/bot/types/inline_query_result_audio.rbs +1 -1
  120. data/sig/telegram/bot/types/inline_query_result_cached_audio.rbs +1 -1
  121. data/sig/telegram/bot/types/inline_query_result_cached_document.rbs +1 -1
  122. data/sig/telegram/bot/types/inline_query_result_cached_gif.rbs +1 -1
  123. data/sig/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rbs +1 -1
  124. data/sig/telegram/bot/types/inline_query_result_cached_photo.rbs +1 -1
  125. data/sig/telegram/bot/types/inline_query_result_cached_sticker.rbs +1 -1
  126. data/sig/telegram/bot/types/inline_query_result_cached_video.rbs +1 -1
  127. data/sig/telegram/bot/types/inline_query_result_cached_voice.rbs +1 -1
  128. data/sig/telegram/bot/types/inline_query_result_contact.rbs +1 -1
  129. data/sig/telegram/bot/types/inline_query_result_document.rbs +1 -1
  130. data/sig/telegram/bot/types/inline_query_result_game.rbs +1 -1
  131. data/sig/telegram/bot/types/inline_query_result_gif.rbs +1 -1
  132. data/sig/telegram/bot/types/inline_query_result_location.rbs +1 -1
  133. data/sig/telegram/bot/types/inline_query_result_mpeg4_gif.rbs +1 -1
  134. data/sig/telegram/bot/types/inline_query_result_photo.rbs +1 -1
  135. data/sig/telegram/bot/types/inline_query_result_venue.rbs +1 -1
  136. data/sig/telegram/bot/types/inline_query_result_video.rbs +1 -1
  137. data/sig/telegram/bot/types/inline_query_result_voice.rbs +1 -1
  138. data/sig/telegram/bot/types/inline_query_results_button.rbs +1 -1
  139. data/sig/telegram/bot/types/input_checklist.rbs +1 -1
  140. data/sig/telegram/bot/types/input_checklist_task.rbs +1 -1
  141. data/sig/telegram/bot/types/input_contact_message_content.rbs +1 -1
  142. data/sig/telegram/bot/types/input_file.rbs +1 -1
  143. data/sig/telegram/bot/types/input_invoice_message_content.rbs +1 -1
  144. data/sig/telegram/bot/types/input_location_message_content.rbs +1 -1
  145. data/sig/telegram/bot/types/input_media_animation.rbs +1 -1
  146. data/sig/telegram/bot/types/input_media_audio.rbs +1 -1
  147. data/sig/telegram/bot/types/input_media_document.rbs +1 -1
  148. data/sig/telegram/bot/types/input_media_link.rbs +1 -1
  149. data/sig/telegram/bot/types/input_media_live_photo.rbs +1 -1
  150. data/sig/telegram/bot/types/input_media_location.rbs +1 -1
  151. data/sig/telegram/bot/types/input_media_photo.rbs +1 -1
  152. data/sig/telegram/bot/types/input_media_sticker.rbs +1 -1
  153. data/sig/telegram/bot/types/input_media_venue.rbs +1 -1
  154. data/sig/telegram/bot/types/input_media_video.rbs +1 -1
  155. data/sig/telegram/bot/types/input_media_voice_note.rbs +1 -1
  156. data/sig/telegram/bot/types/input_paid_media_live_photo.rbs +1 -1
  157. data/sig/telegram/bot/types/input_paid_media_photo.rbs +1 -1
  158. data/sig/telegram/bot/types/input_paid_media_video.rbs +1 -1
  159. data/sig/telegram/bot/types/input_poll_option.rbs +1 -1
  160. data/sig/telegram/bot/types/input_profile_photo_animated.rbs +1 -1
  161. data/sig/telegram/bot/types/input_profile_photo_static.rbs +1 -1
  162. data/sig/telegram/bot/types/input_rich_block_anchor.rbs +1 -1
  163. data/sig/telegram/bot/types/input_rich_block_animation.rbs +1 -1
  164. data/sig/telegram/bot/types/input_rich_block_audio.rbs +1 -1
  165. data/sig/telegram/bot/types/input_rich_block_block_quotation.rbs +1 -1
  166. data/sig/telegram/bot/types/input_rich_block_buttons.rbs +14 -0
  167. data/sig/telegram/bot/types/input_rich_block_collage.rbs +1 -1
  168. data/sig/telegram/bot/types/input_rich_block_details.rbs +1 -1
  169. data/sig/telegram/bot/types/input_rich_block_divider.rbs +1 -1
  170. data/sig/telegram/bot/types/input_rich_block_document.rbs +14 -0
  171. data/sig/telegram/bot/types/input_rich_block_expandable_block_quotation.rbs +14 -0
  172. data/sig/telegram/bot/types/input_rich_block_footer.rbs +1 -1
  173. data/sig/telegram/bot/types/input_rich_block_list.rbs +1 -1
  174. data/sig/telegram/bot/types/input_rich_block_list_item.rbs +1 -1
  175. data/sig/telegram/bot/types/input_rich_block_map.rbs +5 -5
  176. data/sig/telegram/bot/types/input_rich_block_mathematical_expression.rbs +1 -1
  177. data/sig/telegram/bot/types/input_rich_block_paragraph.rbs +1 -1
  178. data/sig/telegram/bot/types/input_rich_block_photo.rbs +1 -1
  179. data/sig/telegram/bot/types/input_rich_block_preformatted.rbs +1 -1
  180. data/sig/telegram/bot/types/input_rich_block_pull_quotation.rbs +1 -1
  181. data/sig/telegram/bot/types/input_rich_block_section_heading.rbs +1 -1
  182. data/sig/telegram/bot/types/input_rich_block_slideshow.rbs +1 -1
  183. data/sig/telegram/bot/types/input_rich_block_table.rbs +3 -2
  184. data/sig/telegram/bot/types/input_rich_block_thinking.rbs +1 -1
  185. data/sig/telegram/bot/types/input_rich_block_video.rbs +1 -1
  186. data/sig/telegram/bot/types/input_rich_block_voice_note.rbs +1 -1
  187. data/sig/telegram/bot/types/input_rich_message.rbs +1 -1
  188. data/sig/telegram/bot/types/input_rich_message_content.rbs +1 -1
  189. data/sig/telegram/bot/types/input_rich_message_media.rbs +3 -3
  190. data/sig/telegram/bot/types/input_shared_widget_message_content.rbs +17 -0
  191. data/sig/telegram/bot/types/input_sticker.rbs +1 -1
  192. data/sig/telegram/bot/types/input_story_content_photo.rbs +1 -1
  193. data/sig/telegram/bot/types/input_story_content_video.rbs +1 -1
  194. data/sig/telegram/bot/types/input_text_message_content.rbs +1 -1
  195. data/sig/telegram/bot/types/input_venue_message_content.rbs +1 -1
  196. data/sig/telegram/bot/types/input_widget_message_content.rbs +22 -0
  197. data/sig/telegram/bot/types/invoice.rbs +1 -1
  198. data/sig/telegram/bot/types/keyboard_button.rbs +1 -1
  199. data/sig/telegram/bot/types/keyboard_button_poll_type.rbs +1 -1
  200. data/sig/telegram/bot/types/keyboard_button_request_chat.rbs +1 -1
  201. data/sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs +1 -1
  202. data/sig/telegram/bot/types/keyboard_button_request_users.rbs +1 -1
  203. data/sig/telegram/bot/types/labeled_price.rbs +1 -1
  204. data/sig/telegram/bot/types/link.rbs +1 -1
  205. data/sig/telegram/bot/types/link_preview_options.rbs +1 -1
  206. data/sig/telegram/bot/types/live_photo.rbs +1 -1
  207. data/sig/telegram/bot/types/location.rbs +1 -1
  208. data/sig/telegram/bot/types/location_address.rbs +1 -1
  209. data/sig/telegram/bot/types/login_url.rbs +1 -1
  210. data/sig/telegram/bot/types/managed_bot_created.rbs +1 -1
  211. data/sig/telegram/bot/types/managed_bot_updated.rbs +1 -1
  212. data/sig/telegram/bot/types/mask_position.rbs +1 -1
  213. data/sig/telegram/bot/types/menu_button_commands.rbs +1 -1
  214. data/sig/telegram/bot/types/menu_button_default.rbs +1 -1
  215. data/sig/telegram/bot/types/menu_button_web_app.rbs +1 -1
  216. data/sig/telegram/bot/types/message.rbs +6 -2
  217. data/sig/telegram/bot/types/message_auto_delete_timer_changed.rbs +1 -1
  218. data/sig/telegram/bot/types/message_entity.rbs +1 -1
  219. data/sig/telegram/bot/types/message_generation_stopped.rbs +14 -0
  220. data/sig/telegram/bot/types/message_id.rbs +1 -1
  221. data/sig/telegram/bot/types/message_origin_channel.rbs +1 -1
  222. data/sig/telegram/bot/types/message_origin_chat.rbs +1 -1
  223. data/sig/telegram/bot/types/message_origin_hidden_user.rbs +1 -1
  224. data/sig/telegram/bot/types/message_origin_user.rbs +1 -1
  225. data/sig/telegram/bot/types/message_reaction_count_updated.rbs +1 -1
  226. data/sig/telegram/bot/types/message_reaction_updated.rbs +1 -1
  227. data/sig/telegram/bot/types/order_info.rbs +1 -1
  228. data/sig/telegram/bot/types/owned_gift_regular.rbs +1 -1
  229. data/sig/telegram/bot/types/owned_gift_unique.rbs +1 -1
  230. data/sig/telegram/bot/types/owned_gifts.rbs +1 -1
  231. data/sig/telegram/bot/types/paid_media_info.rbs +1 -1
  232. data/sig/telegram/bot/types/paid_media_live_photo.rbs +1 -1
  233. data/sig/telegram/bot/types/paid_media_photo.rbs +1 -1
  234. data/sig/telegram/bot/types/paid_media_preview.rbs +1 -1
  235. data/sig/telegram/bot/types/paid_media_purchased.rbs +1 -1
  236. data/sig/telegram/bot/types/paid_media_video.rbs +1 -1
  237. data/sig/telegram/bot/types/paid_message_price_changed.rbs +1 -1
  238. data/sig/telegram/bot/types/paid_messages_waived.rbs +11 -0
  239. data/sig/telegram/bot/types/passport_data.rbs +1 -1
  240. data/sig/telegram/bot/types/passport_element_error_data_field.rbs +1 -1
  241. data/sig/telegram/bot/types/passport_element_error_file.rbs +1 -1
  242. data/sig/telegram/bot/types/passport_element_error_files.rbs +1 -1
  243. data/sig/telegram/bot/types/passport_element_error_front_side.rbs +1 -1
  244. data/sig/telegram/bot/types/passport_element_error_reverse_side.rbs +1 -1
  245. data/sig/telegram/bot/types/passport_element_error_selfie.rbs +1 -1
  246. data/sig/telegram/bot/types/passport_element_error_translation_file.rbs +1 -1
  247. data/sig/telegram/bot/types/passport_element_error_translation_files.rbs +1 -1
  248. data/sig/telegram/bot/types/passport_element_error_unspecified.rbs +1 -1
  249. data/sig/telegram/bot/types/passport_file.rbs +1 -1
  250. data/sig/telegram/bot/types/photo_size.rbs +1 -1
  251. data/sig/telegram/bot/types/poll.rbs +1 -1
  252. data/sig/telegram/bot/types/poll_answer.rbs +1 -1
  253. data/sig/telegram/bot/types/poll_media.rbs +1 -1
  254. data/sig/telegram/bot/types/poll_option.rbs +1 -1
  255. data/sig/telegram/bot/types/poll_option_added.rbs +1 -1
  256. data/sig/telegram/bot/types/poll_option_deleted.rbs +1 -1
  257. data/sig/telegram/bot/types/pre_checkout_query.rbs +1 -1
  258. data/sig/telegram/bot/types/prepared_inline_message.rbs +1 -1
  259. data/sig/telegram/bot/types/prepared_keyboard_button.rbs +1 -1
  260. data/sig/telegram/bot/types/proximity_alert_triggered.rbs +1 -1
  261. data/sig/telegram/bot/types/reaction_count.rbs +1 -1
  262. data/sig/telegram/bot/types/reaction_type_custom_emoji.rbs +1 -1
  263. data/sig/telegram/bot/types/reaction_type_emoji.rbs +1 -1
  264. data/sig/telegram/bot/types/reaction_type_paid.rbs +1 -1
  265. data/sig/telegram/bot/types/refunded_payment.rbs +1 -1
  266. data/sig/telegram/bot/types/reply_keyboard_markup.rbs +3 -2
  267. data/sig/telegram/bot/types/reply_keyboard_remove.rbs +1 -1
  268. data/sig/telegram/bot/types/reply_parameters.rbs +3 -2
  269. data/sig/telegram/bot/types/response_parameters.rbs +1 -1
  270. data/sig/telegram/bot/types/revenue_withdrawal_state_failed.rbs +1 -1
  271. data/sig/telegram/bot/types/revenue_withdrawal_state_pending.rbs +1 -1
  272. data/sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs +1 -1
  273. data/sig/telegram/bot/types/rich_block_anchor.rbs +1 -1
  274. data/sig/telegram/bot/types/rich_block_animation.rbs +1 -1
  275. data/sig/telegram/bot/types/rich_block_audio.rbs +1 -1
  276. data/sig/telegram/bot/types/rich_block_block_quotation.rbs +1 -1
  277. data/sig/telegram/bot/types/rich_block_buttons.rbs +14 -0
  278. data/sig/telegram/bot/types/rich_block_caption.rbs +1 -1
  279. data/sig/telegram/bot/types/rich_block_collage.rbs +1 -1
  280. data/sig/telegram/bot/types/rich_block_details.rbs +1 -1
  281. data/sig/telegram/bot/types/rich_block_divider.rbs +1 -1
  282. data/sig/telegram/bot/types/rich_block_document.rbs +14 -0
  283. data/sig/telegram/bot/types/rich_block_expandable_block_quotation.rbs +14 -0
  284. data/sig/telegram/bot/types/rich_block_footer.rbs +1 -1
  285. data/sig/telegram/bot/types/rich_block_list.rbs +1 -1
  286. data/sig/telegram/bot/types/rich_block_list_item.rbs +1 -1
  287. data/sig/telegram/bot/types/rich_block_map.rbs +1 -1
  288. data/sig/telegram/bot/types/rich_block_mathematical_expression.rbs +1 -1
  289. data/sig/telegram/bot/types/rich_block_paragraph.rbs +1 -1
  290. data/sig/telegram/bot/types/rich_block_photo.rbs +1 -1
  291. data/sig/telegram/bot/types/rich_block_preformatted.rbs +1 -1
  292. data/sig/telegram/bot/types/rich_block_pull_quotation.rbs +1 -1
  293. data/sig/telegram/bot/types/rich_block_section_heading.rbs +1 -1
  294. data/sig/telegram/bot/types/rich_block_slideshow.rbs +1 -1
  295. data/sig/telegram/bot/types/rich_block_table.rbs +3 -2
  296. data/sig/telegram/bot/types/rich_block_table_cell.rbs +1 -1
  297. data/sig/telegram/bot/types/rich_block_thinking.rbs +1 -1
  298. data/sig/telegram/bot/types/rich_block_video.rbs +1 -1
  299. data/sig/telegram/bot/types/rich_block_voice_note.rbs +1 -1
  300. data/sig/telegram/bot/types/rich_message.rbs +1 -1
  301. data/sig/telegram/bot/types/rich_message_button.rbs +22 -0
  302. data/sig/telegram/bot/types/rich_text_anchor.rbs +1 -1
  303. data/sig/telegram/bot/types/rich_text_anchor_link.rbs +1 -1
  304. data/sig/telegram/bot/types/rich_text_bank_card_number.rbs +1 -1
  305. data/sig/telegram/bot/types/rich_text_bold.rbs +1 -1
  306. data/sig/telegram/bot/types/rich_text_bot_command.rbs +1 -1
  307. data/sig/telegram/bot/types/rich_text_button.rbs +13 -0
  308. data/sig/telegram/bot/types/rich_text_cashtag.rbs +1 -1
  309. data/sig/telegram/bot/types/rich_text_code.rbs +1 -1
  310. data/sig/telegram/bot/types/rich_text_custom_emoji.rbs +1 -1
  311. data/sig/telegram/bot/types/rich_text_date_time.rbs +1 -1
  312. data/sig/telegram/bot/types/rich_text_email_address.rbs +1 -1
  313. data/sig/telegram/bot/types/rich_text_hashtag.rbs +1 -1
  314. data/sig/telegram/bot/types/rich_text_italic.rbs +1 -1
  315. data/sig/telegram/bot/types/rich_text_marked.rbs +1 -1
  316. data/sig/telegram/bot/types/rich_text_mathematical_expression.rbs +1 -1
  317. data/sig/telegram/bot/types/rich_text_mention.rbs +1 -1
  318. data/sig/telegram/bot/types/rich_text_phone_number.rbs +1 -1
  319. data/sig/telegram/bot/types/rich_text_reference.rbs +1 -1
  320. data/sig/telegram/bot/types/rich_text_reference_link.rbs +1 -1
  321. data/sig/telegram/bot/types/rich_text_spoiler.rbs +1 -1
  322. data/sig/telegram/bot/types/rich_text_strikethrough.rbs +1 -1
  323. data/sig/telegram/bot/types/rich_text_subscript.rbs +1 -1
  324. data/sig/telegram/bot/types/rich_text_superscript.rbs +1 -1
  325. data/sig/telegram/bot/types/rich_text_text_mention.rbs +1 -1
  326. data/sig/telegram/bot/types/rich_text_ton_address.rbs +14 -0
  327. data/sig/telegram/bot/types/rich_text_underline.rbs +1 -1
  328. data/sig/telegram/bot/types/rich_text_url.rbs +1 -1
  329. data/sig/telegram/bot/types/sent_guest_message.rbs +1 -1
  330. data/sig/telegram/bot/types/sent_web_app_message.rbs +1 -1
  331. data/sig/telegram/bot/types/shared_user.rbs +1 -1
  332. data/sig/telegram/bot/types/shared_widget_query.rbs +16 -0
  333. data/sig/telegram/bot/types/shipping_address.rbs +1 -1
  334. data/sig/telegram/bot/types/shipping_option.rbs +1 -1
  335. data/sig/telegram/bot/types/shipping_query.rbs +1 -1
  336. data/sig/telegram/bot/types/star_amount.rbs +1 -1
  337. data/sig/telegram/bot/types/star_transaction.rbs +1 -1
  338. data/sig/telegram/bot/types/star_transactions.rbs +1 -1
  339. data/sig/telegram/bot/types/sticker.rbs +1 -1
  340. data/sig/telegram/bot/types/sticker_set.rbs +1 -1
  341. data/sig/telegram/bot/types/story.rbs +1 -1
  342. data/sig/telegram/bot/types/story_area.rbs +3 -3
  343. data/sig/telegram/bot/types/story_area_position.rbs +1 -1
  344. data/sig/telegram/bot/types/story_area_type_link.rbs +1 -1
  345. data/sig/telegram/bot/types/story_area_type_location.rbs +1 -1
  346. data/sig/telegram/bot/types/story_area_type_suggested_reaction.rbs +1 -1
  347. data/sig/telegram/bot/types/story_area_type_unique_gift.rbs +1 -1
  348. data/sig/telegram/bot/types/story_area_type_weather.rbs +1 -1
  349. data/sig/telegram/bot/types/successful_payment.rbs +1 -1
  350. data/sig/telegram/bot/types/suggested_post_approval_failed.rbs +1 -1
  351. data/sig/telegram/bot/types/suggested_post_approved.rbs +1 -1
  352. data/sig/telegram/bot/types/suggested_post_declined.rbs +1 -1
  353. data/sig/telegram/bot/types/suggested_post_info.rbs +1 -1
  354. data/sig/telegram/bot/types/suggested_post_paid.rbs +1 -1
  355. data/sig/telegram/bot/types/suggested_post_parameters.rbs +1 -1
  356. data/sig/telegram/bot/types/suggested_post_price.rbs +1 -1
  357. data/sig/telegram/bot/types/suggested_post_refunded.rbs +1 -1
  358. data/sig/telegram/bot/types/switch_inline_query_chosen_chat.rbs +1 -1
  359. data/sig/telegram/bot/types/text_quote.rbs +3 -2
  360. data/sig/telegram/bot/types/ton_nft.rbs +18 -0
  361. data/sig/telegram/bot/types/ton_nft_attribute.rbs +13 -0
  362. data/sig/telegram/bot/types/ton_wallet_card.rbs +15 -0
  363. data/sig/telegram/bot/types/ton_wallet_card_sticker.rbs +13 -0
  364. data/sig/telegram/bot/types/ton_wallet_transfer.rbs +15 -0
  365. data/sig/telegram/bot/types/transaction_partner_affiliate_program.rbs +1 -1
  366. data/sig/telegram/bot/types/transaction_partner_chat.rbs +1 -1
  367. data/sig/telegram/bot/types/transaction_partner_fragment.rbs +1 -1
  368. data/sig/telegram/bot/types/transaction_partner_other.rbs +1 -1
  369. data/sig/telegram/bot/types/transaction_partner_telegram_ads.rbs +1 -1
  370. data/sig/telegram/bot/types/transaction_partner_telegram_api.rbs +1 -1
  371. data/sig/telegram/bot/types/transaction_partner_user.rbs +1 -1
  372. data/sig/telegram/bot/types/unions.rbs +14 -5
  373. data/sig/telegram/bot/types/unique_gift.rbs +1 -1
  374. data/sig/telegram/bot/types/unique_gift_backdrop.rbs +1 -1
  375. data/sig/telegram/bot/types/unique_gift_backdrop_colors.rbs +1 -1
  376. data/sig/telegram/bot/types/unique_gift_colors.rbs +1 -1
  377. data/sig/telegram/bot/types/unique_gift_info.rbs +5 -2
  378. data/sig/telegram/bot/types/unique_gift_model.rbs +1 -1
  379. data/sig/telegram/bot/types/unique_gift_symbol.rbs +1 -1
  380. data/sig/telegram/bot/types/update.rbs +5 -2
  381. data/sig/telegram/bot/types/user.rbs +2 -12
  382. data/sig/telegram/bot/types/user_chat_boosts.rbs +1 -1
  383. data/sig/telegram/bot/types/user_profile_audios.rbs +1 -1
  384. data/sig/telegram/bot/types/user_profile_photos.rbs +1 -1
  385. data/sig/telegram/bot/types/user_rating.rbs +1 -1
  386. data/sig/telegram/bot/types/users_shared.rbs +1 -1
  387. data/sig/telegram/bot/types/venue.rbs +1 -1
  388. data/sig/telegram/bot/types/video.rbs +1 -1
  389. data/sig/telegram/bot/types/video_chat_ended.rbs +1 -1
  390. data/sig/telegram/bot/types/video_chat_participants_invited.rbs +1 -1
  391. data/sig/telegram/bot/types/video_chat_scheduled.rbs +1 -1
  392. data/sig/telegram/bot/types/video_chat_started.rbs +1 -1
  393. data/sig/telegram/bot/types/video_note.rbs +1 -1
  394. data/sig/telegram/bot/types/video_quality.rbs +1 -1
  395. data/sig/telegram/bot/types/voice.rbs +1 -1
  396. data/sig/telegram/bot/types/web_app_data.rbs +1 -1
  397. data/sig/telegram/bot/types/web_app_info.rbs +1 -1
  398. data/sig/telegram/bot/types/webhook_info.rbs +1 -1
  399. data/sig/telegram/bot/types/widget.rbs +17 -0
  400. data/sig/telegram/bot/types/widget_query.rbs +21 -0
  401. data/sig/telegram/bot/types/widget_query_type_data.rbs +13 -0
  402. data/sig/telegram/bot/types/widget_query_type_sent_transaction.rbs +14 -0
  403. data/sig/telegram/bot/types/widget_query_type_sign_data.rbs +14 -0
  404. data/sig/telegram/bot/types/widget_query_wallet.rbs +15 -0
  405. data/sig/telegram/bot/types/write_access_allowed.rbs +3 -2
  406. metadata +48 -6
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,12 +1,15 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.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,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,9 +1,9 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.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
@@ -1,9 +1,9 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
5
5
  class User < Base
6
- def self.new: (id: Integer, is_bot: bool, first_name: String, ?last_name: String, ?username: String, ?language_code: String, ?is_premium: true, ?added_to_attachment_menu: true, ?can_join_groups: bool, ?can_read_all_group_messages: bool, ?supports_guest_queries: bool, ?supports_inline_queries: bool, ?can_connect_to_business: bool, ?has_main_web_app: bool, ?has_topics_enabled: bool, ?allows_users_to_create_topics: bool, ?can_manage_bots: bool, ?supports_join_request_queries: bool) -> instance
6
+ def self.new: (id: Integer, is_bot: bool, first_name: String, ?last_name: String, ?username: String, ?language_code: String, ?is_premium: true, ?added_to_attachment_menu: true) -> instance
7
7
  | (?Hash[Symbol | String, untyped] attributes) -> instance
8
8
  attr_reader id: Integer
9
9
  attr_reader is_bot: bool
@@ -13,16 +13,6 @@
13
13
  attr_reader language_code: String?
14
14
  attr_reader is_premium: true?
15
15
  attr_reader added_to_attachment_menu: true?
16
- attr_reader can_join_groups: bool?
17
- attr_reader can_read_all_group_messages: bool?
18
- attr_reader supports_guest_queries: bool?
19
- attr_reader supports_inline_queries: bool?
20
- attr_reader can_connect_to_business: bool?
21
- attr_reader has_main_web_app: bool?
22
- attr_reader has_topics_enabled: bool?
23
- attr_reader allows_users_to_create_topics: bool?
24
- attr_reader can_manage_bots: bool?
25
- attr_reader supports_join_request_queries: bool?
26
16
  end
27
17
  end
28
18
  end
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
@@ -0,0 +1,17 @@
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ module Types
5
+ class Widget < Base
6
+ def self.new: (?id: String, ?width: Integer, ?height: Integer, html: String, ?public_data: String, ?chat_data: String) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader id: String?
9
+ attr_reader width: Integer?
10
+ attr_reader height: Integer?
11
+ attr_reader html: String
12
+ attr_reader public_data: String?
13
+ attr_reader chat_data: String?
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,21 @@
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ module Types
5
+ class WidgetQuery < Base
6
+ def self.new: (id: String, from: User, ?chat: Chat, ?message_id: Integer, ?inline_message_id: String, chat_instance: String, ?chat_type: String, 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 chat: Chat?
11
+ attr_reader message_id: Integer?
12
+ attr_reader inline_message_id: String?
13
+ attr_reader chat_instance: String
14
+ attr_reader chat_type: String?
15
+ attr_reader type: widget_query_type
16
+ attr_reader data: String
17
+ attr_reader widget_id: String?
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,13 @@
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ module Types
5
+ class WidgetQueryTypeData < Base
6
+ def self.new: (?type: String, ?wallet_card: TonWalletCard) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader wallet_card: TonWalletCard?
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ module Types
5
+ class WidgetQueryTypeSentTransaction < Base
6
+ def self.new: (?type: String, wallet: WidgetQueryWallet, msg_hash: String) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader wallet: WidgetQueryWallet
10
+ attr_reader msg_hash: String
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ module Types
5
+ class WidgetQueryTypeSignData < Base
6
+ def self.new: (?type: String, wallet: WidgetQueryWallet, sign_data: String) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader wallet: WidgetQueryWallet
10
+ attr_reader sign_data: String
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ module Types
5
+ class WidgetQueryWallet < Base
6
+ def self.new: (address: String, amount: String, ?public_key: String, ?state_init: String) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader address: String
9
+ attr_reader amount: String
10
+ attr_reader public_key: String?
11
+ attr_reader state_init: String?
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,13 +1,14 @@
1
- # Generated for telegram-bot-ruby 2.8.0. Do not edit by hand.
1
+ # Generated for telegram-bot-ruby 2.10.0. Do not edit by hand.
2
2
  module Telegram
3
3
  module Bot
4
4
  module Types
5
5
  class WriteAccessAllowed < Base
6
- def self.new: (?from_request: bool, ?web_app_name: String, ?from_attachment_menu: bool) -> instance
6
+ def self.new: (?from_request: bool, ?web_app_name: String, ?from_attachment_menu: bool, ?inviter: User) -> instance
7
7
  | (?Hash[Symbol | String, untyped] attributes) -> instance
8
8
  attr_reader from_request: bool?
9
9
  attr_reader web_app_name: String?
10
10
  attr_reader from_attachment_menu: bool?
11
+ attr_reader inviter: User?
11
12
  end
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegram-bot-ruby-rbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ldebortoli
@@ -13,16 +13,22 @@ dependencies:
13
13
  name: telegram-bot-ruby
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - '='
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 2.8.0
18
+ version: 2.10.0
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '2.11'
19
22
  type: :runtime
20
23
  prerelease: false
21
24
  version_requirements: !ruby/object:Gem::Requirement
22
25
  requirements:
23
- - - '='
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 2.10.0
29
+ - - "<"
24
30
  - !ruby/object:Gem::Version
25
- version: 2.8.0
31
+ version: '2.11'
26
32
  description: Complete, generated RBS signatures for telegram-bot-ruby, checked against
27
33
  the official Telegram Bot API documentation.
28
34
  executables: []
@@ -36,6 +42,7 @@ files:
36
42
  - sig/telegram/bot/types/accepted_gift_types.rbs
37
43
  - sig/telegram/bot/types/affiliate_info.rbs
38
44
  - sig/telegram/bot/types/animation.rbs
45
+ - sig/telegram/bot/types/area_position.rbs
39
46
  - sig/telegram/bot/types/audio.rbs
40
47
  - sig/telegram/bot/types/background_fill_freeform_gradient.rbs
41
48
  - sig/telegram/bot/types/background_fill_gradient.rbs
@@ -56,6 +63,7 @@ files:
56
63
  - sig/telegram/bot/types/bot_command_scope_chat_member.rbs
57
64
  - sig/telegram/bot/types/bot_command_scope_default.rbs
58
65
  - sig/telegram/bot/types/bot_description.rbs
66
+ - sig/telegram/bot/types/bot_full_info.rbs
59
67
  - sig/telegram/bot/types/bot_name.rbs
60
68
  - sig/telegram/bot/types/bot_short_description.rbs
61
69
  - sig/telegram/bot/types/bot_subscription_updated.rbs
@@ -93,6 +101,10 @@ files:
93
101
  - sig/telegram/bot/types/chat_owner_left.rbs
94
102
  - sig/telegram/bot/types/chat_permissions.rbs
95
103
  - sig/telegram/bot/types/chat_photo.rbs
104
+ - sig/telegram/bot/types/chat_share_theme_backdrop.rbs
105
+ - sig/telegram/bot/types/chat_share_theme_backdrops.rbs
106
+ - sig/telegram/bot/types/chat_share_theme_emoji.rbs
107
+ - sig/telegram/bot/types/chat_share_theme_unique_gift.rbs
96
108
  - sig/telegram/bot/types/chat_shared.rbs
97
109
  - sig/telegram/bot/types/checklist.rbs
98
110
  - sig/telegram/bot/types/checklist_task.rbs
@@ -101,15 +113,20 @@ files:
101
113
  - sig/telegram/bot/types/chosen_inline_result.rbs
102
114
  - sig/telegram/bot/types/community.rbs
103
115
  - sig/telegram/bot/types/community_chat_added.rbs
116
+ - sig/telegram/bot/types/community_chat_joined.rbs
104
117
  - sig/telegram/bot/types/community_chat_removed.rbs
105
118
  - sig/telegram/bot/types/contact.rbs
106
119
  - sig/telegram/bot/types/copy_text_button.rbs
107
120
  - sig/telegram/bot/types/dice.rbs
108
121
  - sig/telegram/bot/types/direct_message_price_changed.rbs
109
122
  - sig/telegram/bot/types/direct_messages_topic.rbs
123
+ - sig/telegram/bot/types/disabled_button.rbs
110
124
  - sig/telegram/bot/types/document.rbs
125
+ - sig/telegram/bot/types/emoji_type_custom_emoji.rbs
126
+ - sig/telegram/bot/types/emoji_type_emoji.rbs
111
127
  - sig/telegram/bot/types/encrypted_credentials.rbs
112
128
  - sig/telegram/bot/types/encrypted_passport_element.rbs
129
+ - sig/telegram/bot/types/ephemeral_message_parameters.rbs
113
130
  - sig/telegram/bot/types/error.rbs
114
131
  - sig/telegram/bot/types/external_reply_info.rbs
115
132
  - sig/telegram/bot/types/file.rbs
@@ -183,9 +200,12 @@ files:
183
200
  - sig/telegram/bot/types/input_rich_block_animation.rbs
184
201
  - sig/telegram/bot/types/input_rich_block_audio.rbs
185
202
  - sig/telegram/bot/types/input_rich_block_block_quotation.rbs
203
+ - sig/telegram/bot/types/input_rich_block_buttons.rbs
186
204
  - sig/telegram/bot/types/input_rich_block_collage.rbs
187
205
  - sig/telegram/bot/types/input_rich_block_details.rbs
188
206
  - sig/telegram/bot/types/input_rich_block_divider.rbs
207
+ - sig/telegram/bot/types/input_rich_block_document.rbs
208
+ - sig/telegram/bot/types/input_rich_block_expandable_block_quotation.rbs
189
209
  - sig/telegram/bot/types/input_rich_block_footer.rbs
190
210
  - sig/telegram/bot/types/input_rich_block_list.rbs
191
211
  - sig/telegram/bot/types/input_rich_block_list_item.rbs
@@ -204,11 +224,13 @@ files:
204
224
  - sig/telegram/bot/types/input_rich_message.rbs
205
225
  - sig/telegram/bot/types/input_rich_message_content.rbs
206
226
  - sig/telegram/bot/types/input_rich_message_media.rbs
227
+ - sig/telegram/bot/types/input_shared_widget_message_content.rbs
207
228
  - sig/telegram/bot/types/input_sticker.rbs
208
229
  - sig/telegram/bot/types/input_story_content_photo.rbs
209
230
  - sig/telegram/bot/types/input_story_content_video.rbs
210
231
  - sig/telegram/bot/types/input_text_message_content.rbs
211
232
  - sig/telegram/bot/types/input_venue_message_content.rbs
233
+ - sig/telegram/bot/types/input_widget_message_content.rbs
212
234
  - sig/telegram/bot/types/invoice.rbs
213
235
  - sig/telegram/bot/types/keyboard_button.rbs
214
236
  - sig/telegram/bot/types/keyboard_button_poll_type.rbs
@@ -231,6 +253,7 @@ files:
231
253
  - sig/telegram/bot/types/message.rbs
232
254
  - sig/telegram/bot/types/message_auto_delete_timer_changed.rbs
233
255
  - sig/telegram/bot/types/message_entity.rbs
256
+ - sig/telegram/bot/types/message_generation_stopped.rbs
234
257
  - sig/telegram/bot/types/message_id.rbs
235
258
  - sig/telegram/bot/types/message_origin_channel.rbs
236
259
  - sig/telegram/bot/types/message_origin_chat.rbs
@@ -249,6 +272,7 @@ files:
249
272
  - sig/telegram/bot/types/paid_media_purchased.rbs
250
273
  - sig/telegram/bot/types/paid_media_video.rbs
251
274
  - sig/telegram/bot/types/paid_message_price_changed.rbs
275
+ - sig/telegram/bot/types/paid_messages_waived.rbs
252
276
  - sig/telegram/bot/types/passport_data.rbs
253
277
  - sig/telegram/bot/types/passport_element_error_data_field.rbs
254
278
  - sig/telegram/bot/types/passport_element_error_file.rbs
@@ -287,10 +311,13 @@ files:
287
311
  - sig/telegram/bot/types/rich_block_animation.rbs
288
312
  - sig/telegram/bot/types/rich_block_audio.rbs
289
313
  - sig/telegram/bot/types/rich_block_block_quotation.rbs
314
+ - sig/telegram/bot/types/rich_block_buttons.rbs
290
315
  - sig/telegram/bot/types/rich_block_caption.rbs
291
316
  - sig/telegram/bot/types/rich_block_collage.rbs
292
317
  - sig/telegram/bot/types/rich_block_details.rbs
293
318
  - sig/telegram/bot/types/rich_block_divider.rbs
319
+ - sig/telegram/bot/types/rich_block_document.rbs
320
+ - sig/telegram/bot/types/rich_block_expandable_block_quotation.rbs
294
321
  - sig/telegram/bot/types/rich_block_footer.rbs
295
322
  - sig/telegram/bot/types/rich_block_list.rbs
296
323
  - sig/telegram/bot/types/rich_block_list_item.rbs
@@ -308,11 +335,13 @@ files:
308
335
  - sig/telegram/bot/types/rich_block_video.rbs
309
336
  - sig/telegram/bot/types/rich_block_voice_note.rbs
310
337
  - sig/telegram/bot/types/rich_message.rbs
338
+ - sig/telegram/bot/types/rich_message_button.rbs
311
339
  - sig/telegram/bot/types/rich_text_anchor.rbs
312
340
  - sig/telegram/bot/types/rich_text_anchor_link.rbs
313
341
  - sig/telegram/bot/types/rich_text_bank_card_number.rbs
314
342
  - sig/telegram/bot/types/rich_text_bold.rbs
315
343
  - sig/telegram/bot/types/rich_text_bot_command.rbs
344
+ - sig/telegram/bot/types/rich_text_button.rbs
316
345
  - sig/telegram/bot/types/rich_text_cashtag.rbs
317
346
  - sig/telegram/bot/types/rich_text_code.rbs
318
347
  - sig/telegram/bot/types/rich_text_custom_emoji.rbs
@@ -331,11 +360,13 @@ files:
331
360
  - sig/telegram/bot/types/rich_text_subscript.rbs
332
361
  - sig/telegram/bot/types/rich_text_superscript.rbs
333
362
  - sig/telegram/bot/types/rich_text_text_mention.rbs
363
+ - sig/telegram/bot/types/rich_text_ton_address.rbs
334
364
  - sig/telegram/bot/types/rich_text_underline.rbs
335
365
  - sig/telegram/bot/types/rich_text_url.rbs
336
366
  - sig/telegram/bot/types/sent_guest_message.rbs
337
367
  - sig/telegram/bot/types/sent_web_app_message.rbs
338
368
  - sig/telegram/bot/types/shared_user.rbs
369
+ - sig/telegram/bot/types/shared_widget_query.rbs
339
370
  - sig/telegram/bot/types/shipping_address.rbs
340
371
  - sig/telegram/bot/types/shipping_option.rbs
341
372
  - sig/telegram/bot/types/shipping_query.rbs
@@ -363,6 +394,11 @@ files:
363
394
  - sig/telegram/bot/types/suggested_post_refunded.rbs
364
395
  - sig/telegram/bot/types/switch_inline_query_chosen_chat.rbs
365
396
  - sig/telegram/bot/types/text_quote.rbs
397
+ - sig/telegram/bot/types/ton_nft.rbs
398
+ - sig/telegram/bot/types/ton_nft_attribute.rbs
399
+ - sig/telegram/bot/types/ton_wallet_card.rbs
400
+ - sig/telegram/bot/types/ton_wallet_card_sticker.rbs
401
+ - sig/telegram/bot/types/ton_wallet_transfer.rbs
366
402
  - sig/telegram/bot/types/transaction_partner_affiliate_program.rbs
367
403
  - sig/telegram/bot/types/transaction_partner_chat.rbs
368
404
  - sig/telegram/bot/types/transaction_partner_fragment.rbs
@@ -397,6 +433,12 @@ files:
397
433
  - sig/telegram/bot/types/web_app_data.rbs
398
434
  - sig/telegram/bot/types/web_app_info.rbs
399
435
  - sig/telegram/bot/types/webhook_info.rbs
436
+ - sig/telegram/bot/types/widget.rbs
437
+ - sig/telegram/bot/types/widget_query.rbs
438
+ - sig/telegram/bot/types/widget_query_type_data.rbs
439
+ - sig/telegram/bot/types/widget_query_type_sent_transaction.rbs
440
+ - sig/telegram/bot/types/widget_query_type_sign_data.rbs
441
+ - sig/telegram/bot/types/widget_query_wallet.rbs
400
442
  - sig/telegram/bot/types/write_access_allowed.rbs
401
443
  homepage: https://github.com/ldebortoli/telegram-bot-ruby-rbs
402
444
  licenses:
@@ -420,7 +462,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
420
462
  - !ruby/object:Gem::Version
421
463
  version: '0'
422
464
  requirements: []
423
- rubygems_version: 3.6.9
465
+ rubygems_version: 4.0.20
424
466
  specification_version: 4
425
467
  summary: RBS signatures for telegram-bot-ruby
426
468
  test_files: []