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.
Files changed (370) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -4
  3. data/sig/telegram/bot/api.rbs +103 -43
  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/audio.rbs +1 -1
  9. data/sig/telegram/bot/types/background_fill_freeform_gradient.rbs +1 -1
  10. data/sig/telegram/bot/types/background_fill_gradient.rbs +1 -1
  11. data/sig/telegram/bot/types/background_fill_solid.rbs +1 -1
  12. data/sig/telegram/bot/types/background_type_chat_theme.rbs +1 -1
  13. data/sig/telegram/bot/types/background_type_fill.rbs +1 -1
  14. data/sig/telegram/bot/types/background_type_pattern.rbs +1 -1
  15. data/sig/telegram/bot/types/background_type_wallpaper.rbs +1 -1
  16. data/sig/telegram/bot/types/base.rbs +1 -1
  17. data/sig/telegram/bot/types/birthdate.rbs +1 -1
  18. data/sig/telegram/bot/types/bot_access_settings.rbs +13 -0
  19. data/sig/telegram/bot/types/bot_command.rbs +3 -2
  20. data/sig/telegram/bot/types/bot_command_scope_all_chat_administrators.rbs +1 -1
  21. data/sig/telegram/bot/types/bot_command_scope_all_group_chats.rbs +1 -1
  22. data/sig/telegram/bot/types/bot_command_scope_all_private_chats.rbs +1 -1
  23. data/sig/telegram/bot/types/bot_command_scope_chat.rbs +1 -1
  24. data/sig/telegram/bot/types/bot_command_scope_chat_administrators.rbs +1 -1
  25. data/sig/telegram/bot/types/bot_command_scope_chat_member.rbs +1 -1
  26. data/sig/telegram/bot/types/bot_command_scope_default.rbs +1 -1
  27. data/sig/telegram/bot/types/bot_description.rbs +1 -1
  28. data/sig/telegram/bot/types/bot_name.rbs +1 -1
  29. data/sig/telegram/bot/types/bot_short_description.rbs +1 -1
  30. data/sig/telegram/bot/types/bot_subscription_updated.rbs +14 -0
  31. data/sig/telegram/bot/types/business_bot_rights.rbs +1 -1
  32. data/sig/telegram/bot/types/business_connection.rbs +1 -1
  33. data/sig/telegram/bot/types/business_intro.rbs +1 -1
  34. data/sig/telegram/bot/types/business_location.rbs +1 -1
  35. data/sig/telegram/bot/types/business_messages_deleted.rbs +1 -1
  36. data/sig/telegram/bot/types/business_opening_hours.rbs +1 -1
  37. data/sig/telegram/bot/types/business_opening_hours_interval.rbs +1 -1
  38. data/sig/telegram/bot/types/callback_game.rbs +1 -1
  39. data/sig/telegram/bot/types/callback_query.rbs +1 -1
  40. data/sig/telegram/bot/types/chat.rbs +1 -1
  41. data/sig/telegram/bot/types/chat_administrator_rights.rbs +1 -1
  42. data/sig/telegram/bot/types/chat_background.rbs +1 -1
  43. data/sig/telegram/bot/types/chat_boost.rbs +1 -1
  44. data/sig/telegram/bot/types/chat_boost_added.rbs +1 -1
  45. data/sig/telegram/bot/types/chat_boost_removed.rbs +1 -1
  46. data/sig/telegram/bot/types/chat_boost_source_gift_code.rbs +1 -1
  47. data/sig/telegram/bot/types/chat_boost_source_giveaway.rbs +1 -1
  48. data/sig/telegram/bot/types/chat_boost_source_premium.rbs +1 -1
  49. data/sig/telegram/bot/types/chat_boost_updated.rbs +1 -1
  50. data/sig/telegram/bot/types/chat_full_info.rbs +4 -2
  51. data/sig/telegram/bot/types/chat_invite_link.rbs +1 -1
  52. data/sig/telegram/bot/types/chat_join_request.rbs +3 -2
  53. data/sig/telegram/bot/types/chat_location.rbs +1 -1
  54. data/sig/telegram/bot/types/chat_member_administrator.rbs +1 -1
  55. data/sig/telegram/bot/types/chat_member_banned.rbs +1 -1
  56. data/sig/telegram/bot/types/chat_member_left.rbs +1 -1
  57. data/sig/telegram/bot/types/chat_member_member.rbs +1 -1
  58. data/sig/telegram/bot/types/chat_member_owner.rbs +1 -1
  59. data/sig/telegram/bot/types/chat_member_restricted.rbs +3 -2
  60. data/sig/telegram/bot/types/chat_member_updated.rbs +1 -1
  61. data/sig/telegram/bot/types/chat_owner_changed.rbs +1 -1
  62. data/sig/telegram/bot/types/chat_owner_left.rbs +1 -1
  63. data/sig/telegram/bot/types/chat_permissions.rbs +3 -2
  64. data/sig/telegram/bot/types/chat_photo.rbs +1 -1
  65. data/sig/telegram/bot/types/chat_shared.rbs +1 -1
  66. data/sig/telegram/bot/types/checklist.rbs +1 -1
  67. data/sig/telegram/bot/types/checklist_task.rbs +1 -1
  68. data/sig/telegram/bot/types/checklist_tasks_added.rbs +1 -1
  69. data/sig/telegram/bot/types/checklist_tasks_done.rbs +1 -1
  70. data/sig/telegram/bot/types/chosen_inline_result.rbs +1 -1
  71. data/sig/telegram/bot/types/community.rbs +13 -0
  72. data/sig/telegram/bot/types/community_chat_added.rbs +12 -0
  73. data/sig/telegram/bot/types/community_chat_removed.rbs +11 -0
  74. data/sig/telegram/bot/types/contact.rbs +1 -1
  75. data/sig/telegram/bot/types/copy_text_button.rbs +1 -1
  76. data/sig/telegram/bot/types/dice.rbs +1 -1
  77. data/sig/telegram/bot/types/direct_message_price_changed.rbs +1 -1
  78. data/sig/telegram/bot/types/direct_messages_topic.rbs +1 -1
  79. data/sig/telegram/bot/types/document.rbs +1 -1
  80. data/sig/telegram/bot/types/encrypted_credentials.rbs +1 -1
  81. data/sig/telegram/bot/types/encrypted_passport_element.rbs +1 -1
  82. data/sig/telegram/bot/types/error.rbs +1 -1
  83. data/sig/telegram/bot/types/external_reply_info.rbs +3 -2
  84. data/sig/telegram/bot/types/file.rbs +1 -1
  85. data/sig/telegram/bot/types/force_reply.rbs +1 -1
  86. data/sig/telegram/bot/types/forum_topic.rbs +1 -1
  87. data/sig/telegram/bot/types/forum_topic_closed.rbs +1 -1
  88. data/sig/telegram/bot/types/forum_topic_created.rbs +1 -1
  89. data/sig/telegram/bot/types/forum_topic_edited.rbs +1 -1
  90. data/sig/telegram/bot/types/forum_topic_reopened.rbs +1 -1
  91. data/sig/telegram/bot/types/game.rbs +1 -1
  92. data/sig/telegram/bot/types/game_high_score.rbs +1 -1
  93. data/sig/telegram/bot/types/general_forum_topic_hidden.rbs +1 -1
  94. data/sig/telegram/bot/types/general_forum_topic_unhidden.rbs +1 -1
  95. data/sig/telegram/bot/types/gift.rbs +1 -1
  96. data/sig/telegram/bot/types/gift_background.rbs +1 -1
  97. data/sig/telegram/bot/types/gift_info.rbs +1 -1
  98. data/sig/telegram/bot/types/gifts.rbs +1 -1
  99. data/sig/telegram/bot/types/giveaway.rbs +1 -1
  100. data/sig/telegram/bot/types/giveaway_completed.rbs +1 -1
  101. data/sig/telegram/bot/types/giveaway_created.rbs +1 -1
  102. data/sig/telegram/bot/types/giveaway_winners.rbs +1 -1
  103. data/sig/telegram/bot/types/inaccessible_message.rbs +1 -1
  104. data/sig/telegram/bot/types/inline_keyboard_button.rbs +1 -1
  105. data/sig/telegram/bot/types/inline_keyboard_markup.rbs +1 -1
  106. data/sig/telegram/bot/types/inline_query.rbs +1 -1
  107. data/sig/telegram/bot/types/inline_query_result_article.rbs +1 -1
  108. data/sig/telegram/bot/types/inline_query_result_audio.rbs +1 -1
  109. data/sig/telegram/bot/types/inline_query_result_cached_audio.rbs +1 -1
  110. data/sig/telegram/bot/types/inline_query_result_cached_document.rbs +1 -1
  111. data/sig/telegram/bot/types/inline_query_result_cached_gif.rbs +1 -1
  112. data/sig/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rbs +1 -1
  113. data/sig/telegram/bot/types/inline_query_result_cached_photo.rbs +1 -1
  114. data/sig/telegram/bot/types/inline_query_result_cached_sticker.rbs +1 -1
  115. data/sig/telegram/bot/types/inline_query_result_cached_video.rbs +1 -1
  116. data/sig/telegram/bot/types/inline_query_result_cached_voice.rbs +1 -1
  117. data/sig/telegram/bot/types/inline_query_result_contact.rbs +1 -1
  118. data/sig/telegram/bot/types/inline_query_result_document.rbs +1 -1
  119. data/sig/telegram/bot/types/inline_query_result_game.rbs +1 -1
  120. data/sig/telegram/bot/types/inline_query_result_gif.rbs +1 -1
  121. data/sig/telegram/bot/types/inline_query_result_location.rbs +1 -1
  122. data/sig/telegram/bot/types/inline_query_result_mpeg4_gif.rbs +1 -1
  123. data/sig/telegram/bot/types/inline_query_result_photo.rbs +1 -1
  124. data/sig/telegram/bot/types/inline_query_result_venue.rbs +1 -1
  125. data/sig/telegram/bot/types/inline_query_result_video.rbs +1 -1
  126. data/sig/telegram/bot/types/inline_query_result_voice.rbs +1 -1
  127. data/sig/telegram/bot/types/inline_query_results_button.rbs +1 -1
  128. data/sig/telegram/bot/types/input_checklist.rbs +1 -1
  129. data/sig/telegram/bot/types/input_checklist_task.rbs +1 -1
  130. data/sig/telegram/bot/types/input_contact_message_content.rbs +1 -1
  131. data/sig/telegram/bot/types/input_file.rbs +1 -1
  132. data/sig/telegram/bot/types/input_invoice_message_content.rbs +1 -1
  133. data/sig/telegram/bot/types/input_location_message_content.rbs +1 -1
  134. data/sig/telegram/bot/types/input_media_animation.rbs +1 -1
  135. data/sig/telegram/bot/types/input_media_audio.rbs +1 -1
  136. data/sig/telegram/bot/types/input_media_document.rbs +1 -1
  137. data/sig/telegram/bot/types/input_media_link.rbs +13 -0
  138. data/sig/telegram/bot/types/input_media_live_photo.rbs +19 -0
  139. data/sig/telegram/bot/types/input_media_location.rbs +15 -0
  140. data/sig/telegram/bot/types/input_media_photo.rbs +1 -1
  141. data/sig/telegram/bot/types/input_media_sticker.rbs +14 -0
  142. data/sig/telegram/bot/types/input_media_venue.rbs +20 -0
  143. data/sig/telegram/bot/types/input_media_video.rbs +1 -1
  144. data/sig/telegram/bot/types/input_media_voice_note.rbs +17 -0
  145. data/sig/telegram/bot/types/input_paid_media_live_photo.rbs +14 -0
  146. data/sig/telegram/bot/types/input_paid_media_photo.rbs +1 -1
  147. data/sig/telegram/bot/types/input_paid_media_video.rbs +1 -1
  148. data/sig/telegram/bot/types/input_poll_option.rbs +3 -2
  149. data/sig/telegram/bot/types/input_profile_photo_animated.rbs +1 -1
  150. data/sig/telegram/bot/types/input_profile_photo_static.rbs +1 -1
  151. data/sig/telegram/bot/types/input_rich_block_anchor.rbs +13 -0
  152. data/sig/telegram/bot/types/input_rich_block_animation.rbs +14 -0
  153. data/sig/telegram/bot/types/input_rich_block_audio.rbs +14 -0
  154. data/sig/telegram/bot/types/input_rich_block_block_quotation.rbs +14 -0
  155. data/sig/telegram/bot/types/input_rich_block_collage.rbs +14 -0
  156. data/sig/telegram/bot/types/input_rich_block_details.rbs +15 -0
  157. data/sig/telegram/bot/types/input_rich_block_divider.rbs +12 -0
  158. data/sig/telegram/bot/types/input_rich_block_footer.rbs +13 -0
  159. data/sig/telegram/bot/types/input_rich_block_list.rbs +13 -0
  160. data/sig/telegram/bot/types/input_rich_block_list_item.rbs +16 -0
  161. data/sig/telegram/bot/types/input_rich_block_map.rbs +17 -0
  162. data/sig/telegram/bot/types/input_rich_block_mathematical_expression.rbs +13 -0
  163. data/sig/telegram/bot/types/input_rich_block_paragraph.rbs +13 -0
  164. data/sig/telegram/bot/types/input_rich_block_photo.rbs +14 -0
  165. data/sig/telegram/bot/types/input_rich_block_preformatted.rbs +14 -0
  166. data/sig/telegram/bot/types/input_rich_block_pull_quotation.rbs +14 -0
  167. data/sig/telegram/bot/types/input_rich_block_section_heading.rbs +14 -0
  168. data/sig/telegram/bot/types/input_rich_block_slideshow.rbs +14 -0
  169. data/sig/telegram/bot/types/input_rich_block_table.rbs +16 -0
  170. data/sig/telegram/bot/types/input_rich_block_thinking.rbs +13 -0
  171. data/sig/telegram/bot/types/input_rich_block_video.rbs +14 -0
  172. data/sig/telegram/bot/types/input_rich_block_voice_note.rbs +14 -0
  173. data/sig/telegram/bot/types/input_rich_message.rbs +17 -0
  174. data/sig/telegram/bot/types/input_rich_message_content.rbs +12 -0
  175. data/sig/telegram/bot/types/input_rich_message_media.rbs +13 -0
  176. data/sig/telegram/bot/types/input_sticker.rbs +1 -1
  177. data/sig/telegram/bot/types/input_story_content_photo.rbs +1 -1
  178. data/sig/telegram/bot/types/input_story_content_video.rbs +1 -1
  179. data/sig/telegram/bot/types/input_text_message_content.rbs +1 -1
  180. data/sig/telegram/bot/types/input_venue_message_content.rbs +1 -1
  181. data/sig/telegram/bot/types/invoice.rbs +1 -1
  182. data/sig/telegram/bot/types/keyboard_button.rbs +1 -1
  183. data/sig/telegram/bot/types/keyboard_button_poll_type.rbs +1 -1
  184. data/sig/telegram/bot/types/keyboard_button_request_chat.rbs +1 -1
  185. data/sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs +1 -1
  186. data/sig/telegram/bot/types/keyboard_button_request_users.rbs +1 -1
  187. data/sig/telegram/bot/types/labeled_price.rbs +1 -1
  188. data/sig/telegram/bot/types/link.rbs +12 -0
  189. data/sig/telegram/bot/types/link_preview_options.rbs +1 -1
  190. data/sig/telegram/bot/types/live_photo.rbs +19 -0
  191. data/sig/telegram/bot/types/location.rbs +1 -1
  192. data/sig/telegram/bot/types/location_address.rbs +1 -1
  193. data/sig/telegram/bot/types/login_url.rbs +1 -1
  194. data/sig/telegram/bot/types/managed_bot_created.rbs +1 -1
  195. data/sig/telegram/bot/types/managed_bot_updated.rbs +1 -1
  196. data/sig/telegram/bot/types/mask_position.rbs +1 -1
  197. data/sig/telegram/bot/types/menu_button_commands.rbs +1 -1
  198. data/sig/telegram/bot/types/menu_button_default.rbs +1 -1
  199. data/sig/telegram/bot/types/menu_button_web_app.rbs +1 -1
  200. data/sig/telegram/bot/types/message.rbs +11 -2
  201. data/sig/telegram/bot/types/message_auto_delete_timer_changed.rbs +1 -1
  202. data/sig/telegram/bot/types/message_entity.rbs +1 -1
  203. data/sig/telegram/bot/types/message_id.rbs +1 -1
  204. data/sig/telegram/bot/types/message_origin_channel.rbs +1 -1
  205. data/sig/telegram/bot/types/message_origin_chat.rbs +1 -1
  206. data/sig/telegram/bot/types/message_origin_hidden_user.rbs +1 -1
  207. data/sig/telegram/bot/types/message_origin_user.rbs +1 -1
  208. data/sig/telegram/bot/types/message_reaction_count_updated.rbs +1 -1
  209. data/sig/telegram/bot/types/message_reaction_updated.rbs +1 -1
  210. data/sig/telegram/bot/types/order_info.rbs +1 -1
  211. data/sig/telegram/bot/types/owned_gift_regular.rbs +1 -1
  212. data/sig/telegram/bot/types/owned_gift_unique.rbs +1 -1
  213. data/sig/telegram/bot/types/owned_gifts.rbs +1 -1
  214. data/sig/telegram/bot/types/paid_media_info.rbs +1 -1
  215. data/sig/telegram/bot/types/paid_media_live_photo.rbs +13 -0
  216. data/sig/telegram/bot/types/paid_media_photo.rbs +1 -1
  217. data/sig/telegram/bot/types/paid_media_preview.rbs +1 -1
  218. data/sig/telegram/bot/types/paid_media_purchased.rbs +1 -1
  219. data/sig/telegram/bot/types/paid_media_video.rbs +1 -1
  220. data/sig/telegram/bot/types/paid_message_price_changed.rbs +1 -1
  221. data/sig/telegram/bot/types/passport_data.rbs +1 -1
  222. data/sig/telegram/bot/types/passport_element_error_data_field.rbs +1 -1
  223. data/sig/telegram/bot/types/passport_element_error_file.rbs +1 -1
  224. data/sig/telegram/bot/types/passport_element_error_files.rbs +1 -1
  225. data/sig/telegram/bot/types/passport_element_error_front_side.rbs +1 -1
  226. data/sig/telegram/bot/types/passport_element_error_reverse_side.rbs +1 -1
  227. data/sig/telegram/bot/types/passport_element_error_selfie.rbs +1 -1
  228. data/sig/telegram/bot/types/passport_element_error_translation_file.rbs +1 -1
  229. data/sig/telegram/bot/types/passport_element_error_translation_files.rbs +1 -1
  230. data/sig/telegram/bot/types/passport_element_error_unspecified.rbs +1 -1
  231. data/sig/telegram/bot/types/passport_file.rbs +1 -1
  232. data/sig/telegram/bot/types/photo_size.rbs +1 -1
  233. data/sig/telegram/bot/types/poll.rbs +6 -2
  234. data/sig/telegram/bot/types/poll_answer.rbs +1 -1
  235. data/sig/telegram/bot/types/poll_media.rbs +21 -0
  236. data/sig/telegram/bot/types/poll_option.rbs +3 -2
  237. data/sig/telegram/bot/types/poll_option_added.rbs +1 -1
  238. data/sig/telegram/bot/types/poll_option_deleted.rbs +1 -1
  239. data/sig/telegram/bot/types/pre_checkout_query.rbs +1 -1
  240. data/sig/telegram/bot/types/prepared_inline_message.rbs +1 -1
  241. data/sig/telegram/bot/types/prepared_keyboard_button.rbs +1 -1
  242. data/sig/telegram/bot/types/proximity_alert_triggered.rbs +1 -1
  243. data/sig/telegram/bot/types/reaction_count.rbs +1 -1
  244. data/sig/telegram/bot/types/reaction_type_custom_emoji.rbs +1 -1
  245. data/sig/telegram/bot/types/reaction_type_emoji.rbs +1 -1
  246. data/sig/telegram/bot/types/reaction_type_paid.rbs +1 -1
  247. data/sig/telegram/bot/types/refunded_payment.rbs +1 -1
  248. data/sig/telegram/bot/types/reply_keyboard_markup.rbs +1 -1
  249. data/sig/telegram/bot/types/reply_keyboard_remove.rbs +1 -1
  250. data/sig/telegram/bot/types/reply_parameters.rbs +4 -3
  251. data/sig/telegram/bot/types/response_parameters.rbs +1 -1
  252. data/sig/telegram/bot/types/revenue_withdrawal_state_failed.rbs +1 -1
  253. data/sig/telegram/bot/types/revenue_withdrawal_state_pending.rbs +1 -1
  254. data/sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs +1 -1
  255. data/sig/telegram/bot/types/rich_block_anchor.rbs +13 -0
  256. data/sig/telegram/bot/types/rich_block_animation.rbs +15 -0
  257. data/sig/telegram/bot/types/rich_block_audio.rbs +14 -0
  258. data/sig/telegram/bot/types/rich_block_block_quotation.rbs +14 -0
  259. data/sig/telegram/bot/types/rich_block_caption.rbs +13 -0
  260. data/sig/telegram/bot/types/rich_block_collage.rbs +14 -0
  261. data/sig/telegram/bot/types/rich_block_details.rbs +15 -0
  262. data/sig/telegram/bot/types/rich_block_divider.rbs +12 -0
  263. data/sig/telegram/bot/types/rich_block_footer.rbs +13 -0
  264. data/sig/telegram/bot/types/rich_block_list.rbs +13 -0
  265. data/sig/telegram/bot/types/rich_block_list_item.rbs +17 -0
  266. data/sig/telegram/bot/types/rich_block_map.rbs +17 -0
  267. data/sig/telegram/bot/types/rich_block_mathematical_expression.rbs +13 -0
  268. data/sig/telegram/bot/types/rich_block_paragraph.rbs +13 -0
  269. data/sig/telegram/bot/types/rich_block_photo.rbs +15 -0
  270. data/sig/telegram/bot/types/rich_block_preformatted.rbs +14 -0
  271. data/sig/telegram/bot/types/rich_block_pull_quotation.rbs +14 -0
  272. data/sig/telegram/bot/types/rich_block_section_heading.rbs +14 -0
  273. data/sig/telegram/bot/types/rich_block_slideshow.rbs +14 -0
  274. data/sig/telegram/bot/types/rich_block_table.rbs +16 -0
  275. data/sig/telegram/bot/types/rich_block_table_cell.rbs +17 -0
  276. data/sig/telegram/bot/types/rich_block_thinking.rbs +13 -0
  277. data/sig/telegram/bot/types/rich_block_video.rbs +15 -0
  278. data/sig/telegram/bot/types/rich_block_voice_note.rbs +14 -0
  279. data/sig/telegram/bot/types/rich_message.rbs +13 -0
  280. data/sig/telegram/bot/types/rich_text_anchor.rbs +13 -0
  281. data/sig/telegram/bot/types/rich_text_anchor_link.rbs +14 -0
  282. data/sig/telegram/bot/types/rich_text_bank_card_number.rbs +14 -0
  283. data/sig/telegram/bot/types/rich_text_bold.rbs +13 -0
  284. data/sig/telegram/bot/types/rich_text_bot_command.rbs +14 -0
  285. data/sig/telegram/bot/types/rich_text_cashtag.rbs +14 -0
  286. data/sig/telegram/bot/types/rich_text_code.rbs +13 -0
  287. data/sig/telegram/bot/types/rich_text_custom_emoji.rbs +14 -0
  288. data/sig/telegram/bot/types/rich_text_date_time.rbs +15 -0
  289. data/sig/telegram/bot/types/rich_text_email_address.rbs +14 -0
  290. data/sig/telegram/bot/types/rich_text_hashtag.rbs +14 -0
  291. data/sig/telegram/bot/types/rich_text_italic.rbs +13 -0
  292. data/sig/telegram/bot/types/rich_text_marked.rbs +13 -0
  293. data/sig/telegram/bot/types/rich_text_mathematical_expression.rbs +13 -0
  294. data/sig/telegram/bot/types/rich_text_mention.rbs +14 -0
  295. data/sig/telegram/bot/types/rich_text_phone_number.rbs +14 -0
  296. data/sig/telegram/bot/types/rich_text_reference.rbs +14 -0
  297. data/sig/telegram/bot/types/rich_text_reference_link.rbs +14 -0
  298. data/sig/telegram/bot/types/rich_text_spoiler.rbs +13 -0
  299. data/sig/telegram/bot/types/rich_text_strikethrough.rbs +13 -0
  300. data/sig/telegram/bot/types/rich_text_subscript.rbs +13 -0
  301. data/sig/telegram/bot/types/rich_text_superscript.rbs +13 -0
  302. data/sig/telegram/bot/types/rich_text_text_mention.rbs +14 -0
  303. data/sig/telegram/bot/types/rich_text_underline.rbs +13 -0
  304. data/sig/telegram/bot/types/rich_text_url.rbs +14 -0
  305. data/sig/telegram/bot/types/sent_guest_message.rbs +12 -0
  306. data/sig/telegram/bot/types/sent_web_app_message.rbs +1 -1
  307. data/sig/telegram/bot/types/shared_user.rbs +1 -1
  308. data/sig/telegram/bot/types/shipping_address.rbs +1 -1
  309. data/sig/telegram/bot/types/shipping_option.rbs +1 -1
  310. data/sig/telegram/bot/types/shipping_query.rbs +1 -1
  311. data/sig/telegram/bot/types/star_amount.rbs +1 -1
  312. data/sig/telegram/bot/types/star_transaction.rbs +1 -1
  313. data/sig/telegram/bot/types/star_transactions.rbs +1 -1
  314. data/sig/telegram/bot/types/sticker.rbs +1 -1
  315. data/sig/telegram/bot/types/sticker_set.rbs +1 -1
  316. data/sig/telegram/bot/types/story.rbs +1 -1
  317. data/sig/telegram/bot/types/story_area.rbs +1 -1
  318. data/sig/telegram/bot/types/story_area_position.rbs +1 -1
  319. data/sig/telegram/bot/types/story_area_type_link.rbs +1 -1
  320. data/sig/telegram/bot/types/story_area_type_location.rbs +1 -1
  321. data/sig/telegram/bot/types/story_area_type_suggested_reaction.rbs +1 -1
  322. data/sig/telegram/bot/types/story_area_type_unique_gift.rbs +1 -1
  323. data/sig/telegram/bot/types/story_area_type_weather.rbs +1 -1
  324. data/sig/telegram/bot/types/successful_payment.rbs +1 -1
  325. data/sig/telegram/bot/types/suggested_post_approval_failed.rbs +1 -1
  326. data/sig/telegram/bot/types/suggested_post_approved.rbs +1 -1
  327. data/sig/telegram/bot/types/suggested_post_declined.rbs +1 -1
  328. data/sig/telegram/bot/types/suggested_post_info.rbs +1 -1
  329. data/sig/telegram/bot/types/suggested_post_paid.rbs +1 -1
  330. data/sig/telegram/bot/types/suggested_post_parameters.rbs +1 -1
  331. data/sig/telegram/bot/types/suggested_post_price.rbs +1 -1
  332. data/sig/telegram/bot/types/suggested_post_refunded.rbs +1 -1
  333. data/sig/telegram/bot/types/switch_inline_query_chosen_chat.rbs +1 -1
  334. data/sig/telegram/bot/types/text_quote.rbs +1 -1
  335. data/sig/telegram/bot/types/transaction_partner_affiliate_program.rbs +1 -1
  336. data/sig/telegram/bot/types/transaction_partner_chat.rbs +1 -1
  337. data/sig/telegram/bot/types/transaction_partner_fragment.rbs +1 -1
  338. data/sig/telegram/bot/types/transaction_partner_other.rbs +1 -1
  339. data/sig/telegram/bot/types/transaction_partner_telegram_ads.rbs +1 -1
  340. data/sig/telegram/bot/types/transaction_partner_telegram_api.rbs +1 -1
  341. data/sig/telegram/bot/types/transaction_partner_user.rbs +1 -1
  342. data/sig/telegram/bot/types/unions.rbs +20 -5
  343. data/sig/telegram/bot/types/unique_gift.rbs +1 -1
  344. data/sig/telegram/bot/types/unique_gift_backdrop.rbs +1 -1
  345. data/sig/telegram/bot/types/unique_gift_backdrop_colors.rbs +1 -1
  346. data/sig/telegram/bot/types/unique_gift_colors.rbs +1 -1
  347. data/sig/telegram/bot/types/unique_gift_info.rbs +1 -1
  348. data/sig/telegram/bot/types/unique_gift_model.rbs +1 -1
  349. data/sig/telegram/bot/types/unique_gift_symbol.rbs +1 -1
  350. data/sig/telegram/bot/types/update.rbs +4 -2
  351. data/sig/telegram/bot/types/user.rbs +4 -2
  352. data/sig/telegram/bot/types/user_chat_boosts.rbs +1 -1
  353. data/sig/telegram/bot/types/user_profile_audios.rbs +1 -1
  354. data/sig/telegram/bot/types/user_profile_photos.rbs +1 -1
  355. data/sig/telegram/bot/types/user_rating.rbs +1 -1
  356. data/sig/telegram/bot/types/users_shared.rbs +1 -1
  357. data/sig/telegram/bot/types/venue.rbs +1 -1
  358. data/sig/telegram/bot/types/video.rbs +1 -1
  359. data/sig/telegram/bot/types/video_chat_ended.rbs +1 -1
  360. data/sig/telegram/bot/types/video_chat_participants_invited.rbs +1 -1
  361. data/sig/telegram/bot/types/video_chat_scheduled.rbs +1 -1
  362. data/sig/telegram/bot/types/video_chat_started.rbs +1 -1
  363. data/sig/telegram/bot/types/video_note.rbs +1 -1
  364. data/sig/telegram/bot/types/video_quality.rbs +1 -1
  365. data/sig/telegram/bot/types/voice.rbs +1 -1
  366. data/sig/telegram/bot/types/web_app_data.rbs +1 -1
  367. data/sig/telegram/bot/types/web_app_info.rbs +1 -1
  368. data/sig/telegram/bot/types/webhook_info.rbs +1 -1
  369. data/sig/telegram/bot/types/write_access_allowed.rbs +1 -1
  370. 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 InputRichBlockList < Base
