telegram-bot-ruby-rbs 0.1.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 (279) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +42 -0
  4. data/sig/telegram/bot/api.rbs +690 -0
  5. data/sig/telegram/bot/core.rbs +50 -0
  6. data/sig/telegram/bot/types/accepted_gift_types.rbs +16 -0
  7. data/sig/telegram/bot/types/affiliate_info.rbs +16 -0
  8. data/sig/telegram/bot/types/animation.rbs +20 -0
  9. data/sig/telegram/bot/types/audio.rbs +20 -0
  10. data/sig/telegram/bot/types/background_fill_freeform_gradient.rbs +13 -0
  11. data/sig/telegram/bot/types/background_fill_gradient.rbs +15 -0
  12. data/sig/telegram/bot/types/background_fill_solid.rbs +13 -0
  13. data/sig/telegram/bot/types/background_type_chat_theme.rbs +13 -0
  14. data/sig/telegram/bot/types/background_type_fill.rbs +14 -0
  15. data/sig/telegram/bot/types/background_type_pattern.rbs +17 -0
  16. data/sig/telegram/bot/types/background_type_wallpaper.rbs +16 -0
  17. data/sig/telegram/bot/types/base.rbs +22 -0
  18. data/sig/telegram/bot/types/birthdate.rbs +14 -0
  19. data/sig/telegram/bot/types/bot_command.rbs +13 -0
  20. data/sig/telegram/bot/types/bot_command_scope_all_chat_administrators.rbs +12 -0
  21. data/sig/telegram/bot/types/bot_command_scope_all_group_chats.rbs +12 -0
  22. data/sig/telegram/bot/types/bot_command_scope_all_private_chats.rbs +12 -0
  23. data/sig/telegram/bot/types/bot_command_scope_chat.rbs +13 -0
  24. data/sig/telegram/bot/types/bot_command_scope_chat_administrators.rbs +13 -0
  25. data/sig/telegram/bot/types/bot_command_scope_chat_member.rbs +14 -0
  26. data/sig/telegram/bot/types/bot_command_scope_default.rbs +12 -0
  27. data/sig/telegram/bot/types/bot_description.rbs +12 -0
  28. data/sig/telegram/bot/types/bot_name.rbs +12 -0
  29. data/sig/telegram/bot/types/bot_short_description.rbs +12 -0
  30. data/sig/telegram/bot/types/business_bot_rights.rbs +25 -0
  31. data/sig/telegram/bot/types/business_connection.rbs +17 -0
  32. data/sig/telegram/bot/types/business_intro.rbs +14 -0
  33. data/sig/telegram/bot/types/business_location.rbs +13 -0
  34. data/sig/telegram/bot/types/business_messages_deleted.rbs +14 -0
  35. data/sig/telegram/bot/types/business_opening_hours.rbs +13 -0
  36. data/sig/telegram/bot/types/business_opening_hours_interval.rbs +13 -0
  37. data/sig/telegram/bot/types/callback_game.rbs +11 -0
  38. data/sig/telegram/bot/types/callback_query.rbs +19 -0
  39. data/sig/telegram/bot/types/chat.rbs +19 -0
  40. data/sig/telegram/bot/types/chat_administrator_rights.rbs +28 -0
  41. data/sig/telegram/bot/types/chat_background.rbs +12 -0
  42. data/sig/telegram/bot/types/chat_boost.rbs +15 -0
  43. data/sig/telegram/bot/types/chat_boost_added.rbs +12 -0
  44. data/sig/telegram/bot/types/chat_boost_removed.rbs +15 -0
  45. data/sig/telegram/bot/types/chat_boost_source_gift_code.rbs +13 -0
  46. data/sig/telegram/bot/types/chat_boost_source_giveaway.rbs +16 -0
  47. data/sig/telegram/bot/types/chat_boost_source_premium.rbs +13 -0
  48. data/sig/telegram/bot/types/chat_boost_updated.rbs +13 -0
  49. data/sig/telegram/bot/types/chat_full_info.rbs +62 -0
  50. data/sig/telegram/bot/types/chat_invite_link.rbs +22 -0
  51. data/sig/telegram/bot/types/chat_join_request.rbs +17 -0
  52. data/sig/telegram/bot/types/chat_location.rbs +13 -0
  53. data/sig/telegram/bot/types/chat_member_administrator.rbs +32 -0
  54. data/sig/telegram/bot/types/chat_member_banned.rbs +14 -0
  55. data/sig/telegram/bot/types/chat_member_left.rbs +13 -0
  56. data/sig/telegram/bot/types/chat_member_member.rbs +15 -0
  57. data/sig/telegram/bot/types/chat_member_owner.rbs +15 -0
  58. data/sig/telegram/bot/types/chat_member_restricted.rbs +31 -0
  59. data/sig/telegram/bot/types/chat_member_updated.rbs +19 -0
  60. data/sig/telegram/bot/types/chat_owner_changed.rbs +12 -0
  61. data/sig/telegram/bot/types/chat_owner_left.rbs +12 -0
  62. data/sig/telegram/bot/types/chat_permissions.rbs +26 -0
  63. data/sig/telegram/bot/types/chat_photo.rbs +15 -0
  64. data/sig/telegram/bot/types/chat_shared.rbs +16 -0
  65. data/sig/telegram/bot/types/checklist.rbs +16 -0
  66. data/sig/telegram/bot/types/checklist_task.rbs +17 -0
  67. data/sig/telegram/bot/types/checklist_tasks_added.rbs +13 -0
  68. data/sig/telegram/bot/types/checklist_tasks_done.rbs +14 -0
  69. data/sig/telegram/bot/types/chosen_inline_result.rbs +16 -0
  70. data/sig/telegram/bot/types/contact.rbs +16 -0
  71. data/sig/telegram/bot/types/copy_text_button.rbs +12 -0
  72. data/sig/telegram/bot/types/dice.rbs +13 -0
  73. data/sig/telegram/bot/types/direct_message_price_changed.rbs +13 -0
  74. data/sig/telegram/bot/types/direct_messages_topic.rbs +13 -0
  75. data/sig/telegram/bot/types/document.rbs +17 -0
  76. data/sig/telegram/bot/types/encrypted_credentials.rbs +14 -0
  77. data/sig/telegram/bot/types/encrypted_passport_element.rbs +21 -0
  78. data/sig/telegram/bot/types/error.rbs +15 -0
  79. data/sig/telegram/bot/types/external_reply_info.rbs +36 -0
  80. data/sig/telegram/bot/types/file.rbs +15 -0
  81. data/sig/telegram/bot/types/force_reply.rbs +14 -0
  82. data/sig/telegram/bot/types/forum_topic.rbs +16 -0
  83. data/sig/telegram/bot/types/forum_topic_closed.rbs +11 -0
  84. data/sig/telegram/bot/types/forum_topic_created.rbs +15 -0
  85. data/sig/telegram/bot/types/forum_topic_edited.rbs +13 -0
  86. data/sig/telegram/bot/types/forum_topic_reopened.rbs +11 -0
  87. data/sig/telegram/bot/types/game.rbs +17 -0
  88. data/sig/telegram/bot/types/game_high_score.rbs +14 -0
  89. data/sig/telegram/bot/types/general_forum_topic_hidden.rbs +11 -0
  90. data/sig/telegram/bot/types/general_forum_topic_unhidden.rbs +11 -0
  91. data/sig/telegram/bot/types/gift.rbs +24 -0
  92. data/sig/telegram/bot/types/gift_background.rbs +14 -0
  93. data/sig/telegram/bot/types/gift_info.rbs +21 -0
  94. data/sig/telegram/bot/types/gifts.rbs +12 -0
  95. data/sig/telegram/bot/types/giveaway.rbs +20 -0
  96. data/sig/telegram/bot/types/giveaway_completed.rbs +15 -0
  97. data/sig/telegram/bot/types/giveaway_created.rbs +12 -0
  98. data/sig/telegram/bot/types/giveaway_winners.rbs +23 -0
  99. data/sig/telegram/bot/types/inaccessible_message.rbs +14 -0
  100. data/sig/telegram/bot/types/inline_keyboard_button.rbs +24 -0
  101. data/sig/telegram/bot/types/inline_keyboard_markup.rbs +12 -0
  102. data/sig/telegram/bot/types/inline_query.rbs +17 -0
  103. data/sig/telegram/bot/types/inline_query_result_article.rbs +21 -0
  104. data/sig/telegram/bot/types/inline_query_result_audio.rbs +22 -0
  105. data/sig/telegram/bot/types/inline_query_result_cached_audio.rbs +19 -0
  106. data/sig/telegram/bot/types/inline_query_result_cached_document.rbs +21 -0
  107. data/sig/telegram/bot/types/inline_query_result_cached_gif.rbs +21 -0
  108. data/sig/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rbs +21 -0
  109. data/sig/telegram/bot/types/inline_query_result_cached_photo.rbs +22 -0
  110. data/sig/telegram/bot/types/inline_query_result_cached_sticker.rbs +16 -0
  111. data/sig/telegram/bot/types/inline_query_result_cached_video.rbs +22 -0
  112. data/sig/telegram/bot/types/inline_query_result_cached_voice.rbs +20 -0
  113. data/sig/telegram/bot/types/inline_query_result_contact.rbs +22 -0
  114. data/sig/telegram/bot/types/inline_query_result_document.rbs +25 -0
  115. data/sig/telegram/bot/types/inline_query_result_game.rbs +15 -0
  116. data/sig/telegram/bot/types/inline_query_result_gif.rbs +26 -0
  117. data/sig/telegram/bot/types/inline_query_result_location.rbs +25 -0
  118. data/sig/telegram/bot/types/inline_query_result_mpeg4_gif.rbs +26 -0
  119. data/sig/telegram/bot/types/inline_query_result_photo.rbs +25 -0
  120. data/sig/telegram/bot/types/inline_query_result_venue.rbs +26 -0
  121. data/sig/telegram/bot/types/inline_query_result_video.rbs +27 -0
  122. data/sig/telegram/bot/types/inline_query_result_voice.rbs +21 -0
  123. data/sig/telegram/bot/types/inline_query_results_button.rbs +14 -0
  124. data/sig/telegram/bot/types/input_checklist.rbs +17 -0
  125. data/sig/telegram/bot/types/input_checklist_task.rbs +15 -0
  126. data/sig/telegram/bot/types/input_contact_message_content.rbs +15 -0
  127. data/sig/telegram/bot/types/input_file.rbs +11 -0
  128. data/sig/telegram/bot/types/input_invoice_message_content.rbs +31 -0
  129. data/sig/telegram/bot/types/input_location_message_content.rbs +17 -0
  130. data/sig/telegram/bot/types/input_media_animation.rbs +22 -0
  131. data/sig/telegram/bot/types/input_media_audio.rbs +20 -0
  132. data/sig/telegram/bot/types/input_media_document.rbs +18 -0
  133. data/sig/telegram/bot/types/input_media_photo.rbs +18 -0
  134. data/sig/telegram/bot/types/input_media_video.rbs +25 -0
  135. data/sig/telegram/bot/types/input_paid_media_photo.rbs +13 -0
  136. data/sig/telegram/bot/types/input_paid_media_video.rbs +20 -0
  137. data/sig/telegram/bot/types/input_poll_option.rbs +14 -0
  138. data/sig/telegram/bot/types/input_profile_photo_animated.rbs +14 -0
  139. data/sig/telegram/bot/types/input_profile_photo_static.rbs +13 -0
  140. data/sig/telegram/bot/types/input_sticker.rbs +16 -0
  141. data/sig/telegram/bot/types/input_story_content_photo.rbs +13 -0
  142. data/sig/telegram/bot/types/input_story_content_video.rbs +16 -0
  143. data/sig/telegram/bot/types/input_text_message_content.rbs +15 -0
  144. data/sig/telegram/bot/types/input_venue_message_content.rbs +19 -0
  145. data/sig/telegram/bot/types/invoice.rbs +16 -0
  146. data/sig/telegram/bot/types/keyboard_button.rbs +21 -0
  147. data/sig/telegram/bot/types/keyboard_button_poll_type.rbs +12 -0
  148. data/sig/telegram/bot/types/keyboard_button_request_chat.rbs +22 -0
  149. data/sig/telegram/bot/types/keyboard_button_request_managed_bot.rbs +14 -0
  150. data/sig/telegram/bot/types/keyboard_button_request_users.rbs +18 -0
  151. data/sig/telegram/bot/types/labeled_price.rbs +13 -0
  152. data/sig/telegram/bot/types/link_preview_options.rbs +16 -0
  153. data/sig/telegram/bot/types/location.rbs +17 -0
  154. data/sig/telegram/bot/types/location_address.rbs +15 -0
  155. data/sig/telegram/bot/types/login_url.rbs +15 -0
  156. data/sig/telegram/bot/types/managed_bot_created.rbs +12 -0
  157. data/sig/telegram/bot/types/managed_bot_updated.rbs +13 -0
  158. data/sig/telegram/bot/types/mask_position.rbs +15 -0
  159. data/sig/telegram/bot/types/menu_button_commands.rbs +12 -0
  160. data/sig/telegram/bot/types/menu_button_default.rbs +12 -0
  161. data/sig/telegram/bot/types/menu_button_web_app.rbs +14 -0
  162. data/sig/telegram/bot/types/message.rbs +122 -0
  163. data/sig/telegram/bot/types/message_auto_delete_timer_changed.rbs +12 -0
  164. data/sig/telegram/bot/types/message_entity.rbs +20 -0
  165. data/sig/telegram/bot/types/message_id.rbs +12 -0
  166. data/sig/telegram/bot/types/message_origin_channel.rbs +16 -0
  167. data/sig/telegram/bot/types/message_origin_chat.rbs +15 -0
  168. data/sig/telegram/bot/types/message_origin_hidden_user.rbs +14 -0
  169. data/sig/telegram/bot/types/message_origin_user.rbs +14 -0
  170. data/sig/telegram/bot/types/message_reaction_count_updated.rbs +15 -0
  171. data/sig/telegram/bot/types/message_reaction_updated.rbs +18 -0
  172. data/sig/telegram/bot/types/order_info.rbs +15 -0
  173. data/sig/telegram/bot/types/owned_gift_regular.rbs +26 -0
  174. data/sig/telegram/bot/types/owned_gift_unique.rbs +20 -0
  175. data/sig/telegram/bot/types/owned_gifts.rbs +14 -0
  176. data/sig/telegram/bot/types/paid_media_info.rbs +13 -0
  177. data/sig/telegram/bot/types/paid_media_photo.rbs +13 -0
  178. data/sig/telegram/bot/types/paid_media_preview.rbs +15 -0
  179. data/sig/telegram/bot/types/paid_media_purchased.rbs +13 -0
  180. data/sig/telegram/bot/types/paid_media_video.rbs +13 -0
  181. data/sig/telegram/bot/types/paid_message_price_changed.rbs +12 -0
  182. data/sig/telegram/bot/types/passport_data.rbs +13 -0
  183. data/sig/telegram/bot/types/passport_element_error_data_field.rbs +16 -0
  184. data/sig/telegram/bot/types/passport_element_error_file.rbs +15 -0
  185. data/sig/telegram/bot/types/passport_element_error_files.rbs +15 -0
  186. data/sig/telegram/bot/types/passport_element_error_front_side.rbs +15 -0
  187. data/sig/telegram/bot/types/passport_element_error_reverse_side.rbs +15 -0
  188. data/sig/telegram/bot/types/passport_element_error_selfie.rbs +15 -0
  189. data/sig/telegram/bot/types/passport_element_error_translation_file.rbs +15 -0
  190. data/sig/telegram/bot/types/passport_element_error_translation_files.rbs +15 -0
  191. data/sig/telegram/bot/types/passport_element_error_unspecified.rbs +15 -0
  192. data/sig/telegram/bot/types/passport_file.rbs +15 -0
  193. data/sig/telegram/bot/types/photo_size.rbs +16 -0
  194. data/sig/telegram/bot/types/poll.rbs +28 -0
  195. data/sig/telegram/bot/types/poll_answer.rbs +16 -0
  196. data/sig/telegram/bot/types/poll_option.rbs +18 -0
  197. data/sig/telegram/bot/types/poll_option_added.rbs +15 -0
  198. data/sig/telegram/bot/types/poll_option_deleted.rbs +15 -0
  199. data/sig/telegram/bot/types/pre_checkout_query.rbs +18 -0
  200. data/sig/telegram/bot/types/prepared_inline_message.rbs +13 -0
  201. data/sig/telegram/bot/types/prepared_keyboard_button.rbs +12 -0
  202. data/sig/telegram/bot/types/proximity_alert_triggered.rbs +14 -0
  203. data/sig/telegram/bot/types/reaction_count.rbs +13 -0
  204. data/sig/telegram/bot/types/reaction_type_custom_emoji.rbs +13 -0
  205. data/sig/telegram/bot/types/reaction_type_emoji.rbs +13 -0
  206. data/sig/telegram/bot/types/reaction_type_paid.rbs +12 -0
  207. data/sig/telegram/bot/types/refunded_payment.rbs +16 -0
  208. data/sig/telegram/bot/types/reply_keyboard_markup.rbs +17 -0
  209. data/sig/telegram/bot/types/reply_keyboard_remove.rbs +13 -0
  210. data/sig/telegram/bot/types/reply_parameters.rbs +20 -0
  211. data/sig/telegram/bot/types/response_parameters.rbs +13 -0
  212. data/sig/telegram/bot/types/revenue_withdrawal_state_failed.rbs +12 -0
  213. data/sig/telegram/bot/types/revenue_withdrawal_state_pending.rbs +12 -0
  214. data/sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs +14 -0
  215. data/sig/telegram/bot/types/sent_web_app_message.rbs +12 -0
  216. data/sig/telegram/bot/types/shared_user.rbs +16 -0
  217. data/sig/telegram/bot/types/shipping_address.rbs +17 -0
  218. data/sig/telegram/bot/types/shipping_option.rbs +14 -0
  219. data/sig/telegram/bot/types/shipping_query.rbs +15 -0
  220. data/sig/telegram/bot/types/star_amount.rbs +13 -0
  221. data/sig/telegram/bot/types/star_transaction.rbs +17 -0
  222. data/sig/telegram/bot/types/star_transactions.rbs +12 -0
  223. data/sig/telegram/bot/types/sticker.rbs +26 -0
  224. data/sig/telegram/bot/types/sticker_set.rbs +16 -0
  225. data/sig/telegram/bot/types/story.rbs +13 -0
  226. data/sig/telegram/bot/types/story_area.rbs +13 -0
  227. data/sig/telegram/bot/types/story_area_position.rbs +17 -0
  228. data/sig/telegram/bot/types/story_area_type_link.rbs +13 -0
  229. data/sig/telegram/bot/types/story_area_type_location.rbs +15 -0
  230. data/sig/telegram/bot/types/story_area_type_suggested_reaction.rbs +15 -0
  231. data/sig/telegram/bot/types/story_area_type_unique_gift.rbs +13 -0
  232. data/sig/telegram/bot/types/story_area_type_weather.rbs +15 -0
  233. data/sig/telegram/bot/types/successful_payment.rbs +21 -0
  234. data/sig/telegram/bot/types/suggested_post_approval_failed.rbs +13 -0
  235. data/sig/telegram/bot/types/suggested_post_approved.rbs +14 -0
  236. data/sig/telegram/bot/types/suggested_post_declined.rbs +13 -0
  237. data/sig/telegram/bot/types/suggested_post_info.rbs +14 -0
  238. data/sig/telegram/bot/types/suggested_post_paid.rbs +15 -0
  239. data/sig/telegram/bot/types/suggested_post_parameters.rbs +13 -0
  240. data/sig/telegram/bot/types/suggested_post_price.rbs +13 -0
  241. data/sig/telegram/bot/types/suggested_post_refunded.rbs +13 -0
  242. data/sig/telegram/bot/types/switch_inline_query_chosen_chat.rbs +16 -0
  243. data/sig/telegram/bot/types/text_quote.rbs +15 -0
  244. data/sig/telegram/bot/types/transaction_partner_affiliate_program.rbs +14 -0
  245. data/sig/telegram/bot/types/transaction_partner_chat.rbs +14 -0
  246. data/sig/telegram/bot/types/transaction_partner_fragment.rbs +13 -0
  247. data/sig/telegram/bot/types/transaction_partner_other.rbs +12 -0
  248. data/sig/telegram/bot/types/transaction_partner_telegram_ads.rbs +12 -0
  249. data/sig/telegram/bot/types/transaction_partner_telegram_api.rbs +13 -0
  250. data/sig/telegram/bot/types/transaction_partner_user.rbs +21 -0
  251. data/sig/telegram/bot/types/unions.rbs +69 -0
  252. data/sig/telegram/bot/types/unique_gift.rbs +23 -0
  253. data/sig/telegram/bot/types/unique_gift_backdrop.rbs +14 -0
  254. data/sig/telegram/bot/types/unique_gift_backdrop_colors.rbs +15 -0
  255. data/sig/telegram/bot/types/unique_gift_colors.rbs +17 -0
  256. data/sig/telegram/bot/types/unique_gift_info.rbs +18 -0
  257. data/sig/telegram/bot/types/unique_gift_model.rbs +15 -0
  258. data/sig/telegram/bot/types/unique_gift_symbol.rbs +14 -0
  259. data/sig/telegram/bot/types/update.rbs +37 -0
  260. data/sig/telegram/bot/types/user.rbs +27 -0
  261. data/sig/telegram/bot/types/user_chat_boosts.rbs +12 -0
  262. data/sig/telegram/bot/types/user_profile_audios.rbs +13 -0
  263. data/sig/telegram/bot/types/user_profile_photos.rbs +13 -0
  264. data/sig/telegram/bot/types/user_rating.rbs +15 -0
  265. data/sig/telegram/bot/types/users_shared.rbs +13 -0
  266. data/sig/telegram/bot/types/venue.rbs +18 -0
  267. data/sig/telegram/bot/types/video.rbs +23 -0
  268. data/sig/telegram/bot/types/video_chat_ended.rbs +12 -0
  269. data/sig/telegram/bot/types/video_chat_participants_invited.rbs +12 -0
  270. data/sig/telegram/bot/types/video_chat_scheduled.rbs +12 -0
  271. data/sig/telegram/bot/types/video_chat_started.rbs +11 -0
  272. data/sig/telegram/bot/types/video_note.rbs +17 -0
  273. data/sig/telegram/bot/types/video_quality.rbs +17 -0
  274. data/sig/telegram/bot/types/voice.rbs +16 -0
  275. data/sig/telegram/bot/types/web_app_data.rbs +13 -0
  276. data/sig/telegram/bot/types/web_app_info.rbs +12 -0
  277. data/sig/telegram/bot/types/webhook_info.rbs +20 -0
  278. data/sig/telegram/bot/types/write_access_allowed.rbs +14 -0
  279. metadata +340 -0
