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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2b5abba0048a59d00fa36de18c1b0c17ce530f3f56796642bd3114ce4edf2a4
4
- data.tar.gz: 83e0e5918dcf00aa5cda3b7365ca661fed37df22c4162d66db0d1727f9397351
3
+ metadata.gz: 5c9d64b9afd58ac4323eec37475d9ac2c71f449179b459029499592143122c50
4
+ data.tar.gz: 8a30f96b1ff49244be18c7719b8b3fa27a14e7709697eb6a68060a653e66703e
5
5
  SHA512:
6
- metadata.gz: d716a4e5b10435efb5a71ccc148c225194d0e737b8d1114968afd3f6b6cacfb1e445dd465eb0ecf506eccdc0fc46ac71aa15aea0f3c82323fa64a24e48293885
7
- data.tar.gz: 15d648384226a12c5b0640f338a19ce2852de51ce9f4bbbdac295f002c856d1544e71aa85cef7ff8d44872d8a22f854b1ad7ca38156d29bc4e5f8dd0c7e7fd9c
6
+ metadata.gz: 9cf499c8e9d07af5ba40ebb77efde06960f9d55c5a3fcd05227ccf8dce17b99c557383c109c7e8ada97ead60177c850982e2ec7197608b02c9dbb751eb185c8e
7
+ data.tar.gz: 6ce05976ee6d20f31ae017dadb6aab39d54978402a38ab5c3c151ef86220f9e7dc937007363e772869544944d092faac5ef7bc5bcb57606376dbbb14e71a56c4
data/README.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  RBS signatures for [`telegram-bot-ruby`](https://github.com/atipugin/telegram-bot-ruby), generated from the wrapper's real Ruby surface and checked against the [official Telegram Bot API](https://core.telegram.org/bots/api).
4
4
 
5
- Version `0.1.x` targets `telegram-bot-ruby >= 2.7.0, < 2.8`. The current normalized documentation snapshot is Telegram Bot API 10.2.
5
+ Version `0.2.x` targets `telegram-bot-ruby >= 2.8.1, < 2.9`. The current normalized documentation snapshot is Telegram Bot API 10.4.
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add both gems to your bundle:
10
10
 
11
11
  ```ruby
12
- gem "telegram-bot-ruby", "~> 2.7.0"
13
- gem "telegram-bot-ruby-rbs", "~> 0.1.0", require: false
12
+ gem "telegram-bot-ruby", "~> 2.8.1"
13
+ gem "telegram-bot-ruby-rbs", "~> 0.2.0", require: false
14
14
  ```
15
15
 
16
16
  RBS, Steep and compatible editors discover the `.rbs` files from the installed gem's `sig/` directory. This gem adds no runtime behavior.
@@ -31,12 +31,15 @@ Telegram's official API can move ahead of the wrapper. `data/compatibility.yml`
31
31
  bundle install
32
32
  bundle exec rake update_api # fetch and normalize the official documentation
33
33
  bundle exec rake generate # regenerate sig/ and the compatibility report
34
- bundle exec rake # tests plus rbs validate
34
+ bundle exec rake test # fast deterministic tests
35
+ bundle exec rake # tests, 100% generator coverage, and rbs validate
35
36
  bundle exec rake build
36
37
  ```
37
38
 
38
39
  The generated files are committed so consumers never need network access or generator dependencies.
39
40
 
41
+ The coverage gate measures the generator's lines, branches and methods. The shipped gem contains RBS declarations and no Ruby runtime code; its declarations are checked exhaustively against the wrapper and validated by RBS. Refreshing the official snapshot requires network access and runs only through the explicit `update_api` task.
42
+
40
43
  ## License
41
44
 
42
45
  MIT. Telegram Bot API names and facts are sourced from Telegram's official documentation; `telegram-bot-ruby` remains under its own license.
@@ -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
  class Api
@@ -19,6 +19,14 @@
19
19
  | (?Hash[Symbol | String, untyped] params) -> bool
20
20
  def answerCallbackQuery: (callback_query_id: String, ?text: String, ?show_alert: bool, ?url: String, ?cache_time: Integer) -> bool
21
21
  | (?Hash[Symbol | String, untyped] params) -> bool
22
+ def answer_chat_join_request_query: (chat_join_request_query_id: String, result: String) -> bool
23
+ | (?Hash[Symbol | String, untyped] params) -> bool
24
+ def answerChatJoinRequestQuery: (chat_join_request_query_id: String, result: String) -> bool
25
+ | (?Hash[Symbol | String, untyped] params) -> bool
26
+ def answer_guest_query: (guest_query_id: String, result: Types::inline_query_result) -> Types::SentGuestMessage
27
+ | (?Hash[Symbol | String, untyped] params) -> Types::SentGuestMessage
28
+ def answerGuestQuery: (guest_query_id: String, result: Types::inline_query_result) -> Types::SentGuestMessage
29
+ | (?Hash[Symbol | String, untyped] params) -> Types::SentGuestMessage
22
30
  def answer_inline_query: (inline_query_id: String, results: Array[Types::inline_query_result], ?cache_time: Integer, ?is_personal: bool, ?next_offset: String, ?button: Types::InlineQueryResultsButton) -> bool
23
31
  | (?Hash[Symbol | String, untyped] params) -> bool
24
32
  def answerInlineQuery: (inline_query_id: String, results: Array[Types::inline_query_result], ?cache_time: Integer, ?is_personal: bool, ?next_offset: String, ?button: Types::InlineQueryResultsButton) -> bool
@@ -101,6 +109,10 @@
101
109
  | (?Hash[Symbol | String, untyped] params) -> bool
102
110
  def declineSuggestedPost: (chat_id: Integer, message_id: Integer, ?comment: String) -> bool
103
111
  | (?Hash[Symbol | String, untyped] params) -> bool
112
+ def delete_all_message_reactions: (chat_id: Integer | String, ?user_id: Integer, ?actor_chat_id: Integer) -> bool
113
+ | (?Hash[Symbol | String, untyped] params) -> bool
114
+ def deleteAllMessageReactions: (chat_id: Integer | String, ?user_id: Integer, ?actor_chat_id: Integer) -> bool
115
+ | (?Hash[Symbol | String, untyped] params) -> bool
104
116
  def delete_business_messages: (business_connection_id: String, message_ids: Array[Integer]) -> bool
105
117
  | (?Hash[Symbol | String, untyped] params) -> bool
106
118
  def deleteBusinessMessages: (business_connection_id: String, message_ids: Array[Integer]) -> bool
@@ -113,6 +125,10 @@
113
125
  | (?Hash[Symbol | String, untyped] params) -> bool
114
126
  def deleteChatStickerSet: (chat_id: Integer | String) -> bool
115
127
  | (?Hash[Symbol | String, untyped] params) -> bool
128
+ def delete_ephemeral_message: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer) -> bool
129
+ | (?Hash[Symbol | String, untyped] params) -> bool
130
+ def deleteEphemeralMessage: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer) -> bool
131
+ | (?Hash[Symbol | String, untyped] params) -> bool
116
132
  def delete_forum_topic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
117
133
  | (?Hash[Symbol | String, untyped] params) -> bool
118
134
  def deleteForumTopic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
@@ -121,6 +137,10 @@
121
137
  | (?Hash[Symbol | String, untyped] params) -> bool
122
138
  def deleteMessage: (chat_id: Integer | String, message_id: Integer) -> bool
123
139
  | (?Hash[Symbol | String, untyped] params) -> bool
140
+ def delete_message_reaction: (chat_id: Integer | String, message_id: Integer, ?user_id: Integer, ?actor_chat_id: Integer) -> bool
141
+ | (?Hash[Symbol | String, untyped] params) -> bool
142
+ def deleteMessageReaction: (chat_id: Integer | String, message_id: Integer, ?user_id: Integer, ?actor_chat_id: Integer) -> bool
143
+ | (?Hash[Symbol | String, untyped] params) -> bool
124
144
  def delete_messages: (chat_id: Integer | String, message_ids: Array[Integer]) -> bool
125
145
  | (?Hash[Symbol | String, untyped] params) -> bool
126
146
  def deleteMessages: (chat_id: Integer | String, message_ids: Array[Integer]) -> bool
@@ -153,6 +173,22 @@
153
173
  | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
154
174
  def editChatSubscriptionInviteLink: (chat_id: Integer | String, invite_link: String, ?name: String) -> Types::ChatInviteLink
155
175
  | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
176
+ def edit_ephemeral_message_caption: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
177
+ | (?Hash[Symbol | String, untyped] params) -> bool
178
+ def editEphemeralMessageCaption: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
179
+ | (?Hash[Symbol | String, untyped] params) -> bool
180
+ def edit_ephemeral_message_media: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, media: Types::input_media, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
181
+ | (?Hash[Symbol | String, untyped] params) -> bool
182
+ def editEphemeralMessageMedia: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, media: Types::input_media, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
183
+ | (?Hash[Symbol | String, untyped] params) -> bool
184
+ def edit_ephemeral_message_reply_markup: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
185
+ | (?Hash[Symbol | String, untyped] params) -> bool
186
+ def editEphemeralMessageReplyMarkup: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
187
+ | (?Hash[Symbol | String, untyped] params) -> bool
188
+ def edit_ephemeral_message_text: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?rich_message: Types::InputRichMessage, ?link_preview_options: Types::LinkPreviewOptions, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
189
+ | (?Hash[Symbol | String, untyped] params) -> bool
190
+ def editEphemeralMessageText: (chat_id: Integer | String, receiver_user_id: Integer, ephemeral_message_id: Integer, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?rich_message: Types::InputRichMessage, ?link_preview_options: Types::LinkPreviewOptions, ?reply_markup: Types::InlineKeyboardMarkup) -> bool
191
+ | (?Hash[Symbol | String, untyped] params) -> bool
156
192
  def edit_forum_topic: (chat_id: Integer | String, message_thread_id: Integer, ?name: String, ?icon_custom_emoji_id: String) -> bool
157
193
  | (?Hash[Symbol | String, untyped] params) -> bool
158
194
  def editForumTopic: (chat_id: Integer | String, message_thread_id: Integer, ?name: String, ?icon_custom_emoji_id: String) -> bool
@@ -181,9 +217,9 @@
181
217
  | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
182
218
  def editMessageReplyMarkup: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
183
219
  | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
184
- def edit_message_text: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?rich_message: untyped, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
220
+ def edit_message_text: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?rich_message: Types::InputRichMessage, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
185
221
  | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
186
- def editMessageText: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?rich_message: untyped, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
222
+ def editMessageText: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?rich_message: Types::InputRichMessage, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
187
223
  | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
188
224
  def edit_story: (business_connection_id: String, story_id: Integer, content: Types::input_story_content, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?areas: Array[Types::StoryArea]) -> Types::Story
189
225
  | (?Hash[Symbol | String, untyped] params) -> Types::Story
@@ -237,10 +273,6 @@
237
273
  | (?Hash[Symbol | String, untyped] params) -> Types::chat_member
238
274
  def getChatMember: (chat_id: Integer | String, user_id: Integer) -> Types::chat_member
239
275
  | (?Hash[Symbol | String, untyped] params) -> Types::chat_member
240
- def get_chat_member_count: (chat_id: Integer | String) -> Integer
241
- | (?Hash[Symbol | String, untyped] params) -> Integer
242
- def getChatMemberCount: (chat_id: Integer | String) -> Integer
243
- | (?Hash[Symbol | String, untyped] params) -> Integer
244
276
  def get_chat_menu_button: (?chat_id: Integer) -> Types::menu_button
245
277
  | (?Hash[Symbol | String, untyped] params) -> Types::menu_button
246
278
  def getChatMenuButton: (?chat_id: Integer) -> Types::menu_button
@@ -261,6 +293,10 @@
261
293
  | (?Hash[Symbol | String, untyped] params) -> Array[Types::GameHighScore]
262
294
  def getGameHighScores: (user_id: Integer, ?chat_id: Integer, ?message_id: Integer, ?inline_message_id: String) -> Array[Types::GameHighScore]
263
295
  | (?Hash[Symbol | String, untyped] params) -> Array[Types::GameHighScore]
296
+ def get_managed_bot_access_settings: (user_id: Integer) -> Types::BotAccessSettings
297
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotAccessSettings
298
+ def getManagedBotAccessSettings: (user_id: Integer) -> Types::BotAccessSettings
299
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotAccessSettings
264
300
  def get_managed_bot_token: (user_id: Integer) -> String
265
301
  | (?Hash[Symbol | String, untyped] params) -> String
266
302
  def getManagedBotToken: (user_id: Integer) -> String
@@ -313,6 +349,10 @@
313
349
  | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
314
350
  def getUserGifts: (user_id: Integer, ?exclude_unlimited: bool, ?exclude_limited_upgradable: bool, ?exclude_limited_non_upgradable: bool, ?exclude_from_blockchain: bool, ?exclude_unique: bool, ?sort_by_price: bool, ?offset: String, ?limit: Integer) -> Types::OwnedGifts
315
351
  | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
352
+ def get_user_personal_chat_messages: (user_id: Integer, limit: Integer) -> Array[Types::Message]
353
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Message]
354
+ def getUserPersonalChatMessages: (user_id: Integer, limit: Integer) -> Array[Types::Message]
355
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Message]
316
356
  def get_user_profile_audios: (user_id: Integer, ?offset: Integer, ?limit: Integer) -> Types::UserProfileAudios
317
357
  | (?Hash[Symbol | String, untyped] params) -> Types::UserProfileAudios
318
358
  def getUserProfileAudios: (user_id: Integer, ?offset: Integer, ?limit: Integer) -> Types::UserProfileAudios
@@ -349,9 +389,9 @@
349
389
  | (?Hash[Symbol | String, untyped] params) -> Types::Story
350
390
  def postStory: (business_connection_id: String, content: Types::input_story_content, active_period: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?areas: Array[Types::StoryArea], ?post_to_chat_page: bool, ?protect_content: bool) -> Types::Story
351
391
  | (?Hash[Symbol | String, untyped] params) -> Types::Story
352
- def promote_chat_member: (chat_id: Integer | String, user_id: Integer, ?is_anonymous: bool, ?can_manage_chat: bool, ?can_delete_messages: bool, ?can_manage_video_chats: bool, ?can_restrict_members: bool, ?can_promote_members: bool, ?can_change_info: bool, ?can_invite_users: bool, ?can_post_stories: bool, ?can_edit_stories: bool, ?can_delete_stories: bool, ?can_post_messages: bool, ?can_edit_messages: bool, ?can_pin_messages: bool, ?can_manage_topics: bool, ?can_manage_direct_messages: bool, ?can_manage_tags: bool) -> bool
392
+ def promote_chat_member: (chat_id: Integer | String, user_id: Integer, ?is_anonymous: bool, ?can_manage_chat: bool, ?can_delete_messages: bool, ?can_manage_video_chats: bool, ?can_restrict_members: bool, ?can_promote_members: bool, ?can_change_info: bool, ?can_invite_users: bool, ?can_post_stories: bool, ?can_edit_stories: bool, ?can_delete_stories: bool, ?can_post_messages: bool, ?can_edit_messages: bool, ?can_pin_messages: bool, ?can_manage_topics: bool, ?can_manage_direct_messages: bool, ?can_manage_tags: bool, ?can_send_welcome_messages: bool) -> bool
353
393
  | (?Hash[Symbol | String, untyped] params) -> bool
354
- def promoteChatMember: (chat_id: Integer | String, user_id: Integer, ?is_anonymous: bool, ?can_manage_chat: bool, ?can_delete_messages: bool, ?can_manage_video_chats: bool, ?can_restrict_members: bool, ?can_promote_members: bool, ?can_change_info: bool, ?can_invite_users: bool, ?can_post_stories: bool, ?can_edit_stories: bool, ?can_delete_stories: bool, ?can_post_messages: bool, ?can_edit_messages: bool, ?can_pin_messages: bool, ?can_manage_topics: bool, ?can_manage_direct_messages: bool, ?can_manage_tags: bool) -> bool
394
+ def promoteChatMember: (chat_id: Integer | String, user_id: Integer, ?is_anonymous: bool, ?can_manage_chat: bool, ?can_delete_messages: bool, ?can_manage_video_chats: bool, ?can_restrict_members: bool, ?can_promote_members: bool, ?can_change_info: bool, ?can_invite_users: bool, ?can_post_stories: bool, ?can_edit_stories: bool, ?can_delete_stories: bool, ?can_post_messages: bool, ?can_edit_messages: bool, ?can_pin_messages: bool, ?can_manage_topics: bool, ?can_manage_direct_messages: bool, ?can_manage_tags: bool, ?can_send_welcome_messages: bool) -> bool
355
395
  | (?Hash[Symbol | String, untyped] params) -> bool
356
396
  def read_business_message: (business_connection_id: String, chat_id: Integer, message_id: Integer) -> bool
357
397
  | (?Hash[Symbol | String, untyped] params) -> bool
@@ -413,33 +453,37 @@
413
453
  | (?Hash[Symbol | String, untyped] params) -> Types::PreparedKeyboardButton
414
454
  def savePreparedKeyboardButton: (user_id: Integer, button: Types::KeyboardButton) -> Types::PreparedKeyboardButton
415
455
  | (?Hash[Symbol | String, untyped] params) -> Types::PreparedKeyboardButton
416
- def send_animation: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, animation: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
456
+ def send_animation: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, animation: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
417
457
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
418
- def sendAnimation: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, animation: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
458
+ def sendAnimation: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, animation: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
419
459
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
420
- def send_audio: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, audio: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?performer: String, ?title: String, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
460
+ def send_audio: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, audio: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?performer: String, ?title: String, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
421
461
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
422
- def sendAudio: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, audio: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?performer: String, ?title: String, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
462
+ def sendAudio: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, audio: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?performer: String, ?title: String, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
423
463
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
424
464
  def send_chat_action: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, action: String) -> bool
425
465
  | (?Hash[Symbol | String, untyped] params) -> bool
426
466
  def sendChatAction: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, action: String) -> bool
427
467
  | (?Hash[Symbol | String, untyped] params) -> bool
468
+ def send_chat_join_request_web_app: (chat_join_request_query_id: String, web_app_url: String) -> bool
469
+ | (?Hash[Symbol | String, untyped] params) -> bool
470
+ def sendChatJoinRequestWebApp: (chat_join_request_query_id: String, web_app_url: String) -> bool
471
+ | (?Hash[Symbol | String, untyped] params) -> bool
428
472
  def send_checklist: (business_connection_id: String, chat_id: Integer | String, checklist: Types::InputChecklist, ?disable_notification: bool, ?protect_content: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Message
429
473
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
430
474
  def sendChecklist: (business_connection_id: String, chat_id: Integer | String, checklist: Types::InputChecklist, ?disable_notification: bool, ?protect_content: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Message
431
475
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
432
- def send_contact: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, phone_number: String, first_name: String, ?last_name: String, ?vcard: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
476
+ def send_contact: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, phone_number: String, first_name: String, ?last_name: String, ?vcard: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
433
477
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
434
- def sendContact: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, phone_number: String, first_name: String, ?last_name: String, ?vcard: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
478
+ def sendContact: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, phone_number: String, first_name: String, ?last_name: String, ?vcard: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
435
479
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
436
480
  def send_dice: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?emoji: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
437
481
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
438
482
  def sendDice: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?emoji: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
439
483
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
440
- def send_document: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, document: Types::InputFile | String, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?disable_content_type_detection: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
484
+ def send_document: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, document: Types::InputFile | String, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?disable_content_type_detection: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
441
485
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
442
- def sendDocument: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, document: Types::InputFile | String, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?disable_content_type_detection: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
486
+ def sendDocument: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, document: Types::InputFile | String, ?thumbnail: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?disable_content_type_detection: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
443
487
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
444
488
  def send_game: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, game_short_name: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Message
445
489
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
@@ -453,53 +497,65 @@
453
497
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
454
498
  def sendInvoice: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, title: String, description: String, payload: String, ?provider_token: String, currency: String, prices: Array[Types::LabeledPrice], ?max_tip_amount: Integer, ?suggested_tip_amounts: Array[Integer], ?start_parameter: String, ?provider_data: String, ?photo_url: String, ?photo_size: Integer, ?photo_width: Integer, ?photo_height: Integer, ?need_name: bool, ?need_phone_number: bool, ?need_email: bool, ?need_shipping_address: bool, ?send_phone_number_to_provider: bool, ?send_email_to_provider: bool, ?is_flexible: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Message
455
499
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
456
- def send_location: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, latitude: Float, longitude: Float, ?horizontal_accuracy: Float, ?live_period: Integer, ?heading: Integer, ?proximity_alert_radius: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
500
+ def send_live_photo: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, live_photo: Types::InputFile | String, photo: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
501
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
502
+ def sendLivePhoto: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, live_photo: Types::InputFile | String, photo: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
457
503
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
458
- def sendLocation: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, latitude: Float, longitude: Float, ?horizontal_accuracy: Float, ?live_period: Integer, ?heading: Integer, ?proximity_alert_radius: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
504
+ def send_location: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, latitude: Float, longitude: Float, ?horizontal_accuracy: Float, ?live_period: Integer, ?heading: Integer, ?proximity_alert_radius: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
459
505
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
460
- def send_media_group: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, media: Array[(Types::InputMediaAudio | Types::InputMediaDocument | untyped | Types::InputMediaPhoto | Types::InputMediaVideo)], ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters) -> Array[Types::Message]
506
+ def sendLocation: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, latitude: Float, longitude: Float, ?horizontal_accuracy: Float, ?live_period: Integer, ?heading: Integer, ?proximity_alert_radius: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
507
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
508
+ def send_media_group: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, media: Array[(Types::InputMediaAudio | Types::InputMediaDocument | Types::InputMediaLivePhoto | Types::InputMediaPhoto | Types::InputMediaVideo)], ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters) -> Array[Types::Message]
461
509
  | (?Hash[Symbol | String, untyped] params) -> Array[Types::Message]
462
- def sendMediaGroup: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, media: Array[(Types::InputMediaAudio | Types::InputMediaDocument | untyped | Types::InputMediaPhoto | Types::InputMediaVideo)], ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters) -> Array[Types::Message]
510
+ def sendMediaGroup: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, media: Array[(Types::InputMediaAudio | Types::InputMediaDocument | Types::InputMediaLivePhoto | Types::InputMediaPhoto | Types::InputMediaVideo)], ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters) -> Array[Types::Message]
463
511
  | (?Hash[Symbol | String, untyped] params) -> Array[Types::Message]
464
- def send_message: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
512
+ def send_message: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
465
513
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
466
- def sendMessage: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
514
+ def sendMessage: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?link_preview_options: Types::LinkPreviewOptions, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
467
515
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
468
- def send_message_draft: (chat_id: Integer, ?message_thread_id: Integer, draft_id: Integer, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity]) -> bool
516
+ def send_message_draft: (chat_id: Integer, ?message_thread_id: Integer, draft_id: Integer, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?can_stop: bool, ?keep_on_stop: bool) -> bool
469
517
  | (?Hash[Symbol | String, untyped] params) -> bool
470
- def sendMessageDraft: (chat_id: Integer, ?message_thread_id: Integer, draft_id: Integer, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity]) -> bool
518
+ def sendMessageDraft: (chat_id: Integer, ?message_thread_id: Integer, draft_id: Integer, ?text: String, ?parse_mode: String, ?entities: Array[Types::MessageEntity], ?can_stop: bool, ?keep_on_stop: bool) -> bool
471
519
  | (?Hash[Symbol | String, untyped] params) -> bool
472
520
  def send_paid_media: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, star_count: Integer, media: Array[Types::input_paid_media], ?payload: String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
473
521
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
474
522
  def sendPaidMedia: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, star_count: Integer, media: Array[Types::input_paid_media], ?payload: String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
475
523
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
476
- def send_photo: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, photo: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
524
+ def send_photo: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, photo: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
525
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
526
+ def sendPhoto: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, photo: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
477
527
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
478
- def sendPhoto: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, photo: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
528
+ def send_poll: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, question: String, ?question_parse_mode: String, ?question_entities: Array[Types::MessageEntity], options: Array[Types::InputPollOption], ?is_anonymous: bool, ?type: String, ?allows_multiple_answers: bool, ?allows_revoting: bool, ?shuffle_options: bool, ?allow_adding_options: bool, ?hide_results_until_closes: bool, ?members_only: bool, ?country_codes: Array[String], ?correct_option_ids: Array[Integer], ?explanation: String, ?explanation_parse_mode: String, ?explanation_entities: Array[Types::MessageEntity], ?explanation_media: Types::input_poll_media, ?open_period: Integer, ?close_date: Integer, ?is_closed: bool, ?description: String, ?description_parse_mode: String, ?description_entities: Array[Types::MessageEntity], ?media: Types::input_poll_media, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
479
529
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
480
- def send_poll: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, question: String, ?question_parse_mode: String, ?question_entities: Array[Types::MessageEntity], options: Array[Types::InputPollOption], ?is_anonymous: bool, ?type: String, ?allows_multiple_answers: bool, ?allows_revoting: bool, ?shuffle_options: bool, ?allow_adding_options: bool, ?hide_results_until_closes: bool, ?members_only: bool, ?country_codes: Array[String], ?correct_option_ids: Array[Integer], ?explanation: String, ?explanation_parse_mode: String, ?explanation_entities: Array[Types::MessageEntity], ?explanation_media: untyped, ?open_period: Integer, ?close_date: Integer, ?is_closed: bool, ?description: String, ?description_parse_mode: String, ?description_entities: Array[Types::MessageEntity], ?media: untyped, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
530
+ def sendPoll: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, question: String, ?question_parse_mode: String, ?question_entities: Array[Types::MessageEntity], options: Array[Types::InputPollOption], ?is_anonymous: bool, ?type: String, ?allows_multiple_answers: bool, ?allows_revoting: bool, ?shuffle_options: bool, ?allow_adding_options: bool, ?hide_results_until_closes: bool, ?members_only: bool, ?country_codes: Array[String], ?correct_option_ids: Array[Integer], ?explanation: String, ?explanation_parse_mode: String, ?explanation_entities: Array[Types::MessageEntity], ?explanation_media: Types::input_poll_media, ?open_period: Integer, ?close_date: Integer, ?is_closed: bool, ?description: String, ?description_parse_mode: String, ?description_entities: Array[Types::MessageEntity], ?media: Types::input_poll_media, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
481
531
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
482
- def sendPoll: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, question: String, ?question_parse_mode: String, ?question_entities: Array[Types::MessageEntity], options: Array[Types::InputPollOption], ?is_anonymous: bool, ?type: String, ?allows_multiple_answers: bool, ?allows_revoting: bool, ?shuffle_options: bool, ?allow_adding_options: bool, ?hide_results_until_closes: bool, ?members_only: bool, ?country_codes: Array[String], ?correct_option_ids: Array[Integer], ?explanation: String, ?explanation_parse_mode: String, ?explanation_entities: Array[Types::MessageEntity], ?explanation_media: untyped, ?open_period: Integer, ?close_date: Integer, ?is_closed: bool, ?description: String, ?description_parse_mode: String, ?description_entities: Array[Types::MessageEntity], ?media: untyped, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
532
+ def send_rich_message: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, rich_message: Types::InputRichMessage, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
483
533
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
484
- def send_sticker: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, sticker: Types::InputFile | String, ?emoji: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
534
+ def sendRichMessage: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, rich_message: Types::InputRichMessage, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
485
535
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
486
- def sendSticker: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, sticker: Types::InputFile | String, ?emoji: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
536
+ def send_rich_message_draft: (chat_id: Integer, ?message_thread_id: Integer, draft_id: Integer, rich_message: Types::InputRichMessage, ?can_stop: bool, ?keep_on_stop: bool) -> bool
537
+ | (?Hash[Symbol | String, untyped] params) -> bool
538
+ def sendRichMessageDraft: (chat_id: Integer, ?message_thread_id: Integer, draft_id: Integer, rich_message: Types::InputRichMessage, ?can_stop: bool, ?keep_on_stop: bool) -> bool
539
+ | (?Hash[Symbol | String, untyped] params) -> bool
540
+ def send_sticker: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, sticker: Types::InputFile | String, ?emoji: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
487
541
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
488
- def send_venue: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, latitude: Float, longitude: Float, title: String, address: String, ?foursquare_id: String, ?foursquare_type: String, ?google_place_id: String, ?google_place_type: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
542
+ def sendSticker: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, sticker: Types::InputFile | String, ?emoji: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
489
543
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
490
- def sendVenue: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, latitude: Float, longitude: Float, title: String, address: String, ?foursquare_id: String, ?foursquare_type: String, ?google_place_id: String, ?google_place_type: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
544
+ def send_venue: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, latitude: Float, longitude: Float, title: String, address: String, ?foursquare_id: String, ?foursquare_type: String, ?google_place_id: String, ?google_place_type: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
491
545
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
492
- def send_video: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, video: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?cover: Types::InputFile | String, ?start_timestamp: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?supports_streaming: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
546
+ def sendVenue: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, latitude: Float, longitude: Float, title: String, address: String, ?foursquare_id: String, ?foursquare_type: String, ?google_place_id: String, ?google_place_type: String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
493
547
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
494
- def sendVideo: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, video: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?cover: Types::InputFile | String, ?start_timestamp: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?supports_streaming: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
548
+ def send_video: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, video: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?cover: Types::InputFile | String, ?start_timestamp: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?supports_streaming: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
495
549
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
496
- def send_video_note: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, video_note: Types::InputFile | String, ?duration: Integer, ?length: Integer, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
550
+ def sendVideo: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, video: Types::InputFile | String, ?duration: Integer, ?width: Integer, ?height: Integer, ?thumbnail: Types::InputFile | String, ?cover: Types::InputFile | String, ?start_timestamp: Integer, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?has_spoiler: bool, ?supports_streaming: bool, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
497
551
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
498
- def sendVideoNote: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, video_note: Types::InputFile | String, ?duration: Integer, ?length: Integer, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
552
+ def send_video_note: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, video_note: Types::InputFile | String, ?duration: Integer, ?length: Integer, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
499
553
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
500
- def send_voice: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, voice: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
554
+ def sendVideoNote: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, video_note: Types::InputFile | String, ?duration: Integer, ?length: Integer, ?thumbnail: Types::InputFile | String, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
501
555
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
502
- def sendVoice: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?receiver_user_id: Integer, ?callback_query_id: String, voice: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
556
+ def send_voice: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, voice: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
557
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
558
+ def sendVoice: (?business_connection_id: String, ?chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, ?ephemeral_message_parameters: untyped, voice: Types::InputFile | String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?duration: Integer, ?disable_notification: bool, ?protect_content: bool, ?allow_paid_broadcast: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::Message
503
559
  | (?Hash[Symbol | String, untyped] params) -> Types::Message
504
560
  def set_business_account_bio: (business_connection_id: String, ?bio: String) -> bool
505
561
  | (?Hash[Symbol | String, untyped] params) -> bool
@@ -561,6 +617,10 @@
561
617
  | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
562
618
  def setGameScore: (user_id: Integer, score: Integer, ?force: bool, ?disable_edit_message: bool, ?chat_id: Integer, ?message_id: Integer, ?inline_message_id: String) -> (Types::Message | bool)
563
619
  | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
620
+ def set_managed_bot_access_settings: (user_id: Integer, is_access_restricted: bool, ?added_user_ids: Array[Integer]) -> bool
621
+ | (?Hash[Symbol | String, untyped] params) -> bool
622
+ def setManagedBotAccessSettings: (user_id: Integer, is_access_restricted: bool, ?added_user_ids: Array[Integer]) -> bool
623
+ | (?Hash[Symbol | String, untyped] params) -> bool
564
624
  def set_message_reaction: (chat_id: Integer | String, message_id: Integer, ?reaction: Array[Types::reaction_type], ?is_big: bool) -> bool
565
625
  | (?Hash[Symbol | String, untyped] params) -> bool
566
626
  def setMessageReaction: (chat_id: Integer | String, message_id: Integer, ?reaction: Array[Types::reaction_type], ?is_big: bool) -> bool
@@ -677,13 +737,13 @@
677
737
  | (?Hash[Symbol | String, untyped] params) -> Types::File
678
738
  def uploadStickerFile: (user_id: Integer, sticker: Types::InputFile, sticker_format: String) -> Types::File
679
739
  | (?Hash[Symbol | String, untyped] params) -> Types::File
680
- def verify_chat: (chat_id: Integer | String, ?custom_description: String) -> bool
740
+ def verify_chat: (chat_id: Integer | String, ?custom_description: String, ?custom_description_parse_mode: String, ?custom_description_entities: Array[Types::MessageEntity]) -> bool
681
741
  | (?Hash[Symbol | String, untyped] params) -> bool
682
- def verifyChat: (chat_id: Integer | String, ?custom_description: String) -> bool
742
+ def verifyChat: (chat_id: Integer | String, ?custom_description: String, ?custom_description_parse_mode: String, ?custom_description_entities: Array[Types::MessageEntity]) -> bool
683
743
  | (?Hash[Symbol | String, untyped] params) -> bool
684
- def verify_user: (user_id: Integer, ?custom_description: String) -> bool
744
+ def verify_user: (user_id: Integer, ?custom_description: String, ?custom_description_parse_mode: String, ?custom_description_entities: Array[Types::MessageEntity]) -> bool
685
745
  | (?Hash[Symbol | String, untyped] params) -> bool
686
- def verifyUser: (user_id: Integer, ?custom_description: String) -> bool
746
+ def verifyUser: (user_id: Integer, ?custom_description: String, ?custom_description_parse_mode: String, ?custom_description_entities: Array[Types::MessageEntity]) -> bool
687
747
  | (?Hash[Symbol | String, untyped] params) -> bool
688
748
  end
689
749
  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
  VERSION: String
@@ -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
@@ -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 BotAccessSettings < Base
6
+ def self.new: (is_access_restricted: bool, ?added_users: Array[User]) -> instance
7
+ | (?Hash[Symbol | String, untyped] attributes) -> instance
8
+ attr_reader is_access_restricted: bool
9
+ attr_reader added_users: Array[User]?
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,12 +1,13 @@
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 BotCommand < Base
6
- def self.new: (command: String, description: String) -> instance
6
+ def self.new: (command: String, description: String, ?is_ephemeral: bool) -> instance
7
7
  | (?Hash[Symbol | String, untyped] attributes) -> instance
8
8
  attr_reader command: String
9
9
  attr_reader description: String
10
+ attr_reader is_ephemeral: bool?
10
11
  end
11
12
  end
12
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