6
+ def self.new: (?type: String, items: Array[InputRichBlockListItem]) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader items: Array[InputRichBlockListItem]
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,16 @@
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 InputRichBlockListItem < Base
6
+ def self.new: (blocks: Array[input_rich_block], ?has_checkbox: true, ?is_checked: true, ?value: Integer, ?type: String) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader blocks: Array[input_rich_block]
9
+ attr_reader has_checkbox: true?
10
+ attr_reader is_checked: true?
11
+ attr_reader value: Integer?
12
+ attr_reader type: String?
13
+ end
14
+ end
15
+ end
16
+ 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 InputRichBlockMap < 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 InputRichBlockMathematicalExpression < 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 InputRichBlockParagraph < 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,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 InputRichBlockPhoto < Base
6
+ def self.new: (?type: String, photo: InputMediaPhoto, ?caption: RichBlockCaption) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader photo: InputMediaPhoto
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 InputRichBlockPreformatted < 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 InputRichBlockPullQuotation < 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
@@ -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 InputRichBlockSectionHeading < Base
6
+ def self.new: (?type: String, text: rich_text, size: Integer) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader text: rich_text
10
+ attr_reader size: Integer
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 InputRichBlockSlideshow < Base
6
+ def self.new: (?type: String, blocks: Array[input_rich_block], ?caption: RichBlockCaption) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader blocks: Array[input_rich_block]
10
+ attr_reader caption: RichBlockCaption?
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,16 @@
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 InputRichBlockTable < Base
6
+ def self.new: (?type: String, cells: Array[Array[RichBlockTableCell]], ?is_bordered: true, ?is_striped: true, ?caption: rich_text) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader cells: Array[Array[RichBlockTableCell]]
10
+ attr_reader is_bordered: true?
11
+ attr_reader is_striped: true?
12
+ attr_reader caption: rich_text?
13
+ end
14
+ end
15
+ end
16
+ 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 InputRichBlockThinking < 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,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 InputRichBlockVideo < Base
6
+ def self.new: (?type: String, video: InputMediaVideo, ?caption: RichBlockCaption) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader video: InputMediaVideo
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 InputRichBlockVoiceNote < Base
6
+ def self.new: (?type: String, voice_note: InputMediaVoiceNote, ?caption: RichBlockCaption) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader type: String
9
+ attr_reader voice_note: InputMediaVoiceNote
10
+ attr_reader caption: RichBlockCaption?
11
+ end
12
+ end
13
+ end
14
+ 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 InputRichMessage < Base
6
+ def self.new: (?blocks: Array[input_rich_block], ?html: String, ?markdown: String, ?media: Array[InputRichMessageMedia], ?is_rtl: bool, ?skip_entity_detection: bool) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader blocks: Array[input_rich_block]?
9
+ attr_reader html: String?
10
+ attr_reader markdown: String?
11
+ attr_reader media: Array[InputRichMessageMedia]?
12
+ attr_reader is_rtl: bool?
13
+ attr_reader skip_entity_detection: bool?
14
+ end
15
+ end
16
+ end
17
+ 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 InputRichMessageContent < Base
6
+ def self.new: (rich_message: InputRichMessage) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader rich_message: InputRichMessage
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 InputRichMessageMedia < Base
6
+ def self.new: (id: String, media: (InputMediaAnimation | InputMediaAudio | InputMediaPhoto | InputMediaVideo | InputMediaVoiceNote)) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader id: String
9
+ attr_reader media: (InputMediaAnimation | InputMediaAudio | InputMediaPhoto | InputMediaVideo | InputMediaVoiceNote)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -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 Link < Base
6
+ def self.new: (url: String) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader url: String
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -0,0 +1,19 @@
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 LivePhoto < Base
6
+ def self.new: (?photo: Array[PhotoSize], file_id: String, file_unique_id: String, width: Integer, height: Integer, duration: Integer, ?mime_type: String, ?file_size: Integer) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader photo: Array[PhotoSize]?
9
+ attr_reader file_id: String
10
+ attr_reader file_unique_id: String
11
+ attr_reader width: Integer
12
+ attr_reader height: Integer
13
+ attr_reader duration: Integer
14
+ attr_reader mime_type: String?
15
+ attr_reader file_size: Integer?
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,9 +1,9 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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 Message < Base
6
- def self.new: (message_id: Integer, ?message_thread_id: Integer, ?direct_messages_topic: DirectMessagesTopic, ?from: User, ?sender_chat: Chat, ?sender_boost_count: Integer, ?sender_business_bot: User, ?sender_tag: String, date: Integer, ?business_connection_id: String, chat: Chat, ?forward_origin: message_origin, ?is_topic_message: true, ?is_automatic_forward: true, ?reply_to_message: Message, ?external_reply: ExternalReplyInfo, ?quote: TextQuote, ?reply_to_story: Story, ?reply_to_checklist_task_id: Integer, ?reply_to_poll_option_id: String, ?via_bot: User, ?edit_date: Integer, ?has_protected_content: true, ?is_from_offline: true, ?is_paid_post: true, ?media_group_id: String, ?author_signature: String, ?paid_star_count: Integer, ?text: String, ?entities: Array[MessageEntity], ?link_preview_options: LinkPreviewOptions, ?suggested_post_info: SuggestedPostInfo, ?effect_id: String, ?animation: Animation, ?audio: Audio, ?document: Document, ?paid_media: PaidMediaInfo, ?photo: Array[PhotoSize], ?sticker: Sticker, ?story: Story, ?video: Video, ?video_note: VideoNote, ?voice: Voice, ?caption: String, ?caption_entities: Array[MessageEntity], ?show_caption_above_media: true, ?has_media_spoiler: true, ?checklist: Checklist, ?contact: Contact, ?dice: Dice, ?game: Game, ?poll: Poll, ?venue: Venue, ?location: Location, ?new_chat_members: Array[User], ?left_chat_member: User, ?chat_owner_left: ChatOwnerLeft, ?chat_owner_changed: ChatOwnerChanged, ?new_chat_title: String, ?new_chat_photo: Array[PhotoSize], ?delete_chat_photo: true, ?group_chat_created: true, ?supergroup_chat_created: true, ?channel_chat_created: true, ?message_auto_delete_timer_changed: MessageAutoDeleteTimerChanged, ?migrate_to_chat_id: Integer, ?migrate_from_chat_id: Integer, ?pinned_message: maybe_inaccessible_message, ?invoice: Invoice, ?successful_payment: SuccessfulPayment, ?refunded_payment: RefundedPayment, ?users_shared: UsersShared, ?chat_shared: ChatShared, ?gift: GiftInfo, ?unique_gift: UniqueGiftInfo, ?gift_upgrade_sent: GiftInfo, ?connected_website: String, ?write_access_allowed: WriteAccessAllowed, ?passport_data: PassportData, ?proximity_alert_triggered: ProximityAlertTriggered, ?boost_added: ChatBoostAdded, ?chat_background_set: ChatBackground, ?checklist_tasks_done: ChecklistTasksDone, ?checklist_tasks_added: ChecklistTasksAdded, ?direct_message_price_changed: DirectMessagePriceChanged, ?forum_topic_created: ForumTopicCreated, ?forum_topic_edited: ForumTopicEdited, ?forum_topic_closed: ForumTopicClosed, ?forum_topic_reopened: ForumTopicReopened, ?general_forum_topic_hidden: GeneralForumTopicHidden, ?general_forum_topic_unhidden: GeneralForumTopicUnhidden, ?giveaway_created: GiveawayCreated, ?giveaway: Giveaway, ?giveaway_winners: GiveawayWinners, ?giveaway_completed: GiveawayCompleted, ?managed_bot_created: ManagedBotCreated, ?paid_message_price_changed: PaidMessagePriceChanged, ?poll_option_added: PollOptionAdded, ?poll_option_deleted: PollOptionDeleted, ?suggested_post_approved: SuggestedPostApproved, ?suggested_post_approval_failed: SuggestedPostApprovalFailed, ?suggested_post_declined: SuggestedPostDeclined, ?suggested_post_paid: SuggestedPostPaid, ?suggested_post_refunded: SuggestedPostRefunded, ?video_chat_scheduled: VideoChatScheduled, ?video_chat_started: VideoChatStarted, ?video_chat_ended: VideoChatEnded, ?video_chat_participants_invited: VideoChatParticipantsInvited, ?web_app_data: WebAppData, ?reply_markup: InlineKeyboardMarkup) -> instance
6
+ def self.new: (message_id: Integer, ?message_thread_id: Integer, ?direct_messages_topic: DirectMessagesTopic, ?from: User, ?sender_chat: Chat, ?sender_boost_count: Integer, ?sender_business_bot: User, ?sender_tag: String, ?receiver_user: User, ?ephemeral_message_id: Integer, date: Integer, ?guest_query_id: String, ?business_connection_id: String, chat: Chat, ?forward_origin: message_origin, ?is_topic_message: true, ?is_automatic_forward: true, ?reply_to_message: Message, ?external_reply: ExternalReplyInfo, ?quote: TextQuote, ?reply_to_story: Story, ?reply_to_checklist_task_id: Integer, ?reply_to_poll_option_id: String, ?via_bot: User, ?guest_bot_caller_user: User, ?guest_bot_caller_chat: Chat, ?edit_date: Integer, ?has_protected_content: true, ?is_from_offline: true, ?is_paid_post: true, ?media_group_id: String, ?author_signature: String, ?paid_star_count: Integer, ?text: String, ?entities: Array[MessageEntity], ?link_preview_options: LinkPreviewOptions, ?suggested_post_info: SuggestedPostInfo, ?effect_id: String, ?rich_message: RichMessage, ?animation: Animation, ?audio: Audio, ?document: Document, ?live_photo: LivePhoto, ?paid_media: PaidMediaInfo, ?photo: Array[PhotoSize], ?sticker: Sticker, ?story: Story, ?video: Video, ?video_note: VideoNote, ?voice: Voice, ?caption: String, ?caption_entities: Array[MessageEntity], ?show_caption_above_media: true, ?has_media_spoiler: true, ?checklist: Checklist, ?contact: Contact, ?dice: Dice, ?game: Game, ?poll: Poll, ?venue: Venue, ?location: Location, ?new_chat_members: Array[User], ?left_chat_member: User, ?chat_owner_left: ChatOwnerLeft, ?chat_owner_changed: ChatOwnerChanged, ?new_chat_title: String, ?new_chat_photo: Array[PhotoSize], ?delete_chat_photo: true, ?group_chat_created: true, ?supergroup_chat_created: true, ?channel_chat_created: true, ?message_auto_delete_timer_changed: MessageAutoDeleteTimerChanged, ?migrate_to_chat_id: Integer, ?migrate_from_chat_id: Integer, ?pinned_message: maybe_inaccessible_message, ?invoice: Invoice, ?successful_payment: SuccessfulPayment, ?refunded_payment: RefundedPayment, ?users_shared: UsersShared, ?chat_shared: ChatShared, ?gift: GiftInfo, ?unique_gift: UniqueGiftInfo, ?gift_upgrade_sent: GiftInfo, ?connected_website: String, ?write_access_allowed: WriteAccessAllowed, ?passport_data: PassportData, ?proximity_alert_triggered: ProximityAlertTriggered, ?boost_added: ChatBoostAdded, ?chat_background_set: ChatBackground, ?checklist_tasks_done: ChecklistTasksDone, ?checklist_tasks_added: ChecklistTasksAdded, ?community_chat_added: CommunityChatAdded, ?community_chat_removed: CommunityChatRemoved, ?direct_message_price_changed: DirectMessagePriceChanged, ?forum_topic_created: ForumTopicCreated, ?forum_topic_edited: ForumTopicEdited, ?forum_topic_closed: ForumTopicClosed, ?forum_topic_reopened: ForumTopicReopened, ?general_forum_topic_hidden: GeneralForumTopicHidden, ?general_forum_topic_unhidden: GeneralForumTopicUnhidden, ?giveaway_created: GiveawayCreated, ?giveaway: Giveaway, ?giveaway_winners: GiveawayWinners, ?giveaway_completed: GiveawayCompleted, ?managed_bot_created: ManagedBotCreated, ?paid_message_price_changed: PaidMessagePriceChanged, ?poll_option_added: PollOptionAdded, ?poll_option_deleted: PollOptionDeleted, ?suggested_post_approved: SuggestedPostApproved, ?suggested_post_approval_failed: SuggestedPostApprovalFailed, ?suggested_post_declined: SuggestedPostDeclined, ?suggested_post_paid: SuggestedPostPaid, ?suggested_post_refunded: SuggestedPostRefunded, ?video_chat_scheduled: VideoChatScheduled, ?video_chat_started: VideoChatStarted, ?video_chat_ended: VideoChatEnded, ?video_chat_participants_invited: VideoChatParticipantsInvited, ?web_app_data: WebAppData, ?reply_markup: InlineKeyboardMarkup) -> instance
7
7
  | (?Hash[Symbol | String, untyped] attributes) -> instance