@@ -0,0 +1,690 @@
1
+ # Generated for telegram-bot-ruby 2.7.0. Do not edit by hand.
2
+ module Telegram
3
+ module Bot
4
+ class Api
5
+ ENDPOINTS: Hash[String, untyped]
6
+
7
+ attr_reader token: String
8
+ attr_reader url: String
9
+ attr_reader environment: Symbol
10
+
11
+ def initialize: (String token, ?url: String, ?environment: Symbol | String) -> void
12
+ def connection: () -> untyped
13
+ def call: (String endpoint, ?Hash[Symbol | String, untyped] raw_params) -> Hash[String, untyped]
14
+ def add_sticker_to_set: (user_id: Integer, name: String, sticker: Types::InputSticker) -> bool
15
+ | (?Hash[Symbol | String, untyped] params) -> bool
16
+ def addStickerToSet: (user_id: Integer, name: String, sticker: Types::InputSticker) -> bool
17
+ | (?Hash[Symbol | String, untyped] params) -> bool
18
+ def answer_callback_query: (callback_query_id: String, ?text: String, ?show_alert: bool, ?url: String, ?cache_time: Integer) -> bool
19
+ | (?Hash[Symbol | String, untyped] params) -> bool
20
+ def answerCallbackQuery: (callback_query_id: String, ?text: String, ?show_alert: bool, ?url: String, ?cache_time: Integer) -> bool
21
+ | (?Hash[Symbol | String, untyped] params) -> bool
22
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> bool
24
+ 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
25
+ | (?Hash[Symbol | String, untyped] params) -> bool
26
+ def answer_pre_checkout_query: (pre_checkout_query_id: String, ok: bool, ?error_message: String) -> bool
27
+ | (?Hash[Symbol | String, untyped] params) -> bool
28
+ def answerPreCheckoutQuery: (pre_checkout_query_id: String, ok: bool, ?error_message: String) -> bool
29
+ | (?Hash[Symbol | String, untyped] params) -> bool
30
+ def answer_shipping_query: (shipping_query_id: String, ok: bool, ?shipping_options: Array[Types::ShippingOption], ?error_message: String) -> bool
31
+ | (?Hash[Symbol | String, untyped] params) -> bool
32
+ def answerShippingQuery: (shipping_query_id: String, ok: bool, ?shipping_options: Array[Types::ShippingOption], ?error_message: String) -> bool
33
+ | (?Hash[Symbol | String, untyped] params) -> bool
34
+ def answer_web_app_query: (web_app_query_id: String, result: Types::inline_query_result) -> Types::SentWebAppMessage
35
+ | (?Hash[Symbol | String, untyped] params) -> Types::SentWebAppMessage
36
+ def answerWebAppQuery: (web_app_query_id: String, result: Types::inline_query_result) -> Types::SentWebAppMessage
37
+ | (?Hash[Symbol | String, untyped] params) -> Types::SentWebAppMessage
38
+ def approve_chat_join_request: (chat_id: Integer | String, user_id: Integer) -> bool
39
+ | (?Hash[Symbol | String, untyped] params) -> bool
40
+ def approveChatJoinRequest: (chat_id: Integer | String, user_id: Integer) -> bool
41
+ | (?Hash[Symbol | String, untyped] params) -> bool
42
+ def approve_suggested_post: (chat_id: Integer, message_id: Integer, ?send_date: Integer) -> bool
43
+ | (?Hash[Symbol | String, untyped] params) -> bool
44
+ def approveSuggestedPost: (chat_id: Integer, message_id: Integer, ?send_date: Integer) -> bool
45
+ | (?Hash[Symbol | String, untyped] params) -> bool
46
+ def ban_chat_member: (chat_id: Integer | String, user_id: Integer, ?until_date: Integer, ?revoke_messages: bool) -> bool
47
+ | (?Hash[Symbol | String, untyped] params) -> bool
48
+ def banChatMember: (chat_id: Integer | String, user_id: Integer, ?until_date: Integer, ?revoke_messages: bool) -> bool
49
+ | (?Hash[Symbol | String, untyped] params) -> bool
50
+ def ban_chat_sender_chat: (chat_id: Integer | String, sender_chat_id: Integer) -> bool
51
+ | (?Hash[Symbol | String, untyped] params) -> bool
52
+ def banChatSenderChat: (chat_id: Integer | String, sender_chat_id: Integer) -> bool
53
+ | (?Hash[Symbol | String, untyped] params) -> bool
54
+ def close: () -> bool
55
+ | (?Hash[Symbol | String, untyped] params) -> bool
56
+ def close_forum_topic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
57
+ | (?Hash[Symbol | String, untyped] params) -> bool
58
+ def closeForumTopic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
59
+ | (?Hash[Symbol | String, untyped] params) -> bool
60
+ def close_general_forum_topic: (chat_id: Integer | String) -> bool
61
+ | (?Hash[Symbol | String, untyped] params) -> bool
62
+ def closeGeneralForumTopic: (chat_id: Integer | String) -> bool
63
+ | (?Hash[Symbol | String, untyped] params) -> bool
64
+ def convert_gift_to_stars: (business_connection_id: String, owned_gift_id: String) -> bool
65
+ | (?Hash[Symbol | String, untyped] params) -> bool
66
+ def convertGiftToStars: (business_connection_id: String, owned_gift_id: String) -> bool
67
+ | (?Hash[Symbol | String, untyped] params) -> bool
68
+ def copy_message: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, message_id: Integer, ?video_start_timestamp: Integer, ?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, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::MessageId
69
+ | (?Hash[Symbol | String, untyped] params) -> Types::MessageId
70
+ def copyMessage: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, message_id: Integer, ?video_start_timestamp: Integer, ?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, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, ?reply_parameters: Types::ReplyParameters, ?reply_markup: Types::InlineKeyboardMarkup | Types::ReplyKeyboardMarkup | Types::ReplyKeyboardRemove | Types::ForceReply) -> Types::MessageId
71
+ | (?Hash[Symbol | String, untyped] params) -> Types::MessageId
72
+ def copy_messages: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, message_ids: Array[Integer], ?disable_notification: bool, ?protect_content: bool, ?remove_caption: bool) -> Array[Types::MessageId]
73
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::MessageId]
74
+ def copyMessages: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, message_ids: Array[Integer], ?disable_notification: bool, ?protect_content: bool, ?remove_caption: bool) -> Array[Types::MessageId]
75
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::MessageId]
76
+ def create_chat_invite_link: (chat_id: Integer | String, ?name: String, ?expire_date: Integer, ?member_limit: Integer, ?creates_join_request: bool) -> Types::ChatInviteLink
77
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
78
+ def createChatInviteLink: (chat_id: Integer | String, ?name: String, ?expire_date: Integer, ?member_limit: Integer, ?creates_join_request: bool) -> Types::ChatInviteLink
79
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
80
+ def create_chat_subscription_invite_link: (chat_id: Integer | String, ?name: String, subscription_period: Integer, subscription_price: Integer) -> Types::ChatInviteLink
81
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
82
+ def createChatSubscriptionInviteLink: (chat_id: Integer | String, ?name: String, subscription_period: Integer, subscription_price: Integer) -> Types::ChatInviteLink
83
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
84
+ def create_forum_topic: (chat_id: Integer | String, name: String, ?icon_color: Integer, ?icon_custom_emoji_id: String) -> Types::ForumTopic
85
+ | (?Hash[Symbol | String, untyped] params) -> Types::ForumTopic
86
+ def createForumTopic: (chat_id: Integer | String, name: String, ?icon_color: Integer, ?icon_custom_emoji_id: String) -> Types::ForumTopic
87
+ | (?Hash[Symbol | String, untyped] params) -> Types::ForumTopic
88
+ def create_invoice_link: (?business_connection_id: String, title: String, description: String, payload: String, ?provider_token: String, currency: String, prices: Array[Types::LabeledPrice], ?subscription_period: Integer, ?max_tip_amount: Integer, ?suggested_tip_amounts: Array[Integer], ?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) -> String
89
+ | (?Hash[Symbol | String, untyped] params) -> String
90
+ def createInvoiceLink: (?business_connection_id: String, title: String, description: String, payload: String, ?provider_token: String, currency: String, prices: Array[Types::LabeledPrice], ?subscription_period: Integer, ?max_tip_amount: Integer, ?suggested_tip_amounts: Array[Integer], ?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) -> String
91
+ | (?Hash[Symbol | String, untyped] params) -> String
92
+ def create_new_sticker_set: (user_id: Integer, name: String, title: String, stickers: Array[Types::InputSticker], ?sticker_type: String, ?needs_repainting: bool) -> bool
93
+ | (?Hash[Symbol | String, untyped] params) -> bool
94
+ def createNewStickerSet: (user_id: Integer, name: String, title: String, stickers: Array[Types::InputSticker], ?sticker_type: String, ?needs_repainting: bool) -> bool
95
+ | (?Hash[Symbol | String, untyped] params) -> bool
96
+ def decline_chat_join_request: (chat_id: Integer | String, user_id: Integer) -> bool
97
+ | (?Hash[Symbol | String, untyped] params) -> bool
98
+ def declineChatJoinRequest: (chat_id: Integer | String, user_id: Integer) -> bool
99
+ | (?Hash[Symbol | String, untyped] params) -> bool
100
+ def decline_suggested_post: (chat_id: Integer, message_id: Integer, ?comment: String) -> bool
101
+ | (?Hash[Symbol | String, untyped] params) -> bool
102
+ def declineSuggestedPost: (chat_id: Integer, message_id: Integer, ?comment: String) -> bool
103
+ | (?Hash[Symbol | String, untyped] params) -> bool
104
+ def delete_business_messages: (business_connection_id: String, message_ids: Array[Integer]) -> bool
105
+ | (?Hash[Symbol | String, untyped] params) -> bool
106
+ def deleteBusinessMessages: (business_connection_id: String, message_ids: Array[Integer]) -> bool
107
+ | (?Hash[Symbol | String, untyped] params) -> bool
108
+ def delete_chat_photo: (chat_id: Integer | String) -> bool
109
+ | (?Hash[Symbol | String, untyped] params) -> bool
110
+ def deleteChatPhoto: (chat_id: Integer | String) -> bool
111
+ | (?Hash[Symbol | String, untyped] params) -> bool
112
+ def delete_chat_sticker_set: (chat_id: Integer | String) -> bool
113
+ | (?Hash[Symbol | String, untyped] params) -> bool
114
+ def deleteChatStickerSet: (chat_id: Integer | String) -> bool
115
+ | (?Hash[Symbol | String, untyped] params) -> bool
116
+ def delete_forum_topic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
117
+ | (?Hash[Symbol | String, untyped] params) -> bool
118
+ def deleteForumTopic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
119
+ | (?Hash[Symbol | String, untyped] params) -> bool
120
+ def delete_message: (chat_id: Integer | String, message_id: Integer) -> bool
121
+ | (?Hash[Symbol | String, untyped] params) -> bool
122
+ def deleteMessage: (chat_id: Integer | String, message_id: Integer) -> bool
123
+ | (?Hash[Symbol | String, untyped] params) -> bool
124
+ def delete_messages: (chat_id: Integer | String, message_ids: Array[Integer]) -> bool
125
+ | (?Hash[Symbol | String, untyped] params) -> bool
126
+ def deleteMessages: (chat_id: Integer | String, message_ids: Array[Integer]) -> bool
127
+ | (?Hash[Symbol | String, untyped] params) -> bool
128
+ def delete_my_commands: (?scope: Types::bot_command_scope, ?language_code: String) -> bool
129
+ | (?Hash[Symbol | String, untyped] params) -> bool
130
+ def deleteMyCommands: (?scope: Types::bot_command_scope, ?language_code: String) -> bool
131
+ | (?Hash[Symbol | String, untyped] params) -> bool
132
+ def delete_sticker_from_set: (sticker: String) -> bool
133
+ | (?Hash[Symbol | String, untyped] params) -> bool
134
+ def deleteStickerFromSet: (sticker: String) -> bool
135
+ | (?Hash[Symbol | String, untyped] params) -> bool
136
+ def delete_sticker_set: (name: String) -> bool
137
+ | (?Hash[Symbol | String, untyped] params) -> bool
138
+ def deleteStickerSet: (name: String) -> bool
139
+ | (?Hash[Symbol | String, untyped] params) -> bool
140
+ def delete_story: (business_connection_id: String, story_id: Integer) -> bool
141
+ | (?Hash[Symbol | String, untyped] params) -> bool
142
+ def deleteStory: (business_connection_id: String, story_id: Integer) -> bool
143
+ | (?Hash[Symbol | String, untyped] params) -> bool
144
+ def delete_webhook: (?drop_pending_updates: bool) -> bool
145
+ | (?Hash[Symbol | String, untyped] params) -> bool
146
+ def deleteWebhook: (?drop_pending_updates: bool) -> bool
147
+ | (?Hash[Symbol | String, untyped] params) -> bool
148
+ def edit_chat_invite_link: (chat_id: Integer | String, invite_link: String, ?name: String, ?expire_date: Integer, ?member_limit: Integer, ?creates_join_request: bool) -> Types::ChatInviteLink
149
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
150
+ def editChatInviteLink: (chat_id: Integer | String, invite_link: String, ?name: String, ?expire_date: Integer, ?member_limit: Integer, ?creates_join_request: bool) -> Types::ChatInviteLink
151
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
152
+ def edit_chat_subscription_invite_link: (chat_id: Integer | String, invite_link: String, ?name: String) -> Types::ChatInviteLink
153
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
154
+ def editChatSubscriptionInviteLink: (chat_id: Integer | String, invite_link: String, ?name: String) -> Types::ChatInviteLink
155
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
156
+ def edit_forum_topic: (chat_id: Integer | String, message_thread_id: Integer, ?name: String, ?icon_custom_emoji_id: String) -> bool
157
+ | (?Hash[Symbol | String, untyped] params) -> bool
158
+ def editForumTopic: (chat_id: Integer | String, message_thread_id: Integer, ?name: String, ?icon_custom_emoji_id: String) -> bool
159
+ | (?Hash[Symbol | String, untyped] params) -> bool
160
+ def edit_general_forum_topic: (chat_id: Integer | String, name: String) -> bool
161
+ | (?Hash[Symbol | String, untyped] params) -> bool
162
+ def editGeneralForumTopic: (chat_id: Integer | String, name: String) -> bool
163
+ | (?Hash[Symbol | String, untyped] params) -> bool
164
+ def edit_message_caption: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
165
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
166
+ def editMessageCaption: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[Types::MessageEntity], ?show_caption_above_media: bool, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
167
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
168
+ def edit_message_checklist: (business_connection_id: String, chat_id: Integer | String, message_id: Integer, checklist: Types::InputChecklist, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Message
169
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
170
+ def editMessageChecklist: (business_connection_id: String, chat_id: Integer | String, message_id: Integer, checklist: Types::InputChecklist, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Message
171
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
172
+ def edit_message_live_location: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, latitude: Float, longitude: Float, ?live_period: Integer, ?horizontal_accuracy: Float, ?heading: Integer, ?proximity_alert_radius: Integer, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
173
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
174
+ def editMessageLiveLocation: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, latitude: Float, longitude: Float, ?live_period: Integer, ?horizontal_accuracy: Float, ?heading: Integer, ?proximity_alert_radius: Integer, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
175
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
176
+ def edit_message_media: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, media: Types::input_media, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
177
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
178
+ def editMessageMedia: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, media: Types::input_media, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
179
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
180
+ def edit_message_reply_markup: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
181
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
182
+ 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
+ | (?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)
185
+ | (?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)
187
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
188
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> Types::Story
190
+ def editStory: (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
191
+ | (?Hash[Symbol | String, untyped] params) -> Types::Story
192
+ def edit_user_star_subscription: (user_id: Integer, telegram_payment_charge_id: String, is_canceled: bool) -> bool
193
+ | (?Hash[Symbol | String, untyped] params) -> bool
194
+ def editUserStarSubscription: (user_id: Integer, telegram_payment_charge_id: String, is_canceled: bool) -> bool
195
+ | (?Hash[Symbol | String, untyped] params) -> bool
196
+ def export_chat_invite_link: (chat_id: Integer | String) -> String
197
+ | (?Hash[Symbol | String, untyped] params) -> String
198
+ def exportChatInviteLink: (chat_id: Integer | String) -> String
199
+ | (?Hash[Symbol | String, untyped] params) -> String
200
+ def forward_message: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, ?video_start_timestamp: Integer, ?disable_notification: bool, ?protect_content: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, message_id: Integer) -> Types::Message
201
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
202
+ def forwardMessage: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, ?video_start_timestamp: Integer, ?disable_notification: bool, ?protect_content: bool, ?message_effect_id: String, ?suggested_post_parameters: Types::SuggestedPostParameters, message_id: Integer) -> Types::Message
203
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
204
+ def forward_messages: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, message_ids: Array[Integer], ?disable_notification: bool, ?protect_content: bool) -> Array[Types::MessageId]
205
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::MessageId]
206
+ def forwardMessages: (chat_id: Integer | String, ?message_thread_id: Integer, ?direct_messages_topic_id: Integer, from_chat_id: Integer | String, message_ids: Array[Integer], ?disable_notification: bool, ?protect_content: bool) -> Array[Types::MessageId]
207
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::MessageId]
208
+ def get_available_gifts: () -> Types::Gifts
209
+ | (?Hash[Symbol | String, untyped] params) -> Types::Gifts
210
+ def getAvailableGifts: () -> Types::Gifts
211
+ | (?Hash[Symbol | String, untyped] params) -> Types::Gifts
212
+ def get_business_account_gifts: (business_connection_id: String, ?exclude_unsaved: bool, ?exclude_saved: bool, ?exclude_unlimited: bool, ?exclude_limited_upgradable: bool, ?exclude_limited_non_upgradable: bool, ?exclude_unique: bool, ?exclude_from_blockchain: bool, ?sort_by_price: bool, ?offset: String, ?limit: Integer) -> Types::OwnedGifts
213
+ | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
214
+ def getBusinessAccountGifts: (business_connection_id: String, ?exclude_unsaved: bool, ?exclude_saved: bool, ?exclude_unlimited: bool, ?exclude_limited_upgradable: bool, ?exclude_limited_non_upgradable: bool, ?exclude_unique: bool, ?exclude_from_blockchain: bool, ?sort_by_price: bool, ?offset: String, ?limit: Integer) -> Types::OwnedGifts
215
+ | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
216
+ def get_business_account_star_balance: (business_connection_id: String) -> Types::StarAmount
217
+ | (?Hash[Symbol | String, untyped] params) -> Types::StarAmount
218
+ def getBusinessAccountStarBalance: (business_connection_id: String) -> Types::StarAmount
219
+ | (?Hash[Symbol | String, untyped] params) -> Types::StarAmount
220
+ def get_business_connection: (business_connection_id: String) -> Types::BusinessConnection
221
+ | (?Hash[Symbol | String, untyped] params) -> Types::BusinessConnection
222
+ def getBusinessConnection: (business_connection_id: String) -> Types::BusinessConnection
223
+ | (?Hash[Symbol | String, untyped] params) -> Types::BusinessConnection
224
+ def get_chat: (chat_id: Integer | String) -> Types::ChatFullInfo
225
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatFullInfo
226
+ def getChat: (chat_id: Integer | String) -> Types::ChatFullInfo
227
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatFullInfo
228
+ def get_chat_administrators: (chat_id: Integer | String, ?return_bots: bool) -> Array[Types::chat_member]
229
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::chat_member]
230
+ def getChatAdministrators: (chat_id: Integer | String, ?return_bots: bool) -> Array[Types::chat_member]
231
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::chat_member]
232
+ def get_chat_gifts: (chat_id: Integer | String, ?exclude_unsaved: bool, ?exclude_saved: bool, ?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
233
+ | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
234
+ def getChatGifts: (chat_id: Integer | String, ?exclude_unsaved: bool, ?exclude_saved: bool, ?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
235
+ | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
236
+ def get_chat_member: (chat_id: Integer | String, user_id: Integer) -> Types::chat_member
237
+ | (?Hash[Symbol | String, untyped] params) -> Types::chat_member
238
+ def getChatMember: (chat_id: Integer | String, user_id: Integer) -> Types::chat_member
239
+ | (?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
+ def get_chat_menu_button: (?chat_id: Integer) -> Types::menu_button
245
+ | (?Hash[Symbol | String, untyped] params) -> Types::menu_button
246
+ def getChatMenuButton: (?chat_id: Integer) -> Types::menu_button
247
+ | (?Hash[Symbol | String, untyped] params) -> Types::menu_button
248
+ def get_custom_emoji_stickers: (custom_emoji_ids: Array[String]) -> Array[Types::Sticker]
249
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Sticker]
250
+ def getCustomEmojiStickers: (custom_emoji_ids: Array[String]) -> Array[Types::Sticker]
251
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Sticker]
252
+ def get_file: (file_id: String) -> Types::File
253
+ | (?Hash[Symbol | String, untyped] params) -> Types::File
254
+ def getFile: (file_id: String) -> Types::File
255
+ | (?Hash[Symbol | String, untyped] params) -> Types::File
256
+ def get_forum_topic_icon_stickers: () -> Array[Types::Sticker]
257
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Sticker]
258
+ def getForumTopicIconStickers: () -> Array[Types::Sticker]
259
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Sticker]
260
+ def get_game_high_scores: (user_id: Integer, ?chat_id: Integer, ?message_id: Integer, ?inline_message_id: String) -> Array[Types::GameHighScore]
261
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::GameHighScore]
262
+ def getGameHighScores: (user_id: Integer, ?chat_id: Integer, ?message_id: Integer, ?inline_message_id: String) -> Array[Types::GameHighScore]
263
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::GameHighScore]
264
+ def get_managed_bot_token: (user_id: Integer) -> String
265
+ | (?Hash[Symbol | String, untyped] params) -> String
266
+ def getManagedBotToken: (user_id: Integer) -> String
267
+ | (?Hash[Symbol | String, untyped] params) -> String
268
+ def get_me: () -> Types::User
269
+ | (?Hash[Symbol | String, untyped] params) -> Types::User
270
+ def getMe: () -> Types::User
271
+ | (?Hash[Symbol | String, untyped] params) -> Types::User
272
+ def get_my_commands: (?scope: Types::bot_command_scope, ?language_code: String) -> Array[Types::BotCommand]
273
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::BotCommand]
274
+ def getMyCommands: (?scope: Types::bot_command_scope, ?language_code: String) -> Array[Types::BotCommand]
275
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::BotCommand]
276
+ def get_my_default_administrator_rights: (?for_channels: bool) -> Types::ChatAdministratorRights
277
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatAdministratorRights
278
+ def getMyDefaultAdministratorRights: (?for_channels: bool) -> Types::ChatAdministratorRights
279
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatAdministratorRights
280
+ def get_my_description: (?language_code: String) -> Types::BotDescription
281
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotDescription
282
+ def getMyDescription: (?language_code: String) -> Types::BotDescription
283
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotDescription
284
+ def get_my_name: (?language_code: String) -> Types::BotName
285
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotName
286
+ def getMyName: (?language_code: String) -> Types::BotName
287
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotName
288
+ def get_my_short_description: (?language_code: String) -> Types::BotShortDescription
289
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotShortDescription
290
+ def getMyShortDescription: (?language_code: String) -> Types::BotShortDescription
291
+ | (?Hash[Symbol | String, untyped] params) -> Types::BotShortDescription
292
+ def get_my_star_balance: () -> Types::StarAmount
293
+ | (?Hash[Symbol | String, untyped] params) -> Types::StarAmount
294
+ def getMyStarBalance: () -> Types::StarAmount
295
+ | (?Hash[Symbol | String, untyped] params) -> Types::StarAmount
296
+ def get_star_transactions: (?offset: Integer, ?limit: Integer) -> Types::StarTransactions
297
+ | (?Hash[Symbol | String, untyped] params) -> Types::StarTransactions
298
+ def getStarTransactions: (?offset: Integer, ?limit: Integer) -> Types::StarTransactions
299
+ | (?Hash[Symbol | String, untyped] params) -> Types::StarTransactions
300
+ def get_sticker_set: (name: String) -> Types::StickerSet
301
+ | (?Hash[Symbol | String, untyped] params) -> Types::StickerSet
302
+ def getStickerSet: (name: String) -> Types::StickerSet
303
+ | (?Hash[Symbol | String, untyped] params) -> Types::StickerSet
304
+ def get_updates: (?offset: Integer, ?limit: Integer, ?timeout: Integer, ?allowed_updates: Array[String]) -> Array[Types::Update]
305
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Update]
306
+ def getUpdates: (?offset: Integer, ?limit: Integer, ?timeout: Integer, ?allowed_updates: Array[String]) -> Array[Types::Update]
307
+ | (?Hash[Symbol | String, untyped] params) -> Array[Types::Update]
308
+ def get_user_chat_boosts: (chat_id: Integer | String, user_id: Integer) -> Types::UserChatBoosts
309
+ | (?Hash[Symbol | String, untyped] params) -> Types::UserChatBoosts
310
+ def getUserChatBoosts: (chat_id: Integer | String, user_id: Integer) -> Types::UserChatBoosts
311
+ | (?Hash[Symbol | String, untyped] params) -> Types::UserChatBoosts
312
+ def get_user_gifts: (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
313
+ | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
314
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> Types::OwnedGifts
316
+ def get_user_profile_audios: (user_id: Integer, ?offset: Integer, ?limit: Integer) -> Types::UserProfileAudios
317
+ | (?Hash[Symbol | String, untyped] params) -> Types::UserProfileAudios
318
+ def getUserProfileAudios: (user_id: Integer, ?offset: Integer, ?limit: Integer) -> Types::UserProfileAudios
319
+ | (?Hash[Symbol | String, untyped] params) -> Types::UserProfileAudios
320
+ def get_user_profile_photos: (user_id: Integer, ?offset: Integer, ?limit: Integer) -> Types::UserProfilePhotos
321
+ | (?Hash[Symbol | String, untyped] params) -> Types::UserProfilePhotos
322
+ def getUserProfilePhotos: (user_id: Integer, ?offset: Integer, ?limit: Integer) -> Types::UserProfilePhotos
323
+ | (?Hash[Symbol | String, untyped] params) -> Types::UserProfilePhotos
324
+ def get_webhook_info: () -> Types::WebhookInfo
325
+ | (?Hash[Symbol | String, untyped] params) -> Types::WebhookInfo
326
+ def getWebhookInfo: () -> Types::WebhookInfo
327
+ | (?Hash[Symbol | String, untyped] params) -> Types::WebhookInfo
328
+ def gift_premium_subscription: (user_id: Integer, month_count: Integer, star_count: Integer, ?text: String, ?text_parse_mode: String, ?text_entities: Array[Types::MessageEntity]) -> bool
329
+ | (?Hash[Symbol | String, untyped] params) -> bool
330
+ def giftPremiumSubscription: (user_id: Integer, month_count: Integer, star_count: Integer, ?text: String, ?text_parse_mode: String, ?text_entities: Array[Types::MessageEntity]) -> bool
331
+ | (?Hash[Symbol | String, untyped] params) -> bool
332
+ def hide_general_forum_topic: (chat_id: Integer | String) -> bool
333
+ | (?Hash[Symbol | String, untyped] params) -> bool
334
+ def hideGeneralForumTopic: (chat_id: Integer | String) -> bool
335
+ | (?Hash[Symbol | String, untyped] params) -> bool
336
+ def leave_chat: (chat_id: Integer | String) -> bool
337
+ | (?Hash[Symbol | String, untyped] params) -> bool
338
+ def leaveChat: (chat_id: Integer | String) -> bool
339
+ | (?Hash[Symbol | String, untyped] params) -> bool
340
+ def log_out: () -> bool
341
+ | (?Hash[Symbol | String, untyped] params) -> bool
342
+ def logOut: () -> bool
343
+ | (?Hash[Symbol | String, untyped] params) -> bool
344
+ def pin_chat_message: (?business_connection_id: String, chat_id: Integer | String, message_id: Integer, ?disable_notification: bool) -> bool
345
+ | (?Hash[Symbol | String, untyped] params) -> bool
346
+ def pinChatMessage: (?business_connection_id: String, chat_id: Integer | String, message_id: Integer, ?disable_notification: bool) -> bool
347
+ | (?Hash[Symbol | String, untyped] params) -> bool
348
+ def post_story: (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
349
+ | (?Hash[Symbol | String, untyped] params) -> Types::Story
350
+ 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
+ | (?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
353
+ | (?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
355
+ | (?Hash[Symbol | String, untyped] params) -> bool
356
+ def read_business_message: (business_connection_id: String, chat_id: Integer, message_id: Integer) -> bool
357
+ | (?Hash[Symbol | String, untyped] params) -> bool
358
+ def readBusinessMessage: (business_connection_id: String, chat_id: Integer, message_id: Integer) -> bool
359
+ | (?Hash[Symbol | String, untyped] params) -> bool
360
+ def refund_star_payment: (user_id: Integer, telegram_payment_charge_id: String) -> bool
361
+ | (?Hash[Symbol | String, untyped] params) -> bool
362
+ def refundStarPayment: (user_id: Integer, telegram_payment_charge_id: String) -> bool
363
+ | (?Hash[Symbol | String, untyped] params) -> bool
364
+ def remove_business_account_profile_photo: (business_connection_id: String, ?is_public: bool) -> bool
365
+ | (?Hash[Symbol | String, untyped] params) -> bool
366
+ def removeBusinessAccountProfilePhoto: (business_connection_id: String, ?is_public: bool) -> bool
367
+ | (?Hash[Symbol | String, untyped] params) -> bool
368
+ def remove_chat_verification: (chat_id: Integer | String) -> bool
369
+ | (?Hash[Symbol | String, untyped] params) -> bool
370
+ def removeChatVerification: (chat_id: Integer | String) -> bool
371
+ | (?Hash[Symbol | String, untyped] params) -> bool
372
+ def remove_my_profile_photo: () -> bool
373
+ | (?Hash[Symbol | String, untyped] params) -> bool
374
+ def removeMyProfilePhoto: () -> bool
375
+ | (?Hash[Symbol | String, untyped] params) -> bool
376
+ def remove_user_verification: (user_id: Integer) -> bool
377
+ | (?Hash[Symbol | String, untyped] params) -> bool
378
+ def removeUserVerification: (user_id: Integer) -> bool
379
+ | (?Hash[Symbol | String, untyped] params) -> bool
380
+ def reopen_forum_topic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
381
+ | (?Hash[Symbol | String, untyped] params) -> bool
382
+ def reopenForumTopic: (chat_id: Integer | String, message_thread_id: Integer) -> bool
383
+ | (?Hash[Symbol | String, untyped] params) -> bool
384
+ def reopen_general_forum_topic: (chat_id: Integer | String) -> bool
385
+ | (?Hash[Symbol | String, untyped] params) -> bool
386
+ def reopenGeneralForumTopic: (chat_id: Integer | String) -> bool
387
+ | (?Hash[Symbol | String, untyped] params) -> bool
388
+ def replace_managed_bot_token: (user_id: Integer) -> String
389
+ | (?Hash[Symbol | String, untyped] params) -> String
390
+ def replaceManagedBotToken: (user_id: Integer) -> String
391
+ | (?Hash[Symbol | String, untyped] params) -> String
392
+ def replace_sticker_in_set: (user_id: Integer, name: String, old_sticker: String, sticker: Types::InputSticker) -> bool
393
+ | (?Hash[Symbol | String, untyped] params) -> bool
394
+ def replaceStickerInSet: (user_id: Integer, name: String, old_sticker: String, sticker: Types::InputSticker) -> bool
395
+ | (?Hash[Symbol | String, untyped] params) -> bool
396
+ def repost_story: (business_connection_id: String, from_chat_id: Integer, from_story_id: Integer, active_period: Integer, ?post_to_chat_page: bool, ?protect_content: bool) -> Types::Story
397
+ | (?Hash[Symbol | String, untyped] params) -> Types::Story
398
+ def repostStory: (business_connection_id: String, from_chat_id: Integer, from_story_id: Integer, active_period: Integer, ?post_to_chat_page: bool, ?protect_content: bool) -> Types::Story
399
+ | (?Hash[Symbol | String, untyped] params) -> Types::Story
400
+ def restrict_chat_member: (chat_id: Integer | String, user_id: Integer, permissions: Types::ChatPermissions, ?use_independent_chat_permissions: bool, ?until_date: Integer) -> bool
401
+ | (?Hash[Symbol | String, untyped] params) -> bool
402
+ def restrictChatMember: (chat_id: Integer | String, user_id: Integer, permissions: Types::ChatPermissions, ?use_independent_chat_permissions: bool, ?until_date: Integer) -> bool
403
+ | (?Hash[Symbol | String, untyped] params) -> bool
404
+ def revoke_chat_invite_link: (chat_id: Integer | String, invite_link: String) -> Types::ChatInviteLink
405
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
406
+ def revokeChatInviteLink: (chat_id: Integer | String, invite_link: String) -> Types::ChatInviteLink
407
+ | (?Hash[Symbol | String, untyped] params) -> Types::ChatInviteLink
408
+ def save_prepared_inline_message: (user_id: Integer, result: Types::inline_query_result, ?allow_user_chats: bool, ?allow_bot_chats: bool, ?allow_group_chats: bool, ?allow_channel_chats: bool) -> Types::PreparedInlineMessage
409
+ | (?Hash[Symbol | String, untyped] params) -> Types::PreparedInlineMessage
410
+ def savePreparedInlineMessage: (user_id: Integer, result: Types::inline_query_result, ?allow_user_chats: bool, ?allow_bot_chats: bool, ?allow_group_chats: bool, ?allow_channel_chats: bool) -> Types::PreparedInlineMessage
411
+ | (?Hash[Symbol | String, untyped] params) -> Types::PreparedInlineMessage
412
+ def save_prepared_keyboard_button: (user_id: Integer, button: Types::KeyboardButton) -> Types::PreparedKeyboardButton
413
+ | (?Hash[Symbol | String, untyped] params) -> Types::PreparedKeyboardButton
414
+ def savePreparedKeyboardButton: (user_id: Integer, button: Types::KeyboardButton) -> Types::PreparedKeyboardButton
415
+ | (?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
417
+ | (?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
419
+ | (?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
421
+ | (?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
423
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
424
+ def send_chat_action: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, action: String) -> bool
425
+ | (?Hash[Symbol | String, untyped] params) -> bool
426
+ def sendChatAction: (?business_connection_id: String, chat_id: Integer | String, ?message_thread_id: Integer, action: String) -> bool
427
+ | (?Hash[Symbol | String, untyped] params) -> bool
428
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
430
+ 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
+ | (?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
433
+ | (?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
435
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
436
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
438
+ 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
+ | (?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
441
+ | (?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
443
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
444
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
446
+ def sendGame: (?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
447
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
448
+ def send_gift: (?user_id: Integer, ?chat_id: Integer | String, gift_id: String, ?pay_for_upgrade: bool, ?text: String, ?text_parse_mode: String, ?text_entities: Array[Types::MessageEntity]) -> bool
449
+ | (?Hash[Symbol | String, untyped] params) -> bool
450
+ def sendGift: (?user_id: Integer, ?chat_id: Integer | String, gift_id: String, ?pay_for_upgrade: bool, ?text: String, ?text_parse_mode: String, ?text_entities: Array[Types::MessageEntity]) -> bool
451
+ | (?Hash[Symbol | String, untyped] params) -> bool
452
+ def send_invoice: (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
453
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
454
+ 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
+ | (?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
457
+ | (?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
459
+ | (?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]
461
+ | (?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]
463
+ | (?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
465
+ | (?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
467
+ | (?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
469
+ | (?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
471
+ | (?Hash[Symbol | String, untyped] params) -> bool
472
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
474
+ 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
+ | (?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
477
+ | (?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
479
+ | (?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
481
+ | (?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
483
+ | (?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
485
+ | (?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
487
+ | (?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
489
+ | (?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
491
+ | (?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
493
+ | (?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
495
+ | (?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
497
+ | (?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
499
+ | (?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
501
+ | (?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
503
+ | (?Hash[Symbol | String, untyped] params) -> Types::Message
504
+ def set_business_account_bio: (business_connection_id: String, ?bio: String) -> bool
505
+ | (?Hash[Symbol | String, untyped] params) -> bool
506
+ def setBusinessAccountBio: (business_connection_id: String, ?bio: String) -> bool
507
+ | (?Hash[Symbol | String, untyped] params) -> bool
508
+ def set_business_account_gift_settings: (business_connection_id: String, show_gift_button: bool, accepted_gift_types: Types::AcceptedGiftTypes) -> bool
509
+ | (?Hash[Symbol | String, untyped] params) -> bool
510
+ def setBusinessAccountGiftSettings: (business_connection_id: String, show_gift_button: bool, accepted_gift_types: Types::AcceptedGiftTypes) -> bool
511
+ | (?Hash[Symbol | String, untyped] params) -> bool
512
+ def set_business_account_name: (business_connection_id: String, first_name: String, ?last_name: String) -> bool
513
+ | (?Hash[Symbol | String, untyped] params) -> bool
514
+ def setBusinessAccountName: (business_connection_id: String, first_name: String, ?last_name: String) -> bool
515
+ | (?Hash[Symbol | String, untyped] params) -> bool
516
+ def set_business_account_profile_photo: (business_connection_id: String, photo: Types::input_profile_photo, ?is_public: bool) -> bool
517
+ | (?Hash[Symbol | String, untyped] params) -> bool
518
+ def setBusinessAccountProfilePhoto: (business_connection_id: String, photo: Types::input_profile_photo, ?is_public: bool) -> bool
519
+ | (?Hash[Symbol | String, untyped] params) -> bool
520
+ def set_business_account_username: (business_connection_id: String, ?username: String) -> bool
521
+ | (?Hash[Symbol | String, untyped] params) -> bool
522
+ def setBusinessAccountUsername: (business_connection_id: String, ?username: String) -> bool
523
+ | (?Hash[Symbol | String, untyped] params) -> bool
524
+ def set_chat_administrator_custom_title: (chat_id: Integer | String, user_id: Integer, custom_title: String) -> bool
525
+ | (?Hash[Symbol | String, untyped] params) -> bool
526
+ def setChatAdministratorCustomTitle: (chat_id: Integer | String, user_id: Integer, custom_title: String) -> bool
527
+ | (?Hash[Symbol | String, untyped] params) -> bool
528
+ def set_chat_description: (chat_id: Integer | String, ?description: String) -> bool
529
+ | (?Hash[Symbol | String, untyped] params) -> bool
530
+ def setChatDescription: (chat_id: Integer | String, ?description: String) -> bool
531
+ | (?Hash[Symbol | String, untyped] params) -> bool
532
+ def set_chat_member_tag: (chat_id: Integer | String, user_id: Integer, ?tag: String) -> bool
533
+ | (?Hash[Symbol | String, untyped] params) -> bool
534
+ def setChatMemberTag: (chat_id: Integer | String, user_id: Integer, ?tag: String) -> bool
535
+ | (?Hash[Symbol | String, untyped] params) -> bool
536
+ def set_chat_menu_button: (?chat_id: Integer, ?menu_button: Types::menu_button) -> bool
537
+ | (?Hash[Symbol | String, untyped] params) -> bool
538
+ def setChatMenuButton: (?chat_id: Integer, ?menu_button: Types::menu_button) -> bool
539
+ | (?Hash[Symbol | String, untyped] params) -> bool
540
+ def set_chat_permissions: (chat_id: Integer | String, permissions: Types::ChatPermissions, ?use_independent_chat_permissions: bool) -> bool
541
+ | (?Hash[Symbol | String, untyped] params) -> bool
542
+ def setChatPermissions: (chat_id: Integer | String, permissions: Types::ChatPermissions, ?use_independent_chat_permissions: bool) -> bool
543
+ | (?Hash[Symbol | String, untyped] params) -> bool
544
+ def set_chat_photo: (chat_id: Integer | String, photo: Types::InputFile) -> bool
545
+ | (?Hash[Symbol | String, untyped] params) -> bool
546
+ def setChatPhoto: (chat_id: Integer | String, photo: Types::InputFile) -> bool
547
+ | (?Hash[Symbol | String, untyped] params) -> bool
548
+ def set_chat_sticker_set: (chat_id: Integer | String, sticker_set_name: String) -> bool
549
+ | (?Hash[Symbol | String, untyped] params) -> bool
550
+ def setChatStickerSet: (chat_id: Integer | String, sticker_set_name: String) -> bool
551
+ | (?Hash[Symbol | String, untyped] params) -> bool
552
+ def set_chat_title: (chat_id: Integer | String, title: String) -> bool
553
+ | (?Hash[Symbol | String, untyped] params) -> bool
554
+ def setChatTitle: (chat_id: Integer | String, title: String) -> bool
555
+ | (?Hash[Symbol | String, untyped] params) -> bool
556
+ def set_custom_emoji_sticker_set_thumbnail: (name: String, ?custom_emoji_id: String) -> bool
557
+ | (?Hash[Symbol | String, untyped] params) -> bool
558
+ def setCustomEmojiStickerSetThumbnail: (name: String, ?custom_emoji_id: String) -> bool
559
+ | (?Hash[Symbol | String, untyped] params) -> bool
560
+ def set_game_score: (user_id: Integer, score: Integer, ?force: bool, ?disable_edit_message: bool, ?chat_id: Integer, ?message_id: Integer, ?inline_message_id: String) -> (Types::Message | bool)
561
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
562
+ 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
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
564
+ def set_message_reaction: (chat_id: Integer | String, message_id: Integer, ?reaction: Array[Types::reaction_type], ?is_big: bool) -> bool
565
+ | (?Hash[Symbol | String, untyped] params) -> bool
566
+ def setMessageReaction: (chat_id: Integer | String, message_id: Integer, ?reaction: Array[Types::reaction_type], ?is_big: bool) -> bool
567
+ | (?Hash[Symbol | String, untyped] params) -> bool
568
+ def set_my_commands: (commands: Array[Types::BotCommand], ?scope: Types::bot_command_scope, ?language_code: String) -> bool
569
+ | (?Hash[Symbol | String, untyped] params) -> bool
570
+ def setMyCommands: (commands: Array[Types::BotCommand], ?scope: Types::bot_command_scope, ?language_code: String) -> bool
571
+ | (?Hash[Symbol | String, untyped] params) -> bool
572
+ def set_my_default_administrator_rights: (?rights: Types::ChatAdministratorRights, ?for_channels: bool) -> bool
573
+ | (?Hash[Symbol | String, untyped] params) -> bool
574
+ def setMyDefaultAdministratorRights: (?rights: Types::ChatAdministratorRights, ?for_channels: bool) -> bool
575
+ | (?Hash[Symbol | String, untyped] params) -> bool
576
+ def set_my_description: (?description: String, ?language_code: String) -> bool
577
+ | (?Hash[Symbol | String, untyped] params) -> bool
578
+ def setMyDescription: (?description: String, ?language_code: String) -> bool
579
+ | (?Hash[Symbol | String, untyped] params) -> bool
580
+ def set_my_name: (?name: String, ?language_code: String) -> bool
581
+ | (?Hash[Symbol | String, untyped] params) -> bool
582
+ def setMyName: (?name: String, ?language_code: String) -> bool
583
+ | (?Hash[Symbol | String, untyped] params) -> bool
584
+ def set_my_profile_photo: (photo: Types::input_profile_photo) -> bool
585
+ | (?Hash[Symbol | String, untyped] params) -> bool
586
+ def setMyProfilePhoto: (photo: Types::input_profile_photo) -> bool
587
+ | (?Hash[Symbol | String, untyped] params) -> bool
588
+ def set_my_short_description: (?short_description: String, ?language_code: String) -> bool
589
+ | (?Hash[Symbol | String, untyped] params) -> bool
590
+ def setMyShortDescription: (?short_description: String, ?language_code: String) -> bool
591
+ | (?Hash[Symbol | String, untyped] params) -> bool
592
+ def set_passport_data_errors: (user_id: Integer, errors: Array[Types::passport_element_error]) -> bool
593
+ | (?Hash[Symbol | String, untyped] params) -> bool
594
+ def setPassportDataErrors: (user_id: Integer, errors: Array[Types::passport_element_error]) -> bool
595
+ | (?Hash[Symbol | String, untyped] params) -> bool
596
+ def set_sticker_emoji_list: (sticker: String, emoji_list: Array[String]) -> bool
597
+ | (?Hash[Symbol | String, untyped] params) -> bool
598
+ def setStickerEmojiList: (sticker: String, emoji_list: Array[String]) -> bool
599
+ | (?Hash[Symbol | String, untyped] params) -> bool
600
+ def set_sticker_keywords: (sticker: String, ?keywords: Array[String]) -> bool
601
+ | (?Hash[Symbol | String, untyped] params) -> bool
602
+ def setStickerKeywords: (sticker: String, ?keywords: Array[String]) -> bool
603
+ | (?Hash[Symbol | String, untyped] params) -> bool
604
+ def set_sticker_mask_position: (sticker: String, ?mask_position: Types::MaskPosition) -> bool
605
+ | (?Hash[Symbol | String, untyped] params) -> bool
606
+ def setStickerMaskPosition: (sticker: String, ?mask_position: Types::MaskPosition) -> bool
607
+ | (?Hash[Symbol | String, untyped] params) -> bool
608
+ def set_sticker_position_in_set: (sticker: String, position: Integer) -> bool
609
+ | (?Hash[Symbol | String, untyped] params) -> bool
610
+ def setStickerPositionInSet: (sticker: String, position: Integer) -> bool
611
+ | (?Hash[Symbol | String, untyped] params) -> bool
612
+ def set_sticker_set_thumbnail: (name: String, user_id: Integer, ?thumbnail: Types::InputFile | String, format: String) -> bool
613
+ | (?Hash[Symbol | String, untyped] params) -> bool
614
+ def setStickerSetThumbnail: (name: String, user_id: Integer, ?thumbnail: Types::InputFile | String, format: String) -> bool
615
+ | (?Hash[Symbol | String, untyped] params) -> bool
616
+ def set_sticker_set_title: (name: String, title: String) -> bool
617
+ | (?Hash[Symbol | String, untyped] params) -> bool
618
+ def setStickerSetTitle: (name: String, title: String) -> bool
619
+ | (?Hash[Symbol | String, untyped] params) -> bool
620
+ def set_user_emoji_status: (user_id: Integer, ?emoji_status_custom_emoji_id: String, ?emoji_status_expiration_date: Integer) -> bool
621
+ | (?Hash[Symbol | String, untyped] params) -> bool
622
+ def setUserEmojiStatus: (user_id: Integer, ?emoji_status_custom_emoji_id: String, ?emoji_status_expiration_date: Integer) -> bool
623
+ | (?Hash[Symbol | String, untyped] params) -> bool
624
+ def set_webhook: (url: String, ?certificate: Types::InputFile, ?ip_address: String, ?max_connections: Integer, ?allowed_updates: Array[String], ?drop_pending_updates: bool, ?secret_token: String) -> bool
625
+ | (?Hash[Symbol | String, untyped] params) -> bool
626
+ def setWebhook: (url: String, ?certificate: Types::InputFile, ?ip_address: String, ?max_connections: Integer, ?allowed_updates: Array[String], ?drop_pending_updates: bool, ?secret_token: String) -> bool
627
+ | (?Hash[Symbol | String, untyped] params) -> bool
628
+ def stop_message_live_location: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
629
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
630
+ def stopMessageLiveLocation: (?business_connection_id: String, ?chat_id: Integer | String, ?message_id: Integer, ?inline_message_id: String, ?reply_markup: Types::InlineKeyboardMarkup) -> (Types::Message | bool)
631
+ | (?Hash[Symbol | String, untyped] params) -> (Types::Message | bool)
632
+ def stop_poll: (?business_connection_id: String, chat_id: Integer | String, message_id: Integer, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Poll
633
+ | (?Hash[Symbol | String, untyped] params) -> Types::Poll
634
+ def stopPoll: (?business_connection_id: String, chat_id: Integer | String, message_id: Integer, ?reply_markup: Types::InlineKeyboardMarkup) -> Types::Poll
635
+ | (?Hash[Symbol | String, untyped] params) -> Types::Poll
636
+ def transfer_business_account_stars: (business_connection_id: String, star_count: Integer) -> bool
637
+ | (?Hash[Symbol | String, untyped] params) -> bool
638
+ def transferBusinessAccountStars: (business_connection_id: String, star_count: Integer) -> bool
639
+ | (?Hash[Symbol | String, untyped] params) -> bool
640
+ def transfer_gift: (business_connection_id: String, owned_gift_id: String, new_owner_chat_id: Integer, ?star_count: Integer) -> bool
641
+ | (?Hash[Symbol | String, untyped] params) -> bool
642
+ def transferGift: (business_connection_id: String, owned_gift_id: String, new_owner_chat_id: Integer, ?star_count: Integer) -> bool
643
+ | (?Hash[Symbol | String, untyped] params) -> bool
644
+ def unban_chat_member: (chat_id: Integer | String, user_id: Integer, ?only_if_banned: bool) -> bool
645
+ | (?Hash[Symbol | String, untyped] params) -> bool
646
+ def unbanChatMember: (chat_id: Integer | String, user_id: Integer, ?only_if_banned: bool) -> bool
647
+ | (?Hash[Symbol | String, untyped] params) -> bool
648
+ def unban_chat_sender_chat: (chat_id: Integer | String, sender_chat_id: Integer) -> bool
649
+ | (?Hash[Symbol | String, untyped] params) -> bool
650
+ def unbanChatSenderChat: (chat_id: Integer | String, sender_chat_id: Integer) -> bool
651
+ | (?Hash[Symbol | String, untyped] params) -> bool
652
+ def unhide_general_forum_topic: (chat_id: Integer | String) -> bool
653
+ | (?Hash[Symbol | String, untyped] params) -> bool
654
+ def unhideGeneralForumTopic: (chat_id: Integer | String) -> bool
655
+ | (?Hash[Symbol | String, untyped] params) -> bool
656
+ def unpin_all_chat_messages: (chat_id: Integer | String) -> bool
657
+ | (?Hash[Symbol | String, untyped] params) -> bool
658
+ def unpinAllChatMessages: (chat_id: Integer | String) -> bool
659
+ | (?Hash[Symbol | String, untyped] params) -> bool
660
+ def unpin_all_forum_topic_messages: (chat_id: Integer | String, message_thread_id: Integer) -> bool
661
+ | (?Hash[Symbol | String, untyped] params) -> bool
662
+ def unpinAllForumTopicMessages: (chat_id: Integer | String, message_thread_id: Integer) -> bool
663
+ | (?Hash[Symbol | String, untyped] params) -> bool
664
+ def unpin_all_general_forum_topic_messages: (chat_id: Integer | String) -> bool
665
+ | (?Hash[Symbol | String, untyped] params) -> bool
666
+ def unpinAllGeneralForumTopicMessages: (chat_id: Integer | String) -> bool
667
+ | (?Hash[Symbol | String, untyped] params) -> bool
668
+ def unpin_chat_message: (?business_connection_id: String, chat_id: Integer | String, ?message_id: Integer) -> bool
669
+ | (?Hash[Symbol | String, untyped] params) -> bool
670
+ def unpinChatMessage: (?business_connection_id: String, chat_id: Integer | String, ?message_id: Integer) -> bool
671
+ | (?Hash[Symbol | String, untyped] params) -> bool
672
+ def upgrade_gift: (business_connection_id: String, owned_gift_id: String, ?keep_original_details: bool, ?star_count: Integer) -> bool
673
+ | (?Hash[Symbol | String, untyped] params) -> bool
674
+ def upgradeGift: (business_connection_id: String, owned_gift_id: String, ?keep_original_details: bool, ?star_count: Integer) -> bool
675
+ | (?Hash[Symbol | String, untyped] params) -> bool
676
+ def upload_sticker_file: (user_id: Integer, sticker: Types::InputFile, sticker_format: String) -> Types::File
677
+ | (?Hash[Symbol | String, untyped] params) -> Types::File
678
+ def uploadStickerFile: (user_id: Integer, sticker: Types::InputFile, sticker_format: String) -> Types::File
679
+ | (?Hash[Symbol | String, untyped] params) -> Types::File
680
+ def verify_chat: (chat_id: Integer | String, ?custom_description: String) -> bool
681
+ | (?Hash[Symbol | String, untyped] params) -> bool
682
+ def verifyChat: (chat_id: Integer | String, ?custom_description: String) -> bool
683
+ | (?Hash[Symbol | String, untyped] params) -> bool
684
+ def verify_user: (user_id: Integer, ?custom_description: String) -> bool
685
+ | (?Hash[Symbol | String, untyped] params) -> bool
686
+ def verifyUser: (user_id: Integer, ?custom_description: String) -> bool
687
+ | (?Hash[Symbol | String, untyped] params) -> bool
688
+ end
689
+ end
690
+ end