8
8
  attr_reader message_id: Integer
9
9
  attr_reader message_thread_id: Integer?
@@ -13,7 +13,10 @@
13
13
  attr_reader sender_boost_count: Integer?
14
14
  attr_reader sender_business_bot: User?
15
15
  attr_reader sender_tag: String?
16
+ attr_reader receiver_user: User?
17
+ attr_reader ephemeral_message_id: Integer?
16
18
  attr_reader date: Integer
19
+ attr_reader guest_query_id: String?
17
20
  attr_reader business_connection_id: String?
18
21
  attr_reader chat: Chat
19
22
  attr_reader forward_origin: message_origin?
@@ -26,6 +29,8 @@
26
29
  attr_reader reply_to_checklist_task_id: Integer?
27
30
  attr_reader reply_to_poll_option_id: String?
28
31
  attr_reader via_bot: User?
32
+ attr_reader guest_bot_caller_user: User?
33
+ attr_reader guest_bot_caller_chat: Chat?
29
34
  attr_reader edit_date: Integer?
30
35
  attr_reader has_protected_content: true?
31
36
  attr_reader is_from_offline: true?
@@ -38,9 +43,11 @@
38
43
  attr_reader link_preview_options: LinkPreviewOptions?
39
44
  attr_reader suggested_post_info: SuggestedPostInfo?
40
45
  attr_reader effect_id: String?
46
+ attr_reader rich_message: RichMessage?
41
47
  attr_reader animation: Animation?
42
48
  attr_reader audio: Audio?
43
49
  attr_reader document: Document?
50
+ attr_reader live_photo: LivePhoto?
44
51
  attr_reader paid_media: PaidMediaInfo?
45
52
  attr_reader photo: Array[PhotoSize]?
46
53
  attr_reader sticker: Sticker?
@@ -89,6 +96,8 @@
89
96
  attr_reader chat_background_set: ChatBackground?
90
97
  attr_reader checklist_tasks_done: ChecklistTasksDone?
91
98
  attr_reader checklist_tasks_added: ChecklistTasksAdded?
99
+ attr_reader community_chat_added: CommunityChatAdded?
100
+ attr_reader community_chat_removed: CommunityChatRemoved?
92
101
  attr_reader direct_message_price_changed: DirectMessagePriceChanged?
93
102
  attr_reader forum_topic_created: ForumTopicCreated?
94
103
  attr_reader forum_topic_edited: ForumTopicEdited?
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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
@@ -1,4 +1,4 @@
1
- # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
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