telegram-bot-openapi 7.2.1

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 (642) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +419 -0
  4. data/Rakefile +10 -0
  5. data/docs/Animation.md +34 -0
  6. data/docs/AnswerWebAppQuery200Response.md +20 -0
  7. data/docs/Audio.md +34 -0
  8. data/docs/Birthdate.md +22 -0
  9. data/docs/BotCommand.md +20 -0
  10. data/docs/BotCommandScopeAllChatAdministrators.md +18 -0
  11. data/docs/BotCommandScopeAllGroupChats.md +18 -0
  12. data/docs/BotCommandScopeAllPrivateChats.md +18 -0
  13. data/docs/BotCommandScopeChat.md +20 -0
  14. data/docs/BotCommandScopeChatAdministrators.md +20 -0
  15. data/docs/BotCommandScopeChatMember.md +22 -0
  16. data/docs/BotCommandScopeDefault.md +18 -0
  17. data/docs/BotDescription.md +18 -0
  18. data/docs/BotName.md +18 -0
  19. data/docs/BotShortDescription.md +18 -0
  20. data/docs/BusinessConnection.md +28 -0
  21. data/docs/BusinessIntro.md +22 -0
  22. data/docs/BusinessLocation.md +20 -0
  23. data/docs/BusinessMessagesDeleted.md +22 -0
  24. data/docs/BusinessOpeningHours.md +20 -0
  25. data/docs/BusinessOpeningHoursInterval.md +20 -0
  26. data/docs/CallbackQuery.md +30 -0
  27. data/docs/Chat.md +100 -0
  28. data/docs/ChatAdministratorRights.md +46 -0
  29. data/docs/ChatBoost.md +24 -0
  30. data/docs/ChatBoostAdded.md +18 -0
  31. data/docs/ChatBoostRemoved.md +24 -0
  32. data/docs/ChatBoostSourceGiftCode.md +20 -0
  33. data/docs/ChatBoostSourceGiveaway.md +24 -0
  34. data/docs/ChatBoostSourcePremium.md +20 -0
  35. data/docs/ChatBoostUpdated.md +20 -0
  36. data/docs/ChatInviteLink.md +34 -0
  37. data/docs/ChatJoinRequest.md +28 -0
  38. data/docs/ChatLocation.md +20 -0
  39. data/docs/ChatMemberAdministrator.md +54 -0
  40. data/docs/ChatMemberBanned.md +22 -0
  41. data/docs/ChatMemberLeft.md +20 -0
  42. data/docs/ChatMemberMember.md +20 -0
  43. data/docs/ChatMemberOwner.md +24 -0
  44. data/docs/ChatMemberRestricted.md +52 -0
  45. data/docs/ChatMemberUpdated.md +30 -0
  46. data/docs/ChatPermissions.md +44 -0
  47. data/docs/ChatPhoto.md +24 -0
  48. data/docs/ChatShared.md +26 -0
  49. data/docs/ChosenInlineResult.md +26 -0
  50. data/docs/Contact.md +26 -0
  51. data/docs/CopyMessage200Response.md +20 -0
  52. data/docs/CreateChatInviteLink200Response.md +20 -0
  53. data/docs/CreateForumTopic200Response.md +20 -0
  54. data/docs/DefaultApi.md +8843 -0
  55. data/docs/Dice.md +20 -0
  56. data/docs/Document.md +28 -0
  57. data/docs/EditMessageText200Response.md +20 -0
  58. data/docs/EditMessageText200ResponseResultValue.md +49 -0
  59. data/docs/EncryptedCredentials.md +22 -0
  60. data/docs/EncryptedPassportElement.md +36 -0
  61. data/docs/ExportChatInviteLink200Response.md +20 -0
  62. data/docs/ExternalReplyInfo.md +62 -0
  63. data/docs/File.md +24 -0
  64. data/docs/ForceReply.md +22 -0
  65. data/docs/ForumTopic.md +24 -0
  66. data/docs/ForumTopicCreated.md +22 -0
  67. data/docs/ForumTopicEdited.md +20 -0
  68. data/docs/ForwardMessages200Response.md +20 -0
  69. data/docs/Game.md +28 -0
  70. data/docs/GameHighScore.md +22 -0
  71. data/docs/GetBusinessConnection200Response.md +20 -0
  72. data/docs/GetChat200Response.md +20 -0
  73. data/docs/GetChatAdministrators200Response.md +20 -0
  74. data/docs/GetChatMember200Response.md +20 -0
  75. data/docs/GetChatMemberCount200Response.md +20 -0
  76. data/docs/GetChatMenuButton200Response.md +20 -0
  77. data/docs/GetFile200Response.md +20 -0
  78. data/docs/GetForumTopicIconStickers200Response.md +20 -0
  79. data/docs/GetGameHighScores200Response.md +20 -0
  80. data/docs/GetMe200Response.md +20 -0
  81. data/docs/GetMyCommands200Response.md +20 -0
  82. data/docs/GetMyDefaultAdministratorRights200Response.md +20 -0
  83. data/docs/GetMyDescription200Response.md +20 -0
  84. data/docs/GetMyName200Response.md +20 -0
  85. data/docs/GetMyShortDescription200Response.md +20 -0
  86. data/docs/GetStickerSet200Response.md +20 -0
  87. data/docs/GetUpdates200Response.md +20 -0
  88. data/docs/GetUpdates4XXResponse.md +22 -0
  89. data/docs/GetUserChatBoosts200Response.md +20 -0
  90. data/docs/GetUserProfilePhotos200Response.md +20 -0
  91. data/docs/GetWebhookInfo200Response.md +20 -0
  92. data/docs/Giveaway.md +32 -0
  93. data/docs/GiveawayCompleted.md +22 -0
  94. data/docs/GiveawayWinners.md +38 -0
  95. data/docs/InaccessibleMessage.md +22 -0
  96. data/docs/InlineKeyboardButton.md +36 -0
  97. data/docs/InlineKeyboardMarkup.md +18 -0
  98. data/docs/InlineQuery.md +28 -0
  99. data/docs/InlineQueryResultArticle.md +38 -0
  100. data/docs/InlineQueryResultAudio.md +38 -0
  101. data/docs/InlineQueryResultCachedAudio.md +32 -0
  102. data/docs/InlineQueryResultCachedDocument.md +36 -0
  103. data/docs/InlineQueryResultCachedGif.md +34 -0
  104. data/docs/InlineQueryResultCachedMpeg4Gif.md +34 -0
  105. data/docs/InlineQueryResultCachedPhoto.md +36 -0
  106. data/docs/InlineQueryResultCachedSticker.md +26 -0
  107. data/docs/InlineQueryResultCachedVideo.md +36 -0
  108. data/docs/InlineQueryResultCachedVoice.md +34 -0
  109. data/docs/InlineQueryResultContact.md +38 -0
  110. data/docs/InlineQueryResultDocument.md +44 -0
  111. data/docs/InlineQueryResultGame.md +24 -0
  112. data/docs/InlineQueryResultGif.md +44 -0
  113. data/docs/InlineQueryResultLocation.md +44 -0
  114. data/docs/InlineQueryResultMpeg4Gif.md +44 -0
  115. data/docs/InlineQueryResultPhoto.md +42 -0
  116. data/docs/InlineQueryResultVenue.md +46 -0
  117. data/docs/InlineQueryResultVideo.md +46 -0
  118. data/docs/InlineQueryResultVoice.md +36 -0
  119. data/docs/InlineQueryResultsButton.md +22 -0
  120. data/docs/InputContactMessageContent.md +24 -0
  121. data/docs/InputInvoiceMessageContent.md +56 -0
  122. data/docs/InputLocationMessageContent.md +28 -0
  123. data/docs/InputMediaAnimation.md +36 -0
  124. data/docs/InputMediaAudio.md +34 -0
  125. data/docs/InputMediaDocument.md +30 -0
  126. data/docs/InputMediaPhoto.md +28 -0
  127. data/docs/InputMediaVideo.md +38 -0
  128. data/docs/InputSticker.md +26 -0
  129. data/docs/InputTextMessageContent.md +24 -0
  130. data/docs/InputVenueMessageContent.md +32 -0
  131. data/docs/Invoice.md +26 -0
  132. data/docs/KeyboardButton.md +30 -0
  133. data/docs/KeyboardButtonPollType.md +18 -0
  134. data/docs/KeyboardButtonRequestChat.md +38 -0
  135. data/docs/KeyboardButtonRequestUsers.md +30 -0
  136. data/docs/LabeledPrice.md +20 -0
  137. data/docs/LinkPreviewOptions.md +26 -0
  138. data/docs/Location.md +28 -0
  139. data/docs/LoginUrl.md +24 -0
  140. data/docs/MaskPosition.md +24 -0
  141. data/docs/MenuButtonCommands.md +18 -0
  142. data/docs/MenuButtonDefault.md +18 -0
  143. data/docs/MenuButtonWebApp.md +22 -0
  144. data/docs/Message.md +176 -0
  145. data/docs/MessageAutoDeleteTimerChanged.md +18 -0
  146. data/docs/MessageEntity.md +30 -0
  147. data/docs/MessageId.md +18 -0
  148. data/docs/MessageOriginChannel.md +26 -0
  149. data/docs/MessageOriginChat.md +24 -0
  150. data/docs/MessageOriginHiddenUser.md +22 -0
  151. data/docs/MessageOriginUser.md +22 -0
  152. data/docs/MessageReactionCountUpdated.md +24 -0
  153. data/docs/MessageReactionUpdated.md +30 -0
  154. data/docs/OrderInfo.md +24 -0
  155. data/docs/PassportData.md +20 -0
  156. data/docs/PassportElementErrorDataField.md +26 -0
  157. data/docs/PassportElementErrorFile.md +24 -0
  158. data/docs/PassportElementErrorFiles.md +24 -0
  159. data/docs/PassportElementErrorFrontSide.md +24 -0
  160. data/docs/PassportElementErrorReverseSide.md +24 -0
  161. data/docs/PassportElementErrorSelfie.md +24 -0
  162. data/docs/PassportElementErrorTranslationFile.md +24 -0
  163. data/docs/PassportElementErrorTranslationFiles.md +24 -0
  164. data/docs/PassportElementErrorUnspecified.md +24 -0
  165. data/docs/PassportFile.md +24 -0
  166. data/docs/PhotoSize.md +26 -0
  167. data/docs/Poll.md +42 -0
  168. data/docs/PollAnswer.md +24 -0
  169. data/docs/PollOption.md +20 -0
  170. data/docs/PreCheckoutQuery.md +30 -0
  171. data/docs/ProximityAlertTriggered.md +22 -0
  172. data/docs/ReactionCount.md +20 -0
  173. data/docs/ReactionTypeCustomEmoji.md +20 -0
  174. data/docs/ReactionTypeEmoji.md +20 -0
  175. data/docs/ReplyKeyboardMarkup.md +28 -0
  176. data/docs/ReplyKeyboardRemove.md +20 -0
  177. data/docs/ReplyParameters.md +30 -0
  178. data/docs/ResponseParameters.md +20 -0
  179. data/docs/SendMediaGroup200Response.md +20 -0
  180. data/docs/SendMediaGroupMediaParameterValue.md +53 -0
  181. data/docs/SendMessage200Response.md +20 -0
  182. data/docs/SendMessageChatIdParameterValue.md +49 -0
  183. data/docs/SendMessageReplyMarkupParameterValue.md +53 -0
  184. data/docs/SendPhotoPhotoParameterValue.md +49 -0
  185. data/docs/SentWebAppMessage.md +18 -0
  186. data/docs/SetWebhook200Response.md +20 -0
  187. data/docs/SharedUser.md +26 -0
  188. data/docs/ShippingAddress.md +28 -0
  189. data/docs/ShippingOption.md +22 -0
  190. data/docs/ShippingQuery.md +24 -0
  191. data/docs/Sticker.md +46 -0
  192. data/docs/StickerSet.md +26 -0
  193. data/docs/StopPoll200Response.md +20 -0
  194. data/docs/Story.md +20 -0
  195. data/docs/SuccessfulPayment.md +30 -0
  196. data/docs/SwitchInlineQueryChosenChat.md +26 -0
  197. data/docs/TextQuote.md +24 -0
  198. data/docs/Update.md +62 -0
  199. data/docs/User.md +40 -0
  200. data/docs/UserChatBoosts.md +18 -0
  201. data/docs/UserProfilePhotos.md +20 -0
  202. data/docs/UsersShared.md +20 -0
  203. data/docs/Venue.md +30 -0
  204. data/docs/Video.md +34 -0
  205. data/docs/VideoChatEnded.md +18 -0
  206. data/docs/VideoChatParticipantsInvited.md +18 -0
  207. data/docs/VideoChatScheduled.md +18 -0
  208. data/docs/VideoNote.md +28 -0
  209. data/docs/Voice.md +26 -0
  210. data/docs/WebAppData.md +20 -0
  211. data/docs/WebAppInfo.md +18 -0
  212. data/docs/WebhookInfo.md +34 -0
  213. data/docs/WriteAccessAllowed.md +22 -0
  214. data/git_push.sh +57 -0
  215. data/lib/telegram-bot/api/default_api.rb +9305 -0
  216. data/lib/telegram-bot/api_client.rb +393 -0
  217. data/lib/telegram-bot/api_error.rb +58 -0
  218. data/lib/telegram-bot/configuration.rb +307 -0
  219. data/lib/telegram-bot/models/animation.rb +331 -0
  220. data/lib/telegram-bot/models/answer_web_app_query200_response.rb +223 -0
  221. data/lib/telegram-bot/models/audio.rb +317 -0
  222. data/lib/telegram-bot/models/birthdate.rb +250 -0
  223. data/lib/telegram-bot/models/bot_command.rb +240 -0
  224. data/lib/telegram-bot/models/bot_command_scope_all_chat_administrators.rb +223 -0
  225. data/lib/telegram-bot/models/bot_command_scope_all_group_chats.rb +223 -0
  226. data/lib/telegram-bot/models/bot_command_scope_all_private_chats.rb +223 -0
  227. data/lib/telegram-bot/models/bot_command_scope_chat.rb +242 -0
  228. data/lib/telegram-bot/models/bot_command_scope_chat_administrators.rb +242 -0
  229. data/lib/telegram-bot/models/bot_command_scope_chat_member.rb +259 -0
  230. data/lib/telegram-bot/models/bot_command_scope_default.rb +223 -0
  231. data/lib/telegram-bot/models/bot_description.rb +223 -0
  232. data/lib/telegram-bot/models/bot_name.rb +223 -0
  233. data/lib/telegram-bot/models/bot_short_description.rb +223 -0
  234. data/lib/telegram-bot/models/business_connection.rb +308 -0
  235. data/lib/telegram-bot/models/business_intro.rb +236 -0
  236. data/lib/telegram-bot/models/business_location.rb +233 -0
  237. data/lib/telegram-bot/models/business_messages_deleted.rb +259 -0
  238. data/lib/telegram-bot/models/business_opening_hours.rb +242 -0
  239. data/lib/telegram-bot/models/business_opening_hours_interval.rb +240 -0
  240. data/lib/telegram-bot/models/callback_query.rb +297 -0
  241. data/lib/telegram-bot/models/chat.rb +644 -0
  242. data/lib/telegram-bot/models/chat_administrator_rights.rb +433 -0
  243. data/lib/telegram-bot/models/chat_boost.rb +274 -0
  244. data/lib/telegram-bot/models/chat_boost_added.rb +223 -0
  245. data/lib/telegram-bot/models/chat_boost_removed.rb +274 -0
  246. data/lib/telegram-bot/models/chat_boost_source_gift_code.rb +240 -0
  247. data/lib/telegram-bot/models/chat_boost_source_giveaway.rb +260 -0
  248. data/lib/telegram-bot/models/chat_boost_source_premium.rb +240 -0
  249. data/lib/telegram-bot/models/chat_boost_updated.rb +240 -0
  250. data/lib/telegram-bot/models/chat_invite_link.rb +331 -0
  251. data/lib/telegram-bot/models/chat_join_request.rb +294 -0
  252. data/lib/telegram-bot/models/chat_location.rb +240 -0
  253. data/lib/telegram-bot/models/chat_member_administrator.rb +494 -0
  254. data/lib/telegram-bot/models/chat_member_banned.rb +257 -0
  255. data/lib/telegram-bot/models/chat_member_left.rb +240 -0
  256. data/lib/telegram-bot/models/chat_member_member.rb +240 -0
  257. data/lib/telegram-bot/models/chat_member_owner.rb +267 -0
  258. data/lib/telegram-bot/models/chat_member_restricted.rb +512 -0
  259. data/lib/telegram-bot/models/chat_member_updated.rb +311 -0
  260. data/lib/telegram-bot/models/chat_permissions.rb +346 -0
  261. data/lib/telegram-bot/models/chat_photo.rb +274 -0
  262. data/lib/telegram-bot/models/chat_shared.rb +272 -0
  263. data/lib/telegram-bot/models/chosen_inline_result.rb +277 -0
  264. data/lib/telegram-bot/models/contact.rb +270 -0
  265. data/lib/telegram-bot/models/copy_message200_response.rb +223 -0
  266. data/lib/telegram-bot/models/create_chat_invite_link200_response.rb +223 -0
  267. data/lib/telegram-bot/models/create_forum_topic200_response.rb +223 -0
  268. data/lib/telegram-bot/models/dice.rb +240 -0
  269. data/lib/telegram-bot/models/document.rb +280 -0
  270. data/lib/telegram-bot/models/edit_message_text200_response.rb +225 -0
  271. data/lib/telegram-bot/models/edit_message_text200_response_result_value.rb +105 -0
  272. data/lib/telegram-bot/models/encrypted_credentials.rb +257 -0
  273. data/lib/telegram-bot/models/encrypted_passport_element.rb +324 -0
  274. data/lib/telegram-bot/models/export_chat_invite_link200_response.rb +223 -0
  275. data/lib/telegram-bot/models/external_reply_info.rb +445 -0
  276. data/lib/telegram-bot/models/file.rb +260 -0
  277. data/lib/telegram-bot/models/force_reply.rb +243 -0
  278. data/lib/telegram-bot/models/forum_topic.rb +267 -0
  279. data/lib/telegram-bot/models/forum_topic_created.rb +250 -0
  280. data/lib/telegram-bot/models/forum_topic_edited.rb +226 -0
  281. data/lib/telegram-bot/models/forward_messages200_response.rb +225 -0
  282. data/lib/telegram-bot/models/game.rb +291 -0
  283. data/lib/telegram-bot/models/game_high_score.rb +257 -0
  284. data/lib/telegram-bot/models/get_business_connection200_response.rb +223 -0
  285. data/lib/telegram-bot/models/get_chat200_response.rb +223 -0
  286. data/lib/telegram-bot/models/get_chat_administrators200_response.rb +225 -0
  287. data/lib/telegram-bot/models/get_chat_member200_response.rb +224 -0
  288. data/lib/telegram-bot/models/get_chat_member_count200_response.rb +223 -0
  289. data/lib/telegram-bot/models/get_chat_menu_button200_response.rb +224 -0
  290. data/lib/telegram-bot/models/get_file200_response.rb +223 -0
  291. data/lib/telegram-bot/models/get_forum_topic_icon_stickers200_response.rb +225 -0
  292. data/lib/telegram-bot/models/get_game_high_scores200_response.rb +225 -0
  293. data/lib/telegram-bot/models/get_me200_response.rb +223 -0
  294. data/lib/telegram-bot/models/get_my_commands200_response.rb +225 -0
  295. data/lib/telegram-bot/models/get_my_default_administrator_rights200_response.rb +223 -0
  296. data/lib/telegram-bot/models/get_my_description200_response.rb +223 -0
  297. data/lib/telegram-bot/models/get_my_name200_response.rb +223 -0
  298. data/lib/telegram-bot/models/get_my_short_description200_response.rb +223 -0
  299. data/lib/telegram-bot/models/get_sticker_set200_response.rb +223 -0
  300. data/lib/telegram-bot/models/get_updates200_response.rb +225 -0
  301. data/lib/telegram-bot/models/get_updates4_xx_response.rb +232 -0
  302. data/lib/telegram-bot/models/get_user_chat_boosts200_response.rb +223 -0
  303. data/lib/telegram-bot/models/get_user_profile_photos200_response.rb +223 -0
  304. data/lib/telegram-bot/models/get_webhook_info200_response.rb +223 -0
  305. data/lib/telegram-bot/models/giveaway.rb +311 -0
  306. data/lib/telegram-bot/models/giveaway_completed.rb +243 -0
  307. data/lib/telegram-bot/models/giveaway_winners.rb +353 -0
  308. data/lib/telegram-bot/models/inaccessible_message.rb +257 -0
  309. data/lib/telegram-bot/models/inline_keyboard_button.rb +313 -0
  310. data/lib/telegram-bot/models/inline_keyboard_markup.rb +225 -0
  311. data/lib/telegram-bot/models/inline_query.rb +294 -0
  312. data/lib/telegram-bot/models/inline_query_result_article.rb +344 -0
  313. data/lib/telegram-bot/models/inline_query_result_audio.rb +346 -0
  314. data/lib/telegram-bot/models/inline_query_result_cached_audio.rb +309 -0
  315. data/lib/telegram-bot/models/inline_query_result_cached_document.rb +336 -0
  316. data/lib/telegram-bot/models/inline_query_result_cached_gif.rb +319 -0
  317. data/lib/telegram-bot/models/inline_query_result_cached_mpeg4_gif.rb +319 -0
  318. data/lib/telegram-bot/models/inline_query_result_cached_photo.rb +329 -0
  319. data/lib/telegram-bot/models/inline_query_result_cached_sticker.rb +277 -0
  320. data/lib/telegram-bot/models/inline_query_result_cached_video.rb +336 -0
  321. data/lib/telegram-bot/models/inline_query_result_cached_voice.rb +326 -0
  322. data/lib/telegram-bot/models/inline_query_result_contact.rb +344 -0
  323. data/lib/telegram-bot/models/inline_query_result_document.rb +383 -0
  324. data/lib/telegram-bot/models/inline_query_result_game.rb +267 -0
  325. data/lib/telegram-bot/models/inline_query_result_gif.rb +376 -0
  326. data/lib/telegram-bot/models/inline_query_result_location.rb +381 -0
  327. data/lib/telegram-bot/models/inline_query_result_mpeg4_gif.rb +376 -0
  328. data/lib/telegram-bot/models/inline_query_result_photo.rb +366 -0
  329. data/lib/telegram-bot/models/inline_query_result_venue.rb +398 -0
  330. data/lib/telegram-bot/models/inline_query_result_video.rb +400 -0
  331. data/lib/telegram-bot/models/inline_query_result_voice.rb +336 -0
  332. data/lib/telegram-bot/models/inline_query_results_button.rb +243 -0
  333. data/lib/telegram-bot/models/input_contact_message_content.rb +260 -0
  334. data/lib/telegram-bot/models/input_invoice_message_content.rb +452 -0
  335. data/lib/telegram-bot/models/input_location_message_content.rb +280 -0
  336. data/lib/telegram-bot/models/input_media_animation.rb +324 -0
  337. data/lib/telegram-bot/models/input_media_audio.rb +314 -0
  338. data/lib/telegram-bot/models/input_media_document.rb +294 -0
  339. data/lib/telegram-bot/models/input_media_photo.rb +282 -0
  340. data/lib/telegram-bot/models/input_media_video.rb +334 -0
  341. data/lib/telegram-bot/models/input_sticker.rb +283 -0
  342. data/lib/telegram-bot/models/input_text_message_content.rb +255 -0
  343. data/lib/telegram-bot/models/input_venue_message_content.rb +314 -0
  344. data/lib/telegram-bot/models/invoice.rb +291 -0
  345. data/lib/telegram-bot/models/keyboard_button.rb +283 -0
  346. data/lib/telegram-bot/models/keyboard_button_poll_type.rb +216 -0
  347. data/lib/telegram-bot/models/keyboard_button_request_chat.rb +330 -0
  348. data/lib/telegram-bot/models/keyboard_button_request_users.rb +283 -0
  349. data/lib/telegram-bot/models/labeled_price.rb +240 -0
  350. data/lib/telegram-bot/models/link_preview_options.rb +256 -0
  351. data/lib/telegram-bot/models/location.rb +280 -0
  352. data/lib/telegram-bot/models/login_url.rb +253 -0
  353. data/lib/telegram-bot/models/mask_position.rb +274 -0
  354. data/lib/telegram-bot/models/menu_button_commands.rb +223 -0
  355. data/lib/telegram-bot/models/menu_button_default.rb +223 -0
  356. data/lib/telegram-bot/models/menu_button_web_app.rb +257 -0
  357. data/lib/telegram-bot/models/message.rb +1037 -0
  358. data/lib/telegram-bot/models/message_auto_delete_timer_changed.rb +223 -0
  359. data/lib/telegram-bot/models/message_entity.rb +297 -0
  360. data/lib/telegram-bot/models/message_id.rb +223 -0
  361. data/lib/telegram-bot/models/message_origin_channel.rb +284 -0
  362. data/lib/telegram-bot/models/message_origin_chat.rb +267 -0
  363. data/lib/telegram-bot/models/message_origin_hidden_user.rb +257 -0
  364. data/lib/telegram-bot/models/message_origin_user.rb +257 -0
  365. data/lib/telegram-bot/models/message_reaction_count_updated.rb +276 -0
  366. data/lib/telegram-bot/models/message_reaction_updated.rb +315 -0
  367. data/lib/telegram-bot/models/order_info.rb +246 -0
  368. data/lib/telegram-bot/models/passport_data.rb +242 -0
  369. data/lib/telegram-bot/models/passport_element_error_data_field.rb +291 -0
  370. data/lib/telegram-bot/models/passport_element_error_file.rb +274 -0
  371. data/lib/telegram-bot/models/passport_element_error_files.rb +276 -0
  372. data/lib/telegram-bot/models/passport_element_error_front_side.rb +274 -0
  373. data/lib/telegram-bot/models/passport_element_error_reverse_side.rb +274 -0
  374. data/lib/telegram-bot/models/passport_element_error_selfie.rb +274 -0
  375. data/lib/telegram-bot/models/passport_element_error_translation_file.rb +274 -0
  376. data/lib/telegram-bot/models/passport_element_error_translation_files.rb +276 -0
  377. data/lib/telegram-bot/models/passport_element_error_unspecified.rb +274 -0
  378. data/lib/telegram-bot/models/passport_file.rb +274 -0
  379. data/lib/telegram-bot/models/photo_size.rb +284 -0
  380. data/lib/telegram-bot/models/poll.rb +396 -0
  381. data/lib/telegram-bot/models/poll_answer.rb +262 -0
  382. data/lib/telegram-bot/models/poll_option.rb +240 -0
  383. data/lib/telegram-bot/models/pre_checkout_query.rb +311 -0
  384. data/lib/telegram-bot/models/proximity_alert_triggered.rb +257 -0
  385. data/lib/telegram-bot/models/reaction_count.rb +240 -0
  386. data/lib/telegram-bot/models/reaction_type_custom_emoji.rb +240 -0
  387. data/lib/telegram-bot/models/reaction_type_emoji.rb +240 -0
  388. data/lib/telegram-bot/models/reply_keyboard_markup.rb +275 -0
  389. data/lib/telegram-bot/models/reply_keyboard_remove.rb +233 -0
  390. data/lib/telegram-bot/models/reply_parameters.rb +287 -0
  391. data/lib/telegram-bot/models/response_parameters.rb +226 -0
  392. data/lib/telegram-bot/models/send_media_group200_response.rb +225 -0
  393. data/lib/telegram-bot/models/send_media_group_media_parameter_value.rb +107 -0
  394. data/lib/telegram-bot/models/send_message200_response.rb +223 -0
  395. data/lib/telegram-bot/models/send_message_chat_id_parameter_value.rb +105 -0
  396. data/lib/telegram-bot/models/send_message_reply_markup_parameter_value.rb +107 -0
  397. data/lib/telegram-bot/models/send_photo_photo_parameter_value.rb +105 -0
  398. data/lib/telegram-bot/models/sent_web_app_message.rb +216 -0
  399. data/lib/telegram-bot/models/set_webhook200_response.rb +223 -0
  400. data/lib/telegram-bot/models/shared_user.rb +265 -0
  401. data/lib/telegram-bot/models/shipping_address.rb +308 -0
  402. data/lib/telegram-bot/models/shipping_option.rb +259 -0
  403. data/lib/telegram-bot/models/shipping_query.rb +274 -0
  404. data/lib/telegram-bot/models/sticker.rb +405 -0
  405. data/lib/telegram-bot/models/sticker_set.rb +286 -0
  406. data/lib/telegram-bot/models/stop_poll200_response.rb +223 -0
  407. data/lib/telegram-bot/models/story.rb +240 -0
  408. data/lib/telegram-bot/models/successful_payment.rb +311 -0
  409. data/lib/telegram-bot/models/switch_inline_query_chosen_chat.rb +256 -0
  410. data/lib/telegram-bot/models/text_quote.rb +262 -0
  411. data/lib/telegram-bot/models/update.rb +443 -0
  412. data/lib/telegram-bot/models/user.rb +347 -0
  413. data/lib/telegram-bot/models/user_chat_boosts.rb +225 -0
  414. data/lib/telegram-bot/models/user_profile_photos.rb +242 -0
  415. data/lib/telegram-bot/models/users_shared.rb +242 -0
  416. data/lib/telegram-bot/models/venue.rb +297 -0
  417. data/lib/telegram-bot/models/video.rb +331 -0
  418. data/lib/telegram-bot/models/video_chat_ended.rb +223 -0
  419. data/lib/telegram-bot/models/video_chat_participants_invited.rb +225 -0
  420. data/lib/telegram-bot/models/video_chat_scheduled.rb +223 -0
  421. data/lib/telegram-bot/models/video_note.rb +294 -0
  422. data/lib/telegram-bot/models/voice.rb +277 -0
  423. data/lib/telegram-bot/models/web_app_data.rb +240 -0
  424. data/lib/telegram-bot/models/web_app_info.rb +223 -0
  425. data/lib/telegram-bot/models/webhook_info.rb +319 -0
  426. data/lib/telegram-bot/models/write_access_allowed.rb +236 -0
  427. data/lib/telegram-bot/version.rb +15 -0
  428. data/lib/telegram-bot.rb +248 -0
  429. data/spec/api/default_api_spec.rb +1904 -0
  430. data/spec/models/animation_spec.rb +84 -0
  431. data/spec/models/answer_web_app_query200_response_spec.rb +42 -0
  432. data/spec/models/audio_spec.rb +84 -0
  433. data/spec/models/birthdate_spec.rb +48 -0
  434. data/spec/models/bot_command_scope_all_chat_administrators_spec.rb +36 -0
  435. data/spec/models/bot_command_scope_all_group_chats_spec.rb +36 -0
  436. data/spec/models/bot_command_scope_all_private_chats_spec.rb +36 -0
  437. data/spec/models/bot_command_scope_chat_administrators_spec.rb +42 -0
  438. data/spec/models/bot_command_scope_chat_member_spec.rb +48 -0
  439. data/spec/models/bot_command_scope_chat_spec.rb +42 -0
  440. data/spec/models/bot_command_scope_default_spec.rb +36 -0
  441. data/spec/models/bot_command_spec.rb +42 -0
  442. data/spec/models/bot_description_spec.rb +36 -0
  443. data/spec/models/bot_name_spec.rb +36 -0
  444. data/spec/models/bot_short_description_spec.rb +36 -0
  445. data/spec/models/business_connection_spec.rb +66 -0
  446. data/spec/models/business_intro_spec.rb +48 -0
  447. data/spec/models/business_location_spec.rb +42 -0
  448. data/spec/models/business_messages_deleted_spec.rb +48 -0
  449. data/spec/models/business_opening_hours_interval_spec.rb +42 -0
  450. data/spec/models/business_opening_hours_spec.rb +42 -0
  451. data/spec/models/callback_query_spec.rb +72 -0
  452. data/spec/models/chat_administrator_rights_spec.rb +120 -0
  453. data/spec/models/chat_boost_added_spec.rb +36 -0
  454. data/spec/models/chat_boost_removed_spec.rb +54 -0
  455. data/spec/models/chat_boost_source_gift_code_spec.rb +42 -0
  456. data/spec/models/chat_boost_source_giveaway_spec.rb +54 -0
  457. data/spec/models/chat_boost_source_premium_spec.rb +42 -0
  458. data/spec/models/chat_boost_spec.rb +54 -0
  459. data/spec/models/chat_boost_updated_spec.rb +42 -0
  460. data/spec/models/chat_invite_link_spec.rb +84 -0
  461. data/spec/models/chat_join_request_spec.rb +66 -0
  462. data/spec/models/chat_location_spec.rb +42 -0
  463. data/spec/models/chat_member_administrator_spec.rb +144 -0
  464. data/spec/models/chat_member_banned_spec.rb +48 -0
  465. data/spec/models/chat_member_left_spec.rb +42 -0
  466. data/spec/models/chat_member_member_spec.rb +42 -0
  467. data/spec/models/chat_member_owner_spec.rb +54 -0
  468. data/spec/models/chat_member_restricted_spec.rb +138 -0
  469. data/spec/models/chat_member_updated_spec.rb +72 -0
  470. data/spec/models/chat_permissions_spec.rb +114 -0
  471. data/spec/models/chat_photo_spec.rb +54 -0
  472. data/spec/models/chat_shared_spec.rb +60 -0
  473. data/spec/models/chat_spec.rb +282 -0
  474. data/spec/models/chosen_inline_result_spec.rb +60 -0
  475. data/spec/models/contact_spec.rb +60 -0
  476. data/spec/models/copy_message200_response_spec.rb +42 -0
  477. data/spec/models/create_chat_invite_link200_response_spec.rb +42 -0
  478. data/spec/models/create_forum_topic200_response_spec.rb +42 -0
  479. data/spec/models/dice_spec.rb +42 -0
  480. data/spec/models/document_spec.rb +66 -0
  481. data/spec/models/edit_message_text200_response_result_value_spec.rb +32 -0
  482. data/spec/models/edit_message_text200_response_spec.rb +42 -0
  483. data/spec/models/encrypted_credentials_spec.rb +48 -0
  484. data/spec/models/encrypted_passport_element_spec.rb +90 -0
  485. data/spec/models/export_chat_invite_link200_response_spec.rb +42 -0
  486. data/spec/models/external_reply_info_spec.rb +168 -0
  487. data/spec/models/file_spec.rb +54 -0
  488. data/spec/models/force_reply_spec.rb +48 -0
  489. data/spec/models/forum_topic_created_spec.rb +48 -0
  490. data/spec/models/forum_topic_edited_spec.rb +42 -0
  491. data/spec/models/forum_topic_spec.rb +54 -0
  492. data/spec/models/forward_messages200_response_spec.rb +42 -0
  493. data/spec/models/game_high_score_spec.rb +48 -0
  494. data/spec/models/game_spec.rb +66 -0
  495. data/spec/models/get_business_connection200_response_spec.rb +42 -0
  496. data/spec/models/get_chat200_response_spec.rb +42 -0
  497. data/spec/models/get_chat_administrators200_response_spec.rb +42 -0
  498. data/spec/models/get_chat_member200_response_spec.rb +42 -0
  499. data/spec/models/get_chat_member_count200_response_spec.rb +42 -0
  500. data/spec/models/get_chat_menu_button200_response_spec.rb +42 -0
  501. data/spec/models/get_file200_response_spec.rb +42 -0
  502. data/spec/models/get_forum_topic_icon_stickers200_response_spec.rb +42 -0
  503. data/spec/models/get_game_high_scores200_response_spec.rb +42 -0
  504. data/spec/models/get_me200_response_spec.rb +42 -0
  505. data/spec/models/get_my_commands200_response_spec.rb +42 -0
  506. data/spec/models/get_my_default_administrator_rights200_response_spec.rb +42 -0
  507. data/spec/models/get_my_description200_response_spec.rb +42 -0
  508. data/spec/models/get_my_name200_response_spec.rb +42 -0
  509. data/spec/models/get_my_short_description200_response_spec.rb +42 -0
  510. data/spec/models/get_sticker_set200_response_spec.rb +42 -0
  511. data/spec/models/get_updates200_response_spec.rb +42 -0
  512. data/spec/models/get_updates4_xx_response_spec.rb +48 -0
  513. data/spec/models/get_user_chat_boosts200_response_spec.rb +42 -0
  514. data/spec/models/get_user_profile_photos200_response_spec.rb +42 -0
  515. data/spec/models/get_webhook_info200_response_spec.rb +42 -0
  516. data/spec/models/giveaway_completed_spec.rb +48 -0
  517. data/spec/models/giveaway_spec.rb +78 -0
  518. data/spec/models/giveaway_winners_spec.rb +96 -0
  519. data/spec/models/inaccessible_message_spec.rb +48 -0
  520. data/spec/models/inline_keyboard_button_spec.rb +90 -0
  521. data/spec/models/inline_keyboard_markup_spec.rb +36 -0
  522. data/spec/models/inline_query_result_article_spec.rb +96 -0
  523. data/spec/models/inline_query_result_audio_spec.rb +96 -0
  524. data/spec/models/inline_query_result_cached_audio_spec.rb +78 -0
  525. data/spec/models/inline_query_result_cached_document_spec.rb +90 -0
  526. data/spec/models/inline_query_result_cached_gif_spec.rb +84 -0
  527. data/spec/models/inline_query_result_cached_mpeg4_gif_spec.rb +84 -0
  528. data/spec/models/inline_query_result_cached_photo_spec.rb +90 -0
  529. data/spec/models/inline_query_result_cached_sticker_spec.rb +60 -0
  530. data/spec/models/inline_query_result_cached_video_spec.rb +90 -0
  531. data/spec/models/inline_query_result_cached_voice_spec.rb +84 -0
  532. data/spec/models/inline_query_result_contact_spec.rb +96 -0
  533. data/spec/models/inline_query_result_document_spec.rb +114 -0
  534. data/spec/models/inline_query_result_game_spec.rb +54 -0
  535. data/spec/models/inline_query_result_gif_spec.rb +114 -0
  536. data/spec/models/inline_query_result_location_spec.rb +114 -0
  537. data/spec/models/inline_query_result_mpeg4_gif_spec.rb +114 -0
  538. data/spec/models/inline_query_result_photo_spec.rb +108 -0
  539. data/spec/models/inline_query_result_venue_spec.rb +120 -0
  540. data/spec/models/inline_query_result_video_spec.rb +120 -0
  541. data/spec/models/inline_query_result_voice_spec.rb +90 -0
  542. data/spec/models/inline_query_results_button_spec.rb +48 -0
  543. data/spec/models/inline_query_spec.rb +66 -0
  544. data/spec/models/input_contact_message_content_spec.rb +54 -0
  545. data/spec/models/input_invoice_message_content_spec.rb +150 -0
  546. data/spec/models/input_location_message_content_spec.rb +66 -0
  547. data/spec/models/input_media_animation_spec.rb +90 -0
  548. data/spec/models/input_media_audio_spec.rb +84 -0
  549. data/spec/models/input_media_document_spec.rb +72 -0
  550. data/spec/models/input_media_photo_spec.rb +66 -0
  551. data/spec/models/input_media_video_spec.rb +96 -0
  552. data/spec/models/input_sticker_spec.rb +60 -0
  553. data/spec/models/input_text_message_content_spec.rb +54 -0
  554. data/spec/models/input_venue_message_content_spec.rb +78 -0
  555. data/spec/models/invoice_spec.rb +60 -0
  556. data/spec/models/keyboard_button_poll_type_spec.rb +36 -0
  557. data/spec/models/keyboard_button_request_chat_spec.rb +96 -0
  558. data/spec/models/keyboard_button_request_users_spec.rb +72 -0
  559. data/spec/models/keyboard_button_spec.rb +72 -0
  560. data/spec/models/labeled_price_spec.rb +42 -0
  561. data/spec/models/link_preview_options_spec.rb +60 -0
  562. data/spec/models/location_spec.rb +66 -0
  563. data/spec/models/login_url_spec.rb +54 -0
  564. data/spec/models/mask_position_spec.rb +54 -0
  565. data/spec/models/menu_button_commands_spec.rb +36 -0
  566. data/spec/models/menu_button_default_spec.rb +36 -0
  567. data/spec/models/menu_button_web_app_spec.rb +48 -0
  568. data/spec/models/message_auto_delete_timer_changed_spec.rb +36 -0
  569. data/spec/models/message_entity_spec.rb +72 -0
  570. data/spec/models/message_id_spec.rb +36 -0
  571. data/spec/models/message_origin_channel_spec.rb +60 -0
  572. data/spec/models/message_origin_chat_spec.rb +54 -0
  573. data/spec/models/message_origin_hidden_user_spec.rb +48 -0
  574. data/spec/models/message_origin_user_spec.rb +48 -0
  575. data/spec/models/message_reaction_count_updated_spec.rb +54 -0
  576. data/spec/models/message_reaction_updated_spec.rb +72 -0
  577. data/spec/models/message_spec.rb +510 -0
  578. data/spec/models/order_info_spec.rb +54 -0
  579. data/spec/models/passport_data_spec.rb +42 -0
  580. data/spec/models/passport_element_error_data_field_spec.rb +60 -0
  581. data/spec/models/passport_element_error_file_spec.rb +54 -0
  582. data/spec/models/passport_element_error_files_spec.rb +54 -0
  583. data/spec/models/passport_element_error_front_side_spec.rb +54 -0
  584. data/spec/models/passport_element_error_reverse_side_spec.rb +54 -0
  585. data/spec/models/passport_element_error_selfie_spec.rb +54 -0
  586. data/spec/models/passport_element_error_translation_file_spec.rb +54 -0
  587. data/spec/models/passport_element_error_translation_files_spec.rb +54 -0
  588. data/spec/models/passport_element_error_unspecified_spec.rb +54 -0
  589. data/spec/models/passport_file_spec.rb +54 -0
  590. data/spec/models/photo_size_spec.rb +60 -0
  591. data/spec/models/poll_answer_spec.rb +54 -0
  592. data/spec/models/poll_option_spec.rb +42 -0
  593. data/spec/models/poll_spec.rb +108 -0
  594. data/spec/models/pre_checkout_query_spec.rb +72 -0
  595. data/spec/models/proximity_alert_triggered_spec.rb +48 -0
  596. data/spec/models/reaction_count_spec.rb +42 -0
  597. data/spec/models/reaction_type_custom_emoji_spec.rb +42 -0
  598. data/spec/models/reaction_type_emoji_spec.rb +42 -0
  599. data/spec/models/reply_keyboard_markup_spec.rb +66 -0
  600. data/spec/models/reply_keyboard_remove_spec.rb +42 -0
  601. data/spec/models/reply_parameters_spec.rb +72 -0
  602. data/spec/models/response_parameters_spec.rb +42 -0
  603. data/spec/models/send_media_group200_response_spec.rb +42 -0
  604. data/spec/models/send_media_group_media_parameter_value_spec.rb +32 -0
  605. data/spec/models/send_message200_response_spec.rb +42 -0
  606. data/spec/models/send_message_chat_id_parameter_value_spec.rb +32 -0
  607. data/spec/models/send_message_reply_markup_parameter_value_spec.rb +32 -0
  608. data/spec/models/send_photo_photo_parameter_value_spec.rb +32 -0
  609. data/spec/models/sent_web_app_message_spec.rb +36 -0
  610. data/spec/models/set_webhook200_response_spec.rb +42 -0
  611. data/spec/models/shared_user_spec.rb +60 -0
  612. data/spec/models/shipping_address_spec.rb +66 -0
  613. data/spec/models/shipping_option_spec.rb +48 -0
  614. data/spec/models/shipping_query_spec.rb +54 -0
  615. data/spec/models/sticker_set_spec.rb +60 -0
  616. data/spec/models/sticker_spec.rb +120 -0
  617. data/spec/models/stop_poll200_response_spec.rb +42 -0
  618. data/spec/models/story_spec.rb +42 -0
  619. data/spec/models/successful_payment_spec.rb +72 -0
  620. data/spec/models/switch_inline_query_chosen_chat_spec.rb +60 -0
  621. data/spec/models/text_quote_spec.rb +54 -0
  622. data/spec/models/update_spec.rb +168 -0
  623. data/spec/models/user_chat_boosts_spec.rb +36 -0
  624. data/spec/models/user_profile_photos_spec.rb +42 -0
  625. data/spec/models/user_spec.rb +102 -0
  626. data/spec/models/users_shared_spec.rb +42 -0
  627. data/spec/models/venue_spec.rb +72 -0
  628. data/spec/models/video_chat_ended_spec.rb +36 -0
  629. data/spec/models/video_chat_participants_invited_spec.rb +36 -0
  630. data/spec/models/video_chat_scheduled_spec.rb +36 -0
  631. data/spec/models/video_note_spec.rb +66 -0
  632. data/spec/models/video_spec.rb +84 -0
  633. data/spec/models/voice_spec.rb +60 -0
  634. data/spec/models/web_app_data_spec.rb +42 -0
  635. data/spec/models/web_app_info_spec.rb +36 -0
  636. data/spec/models/webhook_info_spec.rb +84 -0
  637. data/spec/models/write_access_allowed_spec.rb +48 -0
  638. data/spec/spec_helper.rb +111 -0
  639. data/telegram-bot-7.2.0.gem +0 -0
  640. data/telegram-bot-openapi-7.2.0.gem +0 -0
  641. data/telegram-bot.gemspec +40 -0
  642. metadata +934 -0
@@ -0,0 +1,1904 @@
1
+ =begin
2
+ #telegram-bot-api
3
+
4
+ #Unofficial telegram-bot-api OpenAPI spec. Generated from the Bot API docs at https://core.telegram.org/bots/api
5
+
6
+ The version of the OpenAPI document: Bot API 7.2
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.7.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for TelegramBot::DefaultApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DefaultApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TelegramBot::DefaultApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DefaultApi' do
30
+ it 'should create an instance of DefaultApi' do
31
+ expect(@api_instance).to be_instance_of(TelegramBot::DefaultApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_sticker_to_set
36
+ # addStickerToSet
37
+ # Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success.
38
+ # @param user_id
39
+ # @param name
40
+ # @param sticker
41
+ # @param [Hash] opts the optional parameters
42
+ # @return [SetWebhook200Response]
43
+ describe 'add_sticker_to_set test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for answer_callback_query
50
+ # answerCallbackQuery
51
+ # Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
52
+ # @param callback_query_id
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :text
55
+ # @option opts [Boolean] :show_alert
56
+ # @option opts [String] :url
57
+ # @option opts [Integer] :cache_time
58
+ # @return [SetWebhook200Response]
59
+ describe 'answer_callback_query test' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
62
+ end
63
+ end
64
+
65
+ # unit tests for answer_inline_query
66
+ # answerInlineQuery
67
+ # Use this method to send answers to an inline query. On success, True is returned. No more than 50 results per query are allowed.
68
+ # @param inline_query_id
69
+ # @param results
70
+ # @param [Hash] opts the optional parameters
71
+ # @option opts [Integer] :cache_time
72
+ # @option opts [Boolean] :is_personal
73
+ # @option opts [String] :next_offset
74
+ # @option opts [InlineQueryResultsButton] :button
75
+ # @return [SetWebhook200Response]
76
+ describe 'answer_inline_query test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ # unit tests for answer_pre_checkout_query
83
+ # answerPreCheckoutQuery
84
+ # Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent.
85
+ # @param pre_checkout_query_id
86
+ # @param ok
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [String] :error_message
89
+ # @return [SetWebhook200Response]
90
+ describe 'answer_pre_checkout_query test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ # unit tests for answer_shipping_query
97
+ # answerShippingQuery
98
+ # If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.
99
+ # @param shipping_query_id
100
+ # @param ok
101
+ # @param [Hash] opts the optional parameters
102
+ # @option opts [Array<ShippingOption>] :shipping_options
103
+ # @option opts [String] :error_message
104
+ # @return [SetWebhook200Response]
105
+ describe 'answer_shipping_query test' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
108
+ end
109
+ end
110
+
111
+ # unit tests for answer_web_app_query
112
+ # answerWebAppQuery
113
+ # Use this method to set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated. On success, a SentWebAppMessage object is returned.
114
+ # @param web_app_query_id
115
+ # @param result
116
+ # @param [Hash] opts the optional parameters
117
+ # @return [AnswerWebAppQuery200Response]
118
+ describe 'answer_web_app_query test' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
121
+ end
122
+ end
123
+
124
+ # unit tests for approve_chat_join_request
125
+ # approveChatJoinRequest
126
+ # Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
127
+ # @param chat_id
128
+ # @param user_id
129
+ # @param [Hash] opts the optional parameters
130
+ # @return [SetWebhook200Response]
131
+ describe 'approve_chat_join_request test' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
134
+ end
135
+ end
136
+
137
+ # unit tests for ban_chat_member
138
+ # banChatMember
139
+ # Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
140
+ # @param chat_id
141
+ # @param user_id
142
+ # @param [Hash] opts the optional parameters
143
+ # @option opts [Integer] :until_date
144
+ # @option opts [Boolean] :revoke_messages
145
+ # @return [SetWebhook200Response]
146
+ describe 'ban_chat_member test' do
147
+ it 'should work' do
148
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
149
+ end
150
+ end
151
+
152
+ # unit tests for ban_chat_sender_chat
153
+ # banChatSenderChat
154
+ # Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won&#39;t be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.
155
+ # @param chat_id
156
+ # @param sender_chat_id
157
+ # @param [Hash] opts the optional parameters
158
+ # @return [SetWebhook200Response]
159
+ describe 'ban_chat_sender_chat test' do
160
+ it 'should work' do
161
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
162
+ end
163
+ end
164
+
165
+ # unit tests for close
166
+ # close
167
+ # Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn&#39;t launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns True on success. Requires no parameters.
168
+ # @param [Hash] opts the optional parameters
169
+ # @return [SetWebhook200Response]
170
+ describe 'close test' do
171
+ it 'should work' do
172
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
173
+ end
174
+ end
175
+
176
+ # unit tests for close_forum_topic
177
+ # closeForumTopic
178
+ # Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
179
+ # @param chat_id
180
+ # @param message_thread_id
181
+ # @param [Hash] opts the optional parameters
182
+ # @return [SetWebhook200Response]
183
+ describe 'close_forum_topic test' do
184
+ it 'should work' do
185
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
186
+ end
187
+ end
188
+
189
+ # unit tests for close_general_forum_topic
190
+ # closeGeneralForumTopic
191
+ # Use this method to close an open &#39;General&#39; topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
192
+ # @param chat_id
193
+ # @param [Hash] opts the optional parameters
194
+ # @return [SetWebhook200Response]
195
+ describe 'close_general_forum_topic test' do
196
+ it 'should work' do
197
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
198
+ end
199
+ end
200
+
201
+ # unit tests for copy_message
202
+ # copyMessage
203
+ # Use this method to copy messages of any kind. Service messages, giveaway messages, giveaway winners messages, and invoice messages can&#39;t be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn&#39;t have a link to the original message. Returns the MessageId of the sent message on success.
204
+ # @param chat_id
205
+ # @param from_chat_id
206
+ # @param message_id
207
+ # @param [Hash] opts the optional parameters
208
+ # @option opts [Integer] :message_thread_id
209
+ # @option opts [String] :caption
210
+ # @option opts [String] :parse_mode
211
+ # @option opts [Array<MessageEntity>] :caption_entities
212
+ # @option opts [Boolean] :disable_notification
213
+ # @option opts [Boolean] :protect_content
214
+ # @option opts [ReplyParameters] :reply_parameters
215
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
216
+ # @return [CopyMessage200Response]
217
+ describe 'copy_message test' do
218
+ it 'should work' do
219
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
220
+ end
221
+ end
222
+
223
+ # unit tests for copy_messages
224
+ # copyMessages
225
+ # Use this method to copy messages of any kind. If some of the specified messages can&#39;t be found or copied, they are skipped. Service messages, giveaway messages, giveaway winners messages, and invoice messages can&#39;t be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don&#39;t have a link to the original message. Album grouping is kept for copied messages. On success, an array of MessageId of the sent messages is returned.
226
+ # @param chat_id
227
+ # @param from_chat_id
228
+ # @param message_ids
229
+ # @param [Hash] opts the optional parameters
230
+ # @option opts [Integer] :message_thread_id
231
+ # @option opts [Boolean] :disable_notification
232
+ # @option opts [Boolean] :protect_content
233
+ # @option opts [Boolean] :remove_caption
234
+ # @return [ForwardMessages200Response]
235
+ describe 'copy_messages test' do
236
+ it 'should work' do
237
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
238
+ end
239
+ end
240
+
241
+ # unit tests for create_chat_invite_link
242
+ # createChatInviteLink
243
+ # Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.
244
+ # @param chat_id
245
+ # @param [Hash] opts the optional parameters
246
+ # @option opts [String] :name
247
+ # @option opts [Integer] :expire_date
248
+ # @option opts [Integer] :member_limit
249
+ # @option opts [Boolean] :creates_join_request
250
+ # @return [CreateChatInviteLink200Response]
251
+ describe 'create_chat_invite_link test' do
252
+ it 'should work' do
253
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
254
+ end
255
+ end
256
+
257
+ # unit tests for create_forum_topic
258
+ # createForumTopic
259
+ # Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.
260
+ # @param chat_id
261
+ # @param name
262
+ # @param [Hash] opts the optional parameters
263
+ # @option opts [Integer] :icon_color
264
+ # @option opts [String] :icon_custom_emoji_id
265
+ # @return [CreateForumTopic200Response]
266
+ describe 'create_forum_topic test' do
267
+ it 'should work' do
268
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
269
+ end
270
+ end
271
+
272
+ # unit tests for create_invoice_link
273
+ # createInvoiceLink
274
+ # Use this method to create a link for an invoice. Returns the created invoice link as String on success.
275
+ # @param title
276
+ # @param description
277
+ # @param payload
278
+ # @param provider_token
279
+ # @param currency
280
+ # @param prices
281
+ # @param [Hash] opts the optional parameters
282
+ # @option opts [Integer] :max_tip_amount
283
+ # @option opts [Array<Integer>] :suggested_tip_amounts
284
+ # @option opts [String] :provider_data
285
+ # @option opts [String] :photo_url
286
+ # @option opts [Integer] :photo_size
287
+ # @option opts [Integer] :photo_width
288
+ # @option opts [Integer] :photo_height
289
+ # @option opts [Boolean] :need_name
290
+ # @option opts [Boolean] :need_phone_number
291
+ # @option opts [Boolean] :need_email
292
+ # @option opts [Boolean] :need_shipping_address
293
+ # @option opts [Boolean] :send_phone_number_to_provider
294
+ # @option opts [Boolean] :send_email_to_provider
295
+ # @option opts [Boolean] :is_flexible
296
+ # @return [ExportChatInviteLink200Response]
297
+ describe 'create_invoice_link test' do
298
+ it 'should work' do
299
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
300
+ end
301
+ end
302
+
303
+ # unit tests for create_new_sticker_set
304
+ # createNewStickerSet
305
+ # Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success.
306
+ # @param user_id
307
+ # @param name
308
+ # @param title
309
+ # @param stickers
310
+ # @param [Hash] opts the optional parameters
311
+ # @option opts [String] :sticker_type
312
+ # @option opts [Boolean] :needs_repainting
313
+ # @return [SetWebhook200Response]
314
+ describe 'create_new_sticker_set test' do
315
+ it 'should work' do
316
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
317
+ end
318
+ end
319
+
320
+ # unit tests for decline_chat_join_request
321
+ # declineChatJoinRequest
322
+ # Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
323
+ # @param chat_id
324
+ # @param user_id
325
+ # @param [Hash] opts the optional parameters
326
+ # @return [SetWebhook200Response]
327
+ describe 'decline_chat_join_request test' do
328
+ it 'should work' do
329
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
330
+ end
331
+ end
332
+
333
+ # unit tests for delete_chat_photo
334
+ # deleteChatPhoto
335
+ # Use this method to delete a chat photo. Photos can&#39;t be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
336
+ # @param chat_id
337
+ # @param [Hash] opts the optional parameters
338
+ # @return [SetWebhook200Response]
339
+ describe 'delete_chat_photo test' do
340
+ it 'should work' do
341
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
342
+ end
343
+ end
344
+
345
+ # unit tests for delete_chat_sticker_set
346
+ # deleteChatStickerSet
347
+ # Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
348
+ # @param chat_id
349
+ # @param [Hash] opts the optional parameters
350
+ # @return [SetWebhook200Response]
351
+ describe 'delete_chat_sticker_set test' do
352
+ it 'should work' do
353
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
354
+ end
355
+ end
356
+
357
+ # unit tests for delete_forum_topic
358
+ # deleteForumTopic
359
+ # Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
360
+ # @param chat_id
361
+ # @param message_thread_id
362
+ # @param [Hash] opts the optional parameters
363
+ # @return [SetWebhook200Response]
364
+ describe 'delete_forum_topic test' do
365
+ it 'should work' do
366
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
367
+ end
368
+ end
369
+
370
+ # unit tests for delete_message
371
+ # deleteMessage
372
+ # Use this method to delete a message, including service messages, with the following limitations: - A message can only be deleted if it was sent less than 48 hours ago. - Service messages about a supergroup, channel, or forum topic creation can&#39;t be deleted. - A dice message in a private chat can only be deleted if it was sent more than 24 hours ago. - Bots can delete outgoing messages in private chats, groups, and supergroups. - Bots can delete incoming messages in private chats. - Bots granted can_post_messages permissions can delete outgoing messages in channels. - If the bot is an administrator of a group, it can delete any message there. - If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there. Returns True on success.
373
+ # @param chat_id
374
+ # @param message_id
375
+ # @param [Hash] opts the optional parameters
376
+ # @return [SetWebhook200Response]
377
+ describe 'delete_message test' do
378
+ it 'should work' do
379
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
380
+ end
381
+ end
382
+
383
+ # unit tests for delete_messages
384
+ # deleteMessages
385
+ # Use this method to delete multiple messages simultaneously. If some of the specified messages can&#39;t be found, they are skipped. Returns True on success.
386
+ # @param chat_id
387
+ # @param message_ids
388
+ # @param [Hash] opts the optional parameters
389
+ # @return [SetWebhook200Response]
390
+ describe 'delete_messages test' do
391
+ it 'should work' do
392
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
393
+ end
394
+ end
395
+
396
+ # unit tests for delete_my_commands
397
+ # deleteMyCommands
398
+ # Use this method to delete the list of the bot&#39;s commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success.
399
+ # @param [Hash] opts the optional parameters
400
+ # @option opts [Object] :scope
401
+ # @option opts [String] :language_code
402
+ # @return [SetWebhook200Response]
403
+ describe 'delete_my_commands test' do
404
+ it 'should work' do
405
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
406
+ end
407
+ end
408
+
409
+ # unit tests for delete_sticker_from_set
410
+ # deleteStickerFromSet
411
+ # Use this method to delete a sticker from a set created by the bot. Returns True on success.
412
+ # @param sticker
413
+ # @param [Hash] opts the optional parameters
414
+ # @return [SetWebhook200Response]
415
+ describe 'delete_sticker_from_set test' do
416
+ it 'should work' do
417
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
418
+ end
419
+ end
420
+
421
+ # unit tests for delete_sticker_set
422
+ # deleteStickerSet
423
+ # Use this method to delete a sticker set that was created by the bot. Returns True on success.
424
+ # @param name
425
+ # @param [Hash] opts the optional parameters
426
+ # @return [SetWebhook200Response]
427
+ describe 'delete_sticker_set test' do
428
+ it 'should work' do
429
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
430
+ end
431
+ end
432
+
433
+ # unit tests for delete_webhook
434
+ # deleteWebhook
435
+ # Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
436
+ # @param [Hash] opts the optional parameters
437
+ # @option opts [Boolean] :drop_pending_updates
438
+ # @return [SetWebhook200Response]
439
+ describe 'delete_webhook test' do
440
+ it 'should work' do
441
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
442
+ end
443
+ end
444
+
445
+ # unit tests for edit_chat_invite_link
446
+ # editChatInviteLink
447
+ # Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as a ChatInviteLink object.
448
+ # @param chat_id
449
+ # @param invite_link
450
+ # @param [Hash] opts the optional parameters
451
+ # @option opts [String] :name
452
+ # @option opts [Integer] :expire_date
453
+ # @option opts [Integer] :member_limit
454
+ # @option opts [Boolean] :creates_join_request
455
+ # @return [CreateChatInviteLink200Response]
456
+ describe 'edit_chat_invite_link test' do
457
+ it 'should work' do
458
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
459
+ end
460
+ end
461
+
462
+ # unit tests for edit_forum_topic
463
+ # editForumTopic
464
+ # Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
465
+ # @param chat_id
466
+ # @param message_thread_id
467
+ # @param [Hash] opts the optional parameters
468
+ # @option opts [String] :name
469
+ # @option opts [String] :icon_custom_emoji_id
470
+ # @return [SetWebhook200Response]
471
+ describe 'edit_forum_topic test' do
472
+ it 'should work' do
473
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
474
+ end
475
+ end
476
+
477
+ # unit tests for edit_general_forum_topic
478
+ # editGeneralForumTopic
479
+ # Use this method to edit the name of the &#39;General&#39; topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights. Returns True on success.
480
+ # @param chat_id
481
+ # @param name
482
+ # @param [Hash] opts the optional parameters
483
+ # @return [SetWebhook200Response]
484
+ describe 'edit_general_forum_topic test' do
485
+ it 'should work' do
486
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
487
+ end
488
+ end
489
+
490
+ # unit tests for edit_message_caption
491
+ # editMessageCaption
492
+ # Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
493
+ # @param [Hash] opts the optional parameters
494
+ # @option opts [Hash<String, SendMessageChatIdParameterValue>] :chat_id
495
+ # @option opts [Integer] :message_id
496
+ # @option opts [String] :inline_message_id
497
+ # @option opts [String] :caption
498
+ # @option opts [String] :parse_mode
499
+ # @option opts [Array<MessageEntity>] :caption_entities
500
+ # @option opts [InlineKeyboardMarkup] :reply_markup
501
+ # @return [EditMessageText200Response]
502
+ describe 'edit_message_caption test' do
503
+ it 'should work' do
504
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
505
+ end
506
+ end
507
+
508
+ # unit tests for edit_message_live_location
509
+ # editMessageLiveLocation
510
+ # Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
511
+ # @param latitude
512
+ # @param longitude
513
+ # @param [Hash] opts the optional parameters
514
+ # @option opts [Hash<String, SendMessageChatIdParameterValue>] :chat_id
515
+ # @option opts [Integer] :message_id
516
+ # @option opts [String] :inline_message_id
517
+ # @option opts [Float] :horizontal_accuracy
518
+ # @option opts [Integer] :heading
519
+ # @option opts [Integer] :proximity_alert_radius
520
+ # @option opts [InlineKeyboardMarkup] :reply_markup
521
+ # @return [EditMessageText200Response]
522
+ describe 'edit_message_live_location test' do
523
+ it 'should work' do
524
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
525
+ end
526
+ end
527
+
528
+ # unit tests for edit_message_media
529
+ # editMessageMedia
530
+ # Use this method to edit animation, audio, document, photo, or video messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can&#39;t be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
531
+ # @param media
532
+ # @param [Hash] opts the optional parameters
533
+ # @option opts [Hash<String, SendMessageChatIdParameterValue>] :chat_id
534
+ # @option opts [Integer] :message_id
535
+ # @option opts [String] :inline_message_id
536
+ # @option opts [InlineKeyboardMarkup] :reply_markup
537
+ # @return [EditMessageText200Response]
538
+ describe 'edit_message_media test' do
539
+ it 'should work' do
540
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
541
+ end
542
+ end
543
+
544
+ # unit tests for edit_message_reply_markup
545
+ # editMessageReplyMarkup
546
+ # Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
547
+ # @param [Hash] opts the optional parameters
548
+ # @option opts [Hash<String, SendMessageChatIdParameterValue>] :chat_id
549
+ # @option opts [Integer] :message_id
550
+ # @option opts [String] :inline_message_id
551
+ # @option opts [InlineKeyboardMarkup] :reply_markup
552
+ # @return [EditMessageText200Response]
553
+ describe 'edit_message_reply_markup test' do
554
+ it 'should work' do
555
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
556
+ end
557
+ end
558
+
559
+ # unit tests for edit_message_text
560
+ # editMessageText
561
+ # Use this method to edit text and game messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
562
+ # @param text
563
+ # @param [Hash] opts the optional parameters
564
+ # @option opts [Hash<String, SendMessageChatIdParameterValue>] :chat_id
565
+ # @option opts [Integer] :message_id
566
+ # @option opts [String] :inline_message_id
567
+ # @option opts [String] :parse_mode
568
+ # @option opts [Array<MessageEntity>] :entities
569
+ # @option opts [LinkPreviewOptions] :link_preview_options
570
+ # @option opts [InlineKeyboardMarkup] :reply_markup
571
+ # @return [EditMessageText200Response]
572
+ describe 'edit_message_text test' do
573
+ it 'should work' do
574
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
575
+ end
576
+ end
577
+
578
+ # unit tests for export_chat_invite_link
579
+ # exportChatInviteLink
580
+ # Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the new invite link as String on success.
581
+ # @param chat_id
582
+ # @param [Hash] opts the optional parameters
583
+ # @return [ExportChatInviteLink200Response]
584
+ describe 'export_chat_invite_link test' do
585
+ it 'should work' do
586
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
587
+ end
588
+ end
589
+
590
+ # unit tests for forward_message
591
+ # forwardMessage
592
+ # Use this method to forward messages of any kind. Service messages and messages with protected content can&#39;t be forwarded. On success, the sent Message is returned.
593
+ # @param chat_id
594
+ # @param from_chat_id
595
+ # @param message_id
596
+ # @param [Hash] opts the optional parameters
597
+ # @option opts [Integer] :message_thread_id
598
+ # @option opts [Boolean] :disable_notification
599
+ # @option opts [Boolean] :protect_content
600
+ # @return [SendMessage200Response]
601
+ describe 'forward_message test' do
602
+ it 'should work' do
603
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
604
+ end
605
+ end
606
+
607
+ # unit tests for forward_messages
608
+ # forwardMessages
609
+ # Use this method to forward multiple messages of any kind. If some of the specified messages can&#39;t be found or forwarded, they are skipped. Service messages and messages with protected content can&#39;t be forwarded. Album grouping is kept for forwarded messages. On success, an array of MessageId of the sent messages is returned.
610
+ # @param chat_id
611
+ # @param from_chat_id
612
+ # @param message_ids
613
+ # @param [Hash] opts the optional parameters
614
+ # @option opts [Integer] :message_thread_id
615
+ # @option opts [Boolean] :disable_notification
616
+ # @option opts [Boolean] :protect_content
617
+ # @return [ForwardMessages200Response]
618
+ describe 'forward_messages test' do
619
+ it 'should work' do
620
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
621
+ end
622
+ end
623
+
624
+ # unit tests for get_business_connection
625
+ # getBusinessConnection
626
+ # Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.
627
+ # @param business_connection_id
628
+ # @param [Hash] opts the optional parameters
629
+ # @return [GetBusinessConnection200Response]
630
+ describe 'get_business_connection test' do
631
+ it 'should work' do
632
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
633
+ end
634
+ end
635
+
636
+ # unit tests for get_chat
637
+ # getChat
638
+ # Use this method to get up to date information about the chat. Returns a Chat object on success.
639
+ # @param chat_id
640
+ # @param [Hash] opts the optional parameters
641
+ # @return [GetChat200Response]
642
+ describe 'get_chat test' do
643
+ it 'should work' do
644
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
645
+ end
646
+ end
647
+
648
+ # unit tests for get_chat_administrators
649
+ # getChatAdministrators
650
+ # Use this method to get a list of administrators in a chat, which aren&#39;t bots. Returns an Array of ChatMember objects.
651
+ # @param chat_id
652
+ # @param [Hash] opts the optional parameters
653
+ # @return [GetChatAdministrators200Response]
654
+ describe 'get_chat_administrators test' do
655
+ it 'should work' do
656
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
657
+ end
658
+ end
659
+
660
+ # unit tests for get_chat_member
661
+ # getChatMember
662
+ # Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a ChatMember object on success.
663
+ # @param chat_id
664
+ # @param user_id
665
+ # @param [Hash] opts the optional parameters
666
+ # @return [GetChatMember200Response]
667
+ describe 'get_chat_member test' do
668
+ it 'should work' do
669
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
670
+ end
671
+ end
672
+
673
+ # unit tests for get_chat_member_count
674
+ # getChatMemberCount
675
+ # Use this method to get the number of members in a chat. Returns Int on success.
676
+ # @param chat_id
677
+ # @param [Hash] opts the optional parameters
678
+ # @return [GetChatMemberCount200Response]
679
+ describe 'get_chat_member_count test' do
680
+ it 'should work' do
681
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
682
+ end
683
+ end
684
+
685
+ # unit tests for get_chat_menu_button
686
+ # getChatMenuButton
687
+ # Use this method to get the current value of the bot&#39;s menu button in a private chat, or the default menu button. Returns MenuButton on success.
688
+ # @param [Hash] opts the optional parameters
689
+ # @option opts [Integer] :chat_id
690
+ # @return [GetChatMenuButton200Response]
691
+ describe 'get_chat_menu_button test' do
692
+ it 'should work' do
693
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
694
+ end
695
+ end
696
+
697
+ # unit tests for get_custom_emoji_stickers
698
+ # getCustomEmojiStickers
699
+ # Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects.
700
+ # @param custom_emoji_ids
701
+ # @param [Hash] opts the optional parameters
702
+ # @return [GetForumTopicIconStickers200Response]
703
+ describe 'get_custom_emoji_stickers test' do
704
+ it 'should work' do
705
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
706
+ end
707
+ end
708
+
709
+ # unit tests for get_file
710
+ # getFile
711
+ # Use this method to get basic information about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a File object is returned. The file can then be downloaded via the link https://api.telegram.org/file/bot&lt;token&gt;/&lt;file_path&gt;, where &lt;file_path&gt; is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile again. Note: This function may not preserve the original file name and MIME type. You should save the file&#39;s MIME type and name (if available) when the File object is received.
712
+ # @param file_id
713
+ # @param [Hash] opts the optional parameters
714
+ # @return [GetFile200Response]
715
+ describe 'get_file test' do
716
+ it 'should work' do
717
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
718
+ end
719
+ end
720
+
721
+ # unit tests for get_forum_topic_icon_stickers
722
+ # getForumTopicIconStickers
723
+ # Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects.
724
+ # @param [Hash] opts the optional parameters
725
+ # @return [GetForumTopicIconStickers200Response]
726
+ describe 'get_forum_topic_icon_stickers test' do
727
+ it 'should work' do
728
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
729
+ end
730
+ end
731
+
732
+ # unit tests for get_game_high_scores
733
+ # getGameHighScores
734
+ # Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects.
735
+ # @param user_id
736
+ # @param [Hash] opts the optional parameters
737
+ # @option opts [Integer] :chat_id
738
+ # @option opts [Integer] :message_id
739
+ # @option opts [String] :inline_message_id
740
+ # @return [GetGameHighScores200Response]
741
+ describe 'get_game_high_scores test' do
742
+ it 'should work' do
743
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
744
+ end
745
+ end
746
+
747
+ # unit tests for get_me
748
+ # getMe
749
+ # A simple method for testing your bot&#39;s authentication token. Requires no parameters. Returns basic information about the bot in form of a User object.
750
+ # @param [Hash] opts the optional parameters
751
+ # @return [GetMe200Response]
752
+ describe 'get_me test' do
753
+ it 'should work' do
754
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
755
+ end
756
+ end
757
+
758
+ # unit tests for get_my_commands
759
+ # getMyCommands
760
+ # Use this method to get the current list of the bot&#39;s commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren&#39;t set, an empty list is returned.
761
+ # @param [Hash] opts the optional parameters
762
+ # @option opts [Object] :scope
763
+ # @option opts [String] :language_code
764
+ # @return [GetMyCommands200Response]
765
+ describe 'get_my_commands test' do
766
+ it 'should work' do
767
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
768
+ end
769
+ end
770
+
771
+ # unit tests for get_my_default_administrator_rights
772
+ # getMyDefaultAdministratorRights
773
+ # Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.
774
+ # @param [Hash] opts the optional parameters
775
+ # @option opts [Boolean] :for_channels
776
+ # @return [GetMyDefaultAdministratorRights200Response]
777
+ describe 'get_my_default_administrator_rights test' do
778
+ it 'should work' do
779
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
780
+ end
781
+ end
782
+
783
+ # unit tests for get_my_description
784
+ # getMyDescription
785
+ # Use this method to get the current bot description for the given user language. Returns BotDescription on success.
786
+ # @param [Hash] opts the optional parameters
787
+ # @option opts [String] :language_code
788
+ # @return [GetMyDescription200Response]
789
+ describe 'get_my_description test' do
790
+ it 'should work' do
791
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
792
+ end
793
+ end
794
+
795
+ # unit tests for get_my_name
796
+ # getMyName
797
+ # Use this method to get the current bot name for the given user language. Returns BotName on success.
798
+ # @param [Hash] opts the optional parameters
799
+ # @option opts [String] :language_code
800
+ # @return [GetMyName200Response]
801
+ describe 'get_my_name test' do
802
+ it 'should work' do
803
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
804
+ end
805
+ end
806
+
807
+ # unit tests for get_my_short_description
808
+ # getMyShortDescription
809
+ # Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success.
810
+ # @param [Hash] opts the optional parameters
811
+ # @option opts [String] :language_code
812
+ # @return [GetMyShortDescription200Response]
813
+ describe 'get_my_short_description test' do
814
+ it 'should work' do
815
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
816
+ end
817
+ end
818
+
819
+ # unit tests for get_sticker_set
820
+ # getStickerSet
821
+ # Use this method to get a sticker set. On success, a StickerSet object is returned.
822
+ # @param name
823
+ # @param [Hash] opts the optional parameters
824
+ # @return [GetStickerSet200Response]
825
+ describe 'get_sticker_set test' do
826
+ it 'should work' do
827
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
828
+ end
829
+ end
830
+
831
+ # unit tests for get_updates
832
+ # getUpdates
833
+ # Use this method to receive incoming updates using long polling (wiki). Returns an Array of Update objects.
834
+ # @param [Hash] opts the optional parameters
835
+ # @option opts [Integer] :offset
836
+ # @option opts [Integer] :limit
837
+ # @option opts [Integer] :timeout
838
+ # @option opts [Array<String>] :allowed_updates
839
+ # @return [GetUpdates200Response]
840
+ describe 'get_updates test' do
841
+ it 'should work' do
842
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
843
+ end
844
+ end
845
+
846
+ # unit tests for get_user_chat_boosts
847
+ # getUserChatBoosts
848
+ # Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns a UserChatBoosts object.
849
+ # @param chat_id
850
+ # @param user_id
851
+ # @param [Hash] opts the optional parameters
852
+ # @return [GetUserChatBoosts200Response]
853
+ describe 'get_user_chat_boosts test' do
854
+ it 'should work' do
855
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
856
+ end
857
+ end
858
+
859
+ # unit tests for get_user_profile_photos
860
+ # getUserProfilePhotos
861
+ # Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
862
+ # @param user_id
863
+ # @param [Hash] opts the optional parameters
864
+ # @option opts [Integer] :offset
865
+ # @option opts [Integer] :limit
866
+ # @return [GetUserProfilePhotos200Response]
867
+ describe 'get_user_profile_photos test' do
868
+ it 'should work' do
869
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
870
+ end
871
+ end
872
+
873
+ # unit tests for get_webhook_info
874
+ # getWebhookInfo
875
+ # Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.
876
+ # @param [Hash] opts the optional parameters
877
+ # @return [GetWebhookInfo200Response]
878
+ describe 'get_webhook_info test' do
879
+ it 'should work' do
880
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
881
+ end
882
+ end
883
+
884
+ # unit tests for hide_general_forum_topic
885
+ # hideGeneralForumTopic
886
+ # Use this method to hide the &#39;General&#39; topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
887
+ # @param chat_id
888
+ # @param [Hash] opts the optional parameters
889
+ # @return [SetWebhook200Response]
890
+ describe 'hide_general_forum_topic test' do
891
+ it 'should work' do
892
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
893
+ end
894
+ end
895
+
896
+ # unit tests for leave_chat
897
+ # leaveChat
898
+ # Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
899
+ # @param chat_id
900
+ # @param [Hash] opts the optional parameters
901
+ # @return [SetWebhook200Response]
902
+ describe 'leave_chat test' do
903
+ it 'should work' do
904
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
905
+ end
906
+ end
907
+
908
+ # unit tests for log_out
909
+ # logOut
910
+ # Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters.
911
+ # @param [Hash] opts the optional parameters
912
+ # @return [SetWebhook200Response]
913
+ describe 'log_out test' do
914
+ it 'should work' do
915
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
916
+ end
917
+ end
918
+
919
+ # unit tests for pin_chat_message
920
+ # pinChatMessage
921
+ # Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the &#39;can_pin_messages&#39; administrator right in a supergroup or &#39;can_edit_messages&#39; administrator right in a channel. Returns True on success.
922
+ # @param chat_id
923
+ # @param message_id
924
+ # @param [Hash] opts the optional parameters
925
+ # @option opts [Boolean] :disable_notification
926
+ # @return [SetWebhook200Response]
927
+ describe 'pin_chat_message test' do
928
+ it 'should work' do
929
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
930
+ end
931
+ end
932
+
933
+ # unit tests for promote_chat_member
934
+ # promoteChatMember
935
+ # Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass False for all boolean parameters to demote a user. Returns True on success.
936
+ # @param chat_id
937
+ # @param user_id
938
+ # @param [Hash] opts the optional parameters
939
+ # @option opts [Boolean] :is_anonymous
940
+ # @option opts [Boolean] :can_manage_chat
941
+ # @option opts [Boolean] :can_delete_messages
942
+ # @option opts [Boolean] :can_manage_video_chats
943
+ # @option opts [Boolean] :can_restrict_members
944
+ # @option opts [Boolean] :can_promote_members
945
+ # @option opts [Boolean] :can_change_info
946
+ # @option opts [Boolean] :can_invite_users
947
+ # @option opts [Boolean] :can_post_stories
948
+ # @option opts [Boolean] :can_edit_stories
949
+ # @option opts [Boolean] :can_delete_stories
950
+ # @option opts [Boolean] :can_post_messages
951
+ # @option opts [Boolean] :can_edit_messages
952
+ # @option opts [Boolean] :can_pin_messages
953
+ # @option opts [Boolean] :can_manage_topics
954
+ # @return [SetWebhook200Response]
955
+ describe 'promote_chat_member test' do
956
+ it 'should work' do
957
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
958
+ end
959
+ end
960
+
961
+ # unit tests for reopen_forum_topic
962
+ # reopenForumTopic
963
+ # Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
964
+ # @param chat_id
965
+ # @param message_thread_id
966
+ # @param [Hash] opts the optional parameters
967
+ # @return [SetWebhook200Response]
968
+ describe 'reopen_forum_topic test' do
969
+ it 'should work' do
970
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
971
+ end
972
+ end
973
+
974
+ # unit tests for reopen_general_forum_topic
975
+ # reopenGeneralForumTopic
976
+ # Use this method to reopen a closed &#39;General&#39; topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.
977
+ # @param chat_id
978
+ # @param [Hash] opts the optional parameters
979
+ # @return [SetWebhook200Response]
980
+ describe 'reopen_general_forum_topic test' do
981
+ it 'should work' do
982
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
983
+ end
984
+ end
985
+
986
+ # unit tests for replace_sticker_in_set
987
+ # replaceStickerInSet
988
+ # Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success.
989
+ # @param user_id
990
+ # @param name
991
+ # @param old_sticker
992
+ # @param sticker
993
+ # @param [Hash] opts the optional parameters
994
+ # @return [SetWebhook200Response]
995
+ describe 'replace_sticker_in_set test' do
996
+ it 'should work' do
997
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
998
+ end
999
+ end
1000
+
1001
+ # unit tests for restrict_chat_member
1002
+ # restrictChatMember
1003
+ # Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.
1004
+ # @param chat_id
1005
+ # @param user_id
1006
+ # @param permissions
1007
+ # @param [Hash] opts the optional parameters
1008
+ # @option opts [Boolean] :use_independent_chat_permissions
1009
+ # @option opts [Integer] :until_date
1010
+ # @return [SetWebhook200Response]
1011
+ describe 'restrict_chat_member test' do
1012
+ it 'should work' do
1013
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1014
+ end
1015
+ end
1016
+
1017
+ # unit tests for revoke_chat_invite_link
1018
+ # revokeChatInviteLink
1019
+ # Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as ChatInviteLink object.
1020
+ # @param chat_id
1021
+ # @param invite_link
1022
+ # @param [Hash] opts the optional parameters
1023
+ # @return [CreateChatInviteLink200Response]
1024
+ describe 'revoke_chat_invite_link test' do
1025
+ it 'should work' do
1026
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1027
+ end
1028
+ end
1029
+
1030
+ # unit tests for send_animation
1031
+ # sendAnimation
1032
+ # Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
1033
+ # @param chat_id
1034
+ # @param animation
1035
+ # @param [Hash] opts the optional parameters
1036
+ # @option opts [String] :business_connection_id
1037
+ # @option opts [Integer] :message_thread_id
1038
+ # @option opts [Integer] :duration
1039
+ # @option opts [Integer] :width
1040
+ # @option opts [Integer] :height
1041
+ # @option opts [Hash<String, SendPhotoPhotoParameterValue>] :thumbnail
1042
+ # @option opts [String] :caption
1043
+ # @option opts [String] :parse_mode
1044
+ # @option opts [Array<MessageEntity>] :caption_entities
1045
+ # @option opts [Boolean] :has_spoiler
1046
+ # @option opts [Boolean] :disable_notification
1047
+ # @option opts [Boolean] :protect_content
1048
+ # @option opts [ReplyParameters] :reply_parameters
1049
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1050
+ # @return [SendMessage200Response]
1051
+ describe 'send_animation test' do
1052
+ it 'should work' do
1053
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1054
+ end
1055
+ end
1056
+
1057
+ # unit tests for send_audio
1058
+ # sendAudio
1059
+ # Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future. For sending voice messages, use the sendVoice method instead.
1060
+ # @param chat_id
1061
+ # @param audio
1062
+ # @param [Hash] opts the optional parameters
1063
+ # @option opts [String] :business_connection_id
1064
+ # @option opts [Integer] :message_thread_id
1065
+ # @option opts [String] :caption
1066
+ # @option opts [String] :parse_mode
1067
+ # @option opts [Array<MessageEntity>] :caption_entities
1068
+ # @option opts [Integer] :duration
1069
+ # @option opts [String] :performer
1070
+ # @option opts [String] :title
1071
+ # @option opts [Hash<String, SendPhotoPhotoParameterValue>] :thumbnail
1072
+ # @option opts [Boolean] :disable_notification
1073
+ # @option opts [Boolean] :protect_content
1074
+ # @option opts [ReplyParameters] :reply_parameters
1075
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1076
+ # @return [SendMessage200Response]
1077
+ describe 'send_audio test' do
1078
+ it 'should work' do
1079
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1080
+ end
1081
+ end
1082
+
1083
+ # unit tests for send_chat_action
1084
+ # sendChatAction
1085
+ # Use this method when you need to tell the user that something is happening on the bot&#39;s side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns True on success. We only recommend using this method when a response from the bot will take a noticeable amount of time to arrive.
1086
+ # @param chat_id
1087
+ # @param action
1088
+ # @param [Hash] opts the optional parameters
1089
+ # @option opts [String] :business_connection_id
1090
+ # @option opts [Integer] :message_thread_id
1091
+ # @return [SetWebhook200Response]
1092
+ describe 'send_chat_action test' do
1093
+ it 'should work' do
1094
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1095
+ end
1096
+ end
1097
+
1098
+ # unit tests for send_contact
1099
+ # sendContact
1100
+ # Use this method to send phone contacts. On success, the sent Message is returned.
1101
+ # @param chat_id
1102
+ # @param phone_number
1103
+ # @param first_name
1104
+ # @param [Hash] opts the optional parameters
1105
+ # @option opts [String] :business_connection_id
1106
+ # @option opts [Integer] :message_thread_id
1107
+ # @option opts [String] :last_name
1108
+ # @option opts [String] :vcard
1109
+ # @option opts [Boolean] :disable_notification
1110
+ # @option opts [Boolean] :protect_content
1111
+ # @option opts [ReplyParameters] :reply_parameters
1112
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1113
+ # @return [SendMessage200Response]
1114
+ describe 'send_contact test' do
1115
+ it 'should work' do
1116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1117
+ end
1118
+ end
1119
+
1120
+ # unit tests for send_dice
1121
+ # sendDice
1122
+ # Use this method to send an animated emoji that will display a random value. On success, the sent Message is returned.
1123
+ # @param chat_id
1124
+ # @param [Hash] opts the optional parameters
1125
+ # @option opts [String] :business_connection_id
1126
+ # @option opts [Integer] :message_thread_id
1127
+ # @option opts [String] :emoji
1128
+ # @option opts [Boolean] :disable_notification
1129
+ # @option opts [Boolean] :protect_content
1130
+ # @option opts [ReplyParameters] :reply_parameters
1131
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1132
+ # @return [SendMessage200Response]
1133
+ describe 'send_dice test' do
1134
+ it 'should work' do
1135
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1136
+ end
1137
+ end
1138
+
1139
+ # unit tests for send_document
1140
+ # sendDocument
1141
+ # Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
1142
+ # @param chat_id
1143
+ # @param document
1144
+ # @param [Hash] opts the optional parameters
1145
+ # @option opts [String] :business_connection_id
1146
+ # @option opts [Integer] :message_thread_id
1147
+ # @option opts [Hash<String, SendPhotoPhotoParameterValue>] :thumbnail
1148
+ # @option opts [String] :caption
1149
+ # @option opts [String] :parse_mode
1150
+ # @option opts [Array<MessageEntity>] :caption_entities
1151
+ # @option opts [Boolean] :disable_content_type_detection
1152
+ # @option opts [Boolean] :disable_notification
1153
+ # @option opts [Boolean] :protect_content
1154
+ # @option opts [ReplyParameters] :reply_parameters
1155
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1156
+ # @return [SendMessage200Response]
1157
+ describe 'send_document test' do
1158
+ it 'should work' do
1159
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1160
+ end
1161
+ end
1162
+
1163
+ # unit tests for send_game
1164
+ # sendGame
1165
+ # Use this method to send a game. On success, the sent Message is returned.
1166
+ # @param chat_id
1167
+ # @param game_short_name
1168
+ # @param [Hash] opts the optional parameters
1169
+ # @option opts [String] :business_connection_id
1170
+ # @option opts [Integer] :message_thread_id
1171
+ # @option opts [Boolean] :disable_notification
1172
+ # @option opts [Boolean] :protect_content
1173
+ # @option opts [ReplyParameters] :reply_parameters
1174
+ # @option opts [InlineKeyboardMarkup] :reply_markup
1175
+ # @return [SendMessage200Response]
1176
+ describe 'send_game test' do
1177
+ it 'should work' do
1178
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1179
+ end
1180
+ end
1181
+
1182
+ # unit tests for send_invoice
1183
+ # sendInvoice
1184
+ # Use this method to send invoices. On success, the sent Message is returned.
1185
+ # @param chat_id
1186
+ # @param title
1187
+ # @param description
1188
+ # @param payload
1189
+ # @param provider_token
1190
+ # @param currency
1191
+ # @param prices
1192
+ # @param [Hash] opts the optional parameters
1193
+ # @option opts [Integer] :message_thread_id
1194
+ # @option opts [Integer] :max_tip_amount
1195
+ # @option opts [Array<Integer>] :suggested_tip_amounts
1196
+ # @option opts [String] :start_parameter
1197
+ # @option opts [String] :provider_data
1198
+ # @option opts [String] :photo_url
1199
+ # @option opts [Integer] :photo_size
1200
+ # @option opts [Integer] :photo_width
1201
+ # @option opts [Integer] :photo_height
1202
+ # @option opts [Boolean] :need_name
1203
+ # @option opts [Boolean] :need_phone_number
1204
+ # @option opts [Boolean] :need_email
1205
+ # @option opts [Boolean] :need_shipping_address
1206
+ # @option opts [Boolean] :send_phone_number_to_provider
1207
+ # @option opts [Boolean] :send_email_to_provider
1208
+ # @option opts [Boolean] :is_flexible
1209
+ # @option opts [Boolean] :disable_notification
1210
+ # @option opts [Boolean] :protect_content
1211
+ # @option opts [ReplyParameters] :reply_parameters
1212
+ # @option opts [InlineKeyboardMarkup] :reply_markup
1213
+ # @return [SendMessage200Response]
1214
+ describe 'send_invoice test' do
1215
+ it 'should work' do
1216
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1217
+ end
1218
+ end
1219
+
1220
+ # unit tests for send_location
1221
+ # sendLocation
1222
+ # Use this method to send point on the map. On success, the sent Message is returned.
1223
+ # @param chat_id
1224
+ # @param latitude
1225
+ # @param longitude
1226
+ # @param [Hash] opts the optional parameters
1227
+ # @option opts [String] :business_connection_id
1228
+ # @option opts [Integer] :message_thread_id
1229
+ # @option opts [Float] :horizontal_accuracy
1230
+ # @option opts [Integer] :live_period
1231
+ # @option opts [Integer] :heading
1232
+ # @option opts [Integer] :proximity_alert_radius
1233
+ # @option opts [Boolean] :disable_notification
1234
+ # @option opts [Boolean] :protect_content
1235
+ # @option opts [ReplyParameters] :reply_parameters
1236
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1237
+ # @return [SendMessage200Response]
1238
+ describe 'send_location test' do
1239
+ it 'should work' do
1240
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1241
+ end
1242
+ end
1243
+
1244
+ # unit tests for send_media_group
1245
+ # sendMediaGroup
1246
+ # Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.
1247
+ # @param chat_id
1248
+ # @param media
1249
+ # @param [Hash] opts the optional parameters
1250
+ # @option opts [String] :business_connection_id
1251
+ # @option opts [Integer] :message_thread_id
1252
+ # @option opts [Boolean] :disable_notification
1253
+ # @option opts [Boolean] :protect_content
1254
+ # @option opts [ReplyParameters] :reply_parameters
1255
+ # @return [SendMediaGroup200Response]
1256
+ describe 'send_media_group test' do
1257
+ it 'should work' do
1258
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1259
+ end
1260
+ end
1261
+
1262
+ # unit tests for send_message
1263
+ # sendMessage
1264
+ # Use this method to send text messages. On success, the sent Message is returned.
1265
+ # @param chat_id
1266
+ # @param text
1267
+ # @param [Hash] opts the optional parameters
1268
+ # @option opts [String] :business_connection_id
1269
+ # @option opts [Integer] :message_thread_id
1270
+ # @option opts [String] :parse_mode
1271
+ # @option opts [Array<MessageEntity>] :entities
1272
+ # @option opts [LinkPreviewOptions] :link_preview_options
1273
+ # @option opts [Boolean] :disable_notification
1274
+ # @option opts [Boolean] :protect_content
1275
+ # @option opts [ReplyParameters] :reply_parameters
1276
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1277
+ # @return [SendMessage200Response]
1278
+ describe 'send_message test' do
1279
+ it 'should work' do
1280
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1281
+ end
1282
+ end
1283
+
1284
+ # unit tests for send_photo
1285
+ # sendPhoto
1286
+ # Use this method to send photos. On success, the sent Message is returned.
1287
+ # @param chat_id
1288
+ # @param photo
1289
+ # @param [Hash] opts the optional parameters
1290
+ # @option opts [String] :business_connection_id
1291
+ # @option opts [Integer] :message_thread_id
1292
+ # @option opts [String] :caption
1293
+ # @option opts [String] :parse_mode
1294
+ # @option opts [Array<MessageEntity>] :caption_entities
1295
+ # @option opts [Boolean] :has_spoiler
1296
+ # @option opts [Boolean] :disable_notification
1297
+ # @option opts [Boolean] :protect_content
1298
+ # @option opts [ReplyParameters] :reply_parameters
1299
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1300
+ # @return [SendMessage200Response]
1301
+ describe 'send_photo test' do
1302
+ it 'should work' do
1303
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1304
+ end
1305
+ end
1306
+
1307
+ # unit tests for send_poll
1308
+ # sendPoll
1309
+ # Use this method to send a native poll. On success, the sent Message is returned.
1310
+ # @param chat_id
1311
+ # @param question
1312
+ # @param options
1313
+ # @param [Hash] opts the optional parameters
1314
+ # @option opts [String] :business_connection_id
1315
+ # @option opts [Integer] :message_thread_id
1316
+ # @option opts [Boolean] :is_anonymous
1317
+ # @option opts [String] :type
1318
+ # @option opts [Boolean] :allows_multiple_answers
1319
+ # @option opts [Integer] :correct_option_id
1320
+ # @option opts [String] :explanation
1321
+ # @option opts [String] :explanation_parse_mode
1322
+ # @option opts [Array<MessageEntity>] :explanation_entities
1323
+ # @option opts [Integer] :open_period
1324
+ # @option opts [Integer] :close_date
1325
+ # @option opts [Boolean] :is_closed
1326
+ # @option opts [Boolean] :disable_notification
1327
+ # @option opts [Boolean] :protect_content
1328
+ # @option opts [ReplyParameters] :reply_parameters
1329
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1330
+ # @return [SendMessage200Response]
1331
+ describe 'send_poll test' do
1332
+ it 'should work' do
1333
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1334
+ end
1335
+ end
1336
+
1337
+ # unit tests for send_sticker
1338
+ # sendSticker
1339
+ # Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned.
1340
+ # @param chat_id
1341
+ # @param sticker
1342
+ # @param [Hash] opts the optional parameters
1343
+ # @option opts [String] :business_connection_id
1344
+ # @option opts [Integer] :message_thread_id
1345
+ # @option opts [String] :emoji
1346
+ # @option opts [Boolean] :disable_notification
1347
+ # @option opts [Boolean] :protect_content
1348
+ # @option opts [ReplyParameters] :reply_parameters
1349
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1350
+ # @return [SendMessage200Response]
1351
+ describe 'send_sticker test' do
1352
+ it 'should work' do
1353
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1354
+ end
1355
+ end
1356
+
1357
+ # unit tests for send_venue
1358
+ # sendVenue
1359
+ # Use this method to send information about a venue. On success, the sent Message is returned.
1360
+ # @param chat_id
1361
+ # @param latitude
1362
+ # @param longitude
1363
+ # @param title
1364
+ # @param address
1365
+ # @param [Hash] opts the optional parameters
1366
+ # @option opts [String] :business_connection_id
1367
+ # @option opts [Integer] :message_thread_id
1368
+ # @option opts [String] :foursquare_id
1369
+ # @option opts [String] :foursquare_type
1370
+ # @option opts [String] :google_place_id
1371
+ # @option opts [String] :google_place_type
1372
+ # @option opts [Boolean] :disable_notification
1373
+ # @option opts [Boolean] :protect_content
1374
+ # @option opts [ReplyParameters] :reply_parameters
1375
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1376
+ # @return [SendMessage200Response]
1377
+ describe 'send_venue test' do
1378
+ it 'should work' do
1379
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1380
+ end
1381
+ end
1382
+
1383
+ # unit tests for send_video
1384
+ # sendVideo
1385
+ # Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as Document). On success, the sent Message is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
1386
+ # @param chat_id
1387
+ # @param video
1388
+ # @param [Hash] opts the optional parameters
1389
+ # @option opts [String] :business_connection_id
1390
+ # @option opts [Integer] :message_thread_id
1391
+ # @option opts [Integer] :duration
1392
+ # @option opts [Integer] :width
1393
+ # @option opts [Integer] :height
1394
+ # @option opts [Hash<String, SendPhotoPhotoParameterValue>] :thumbnail
1395
+ # @option opts [String] :caption
1396
+ # @option opts [String] :parse_mode
1397
+ # @option opts [Array<MessageEntity>] :caption_entities
1398
+ # @option opts [Boolean] :has_spoiler
1399
+ # @option opts [Boolean] :supports_streaming
1400
+ # @option opts [Boolean] :disable_notification
1401
+ # @option opts [Boolean] :protect_content
1402
+ # @option opts [ReplyParameters] :reply_parameters
1403
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1404
+ # @return [SendMessage200Response]
1405
+ describe 'send_video test' do
1406
+ it 'should work' do
1407
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1408
+ end
1409
+ end
1410
+
1411
+ # unit tests for send_video_note
1412
+ # sendVideoNote
1413
+ # As of v.4.0, Telegram clients support rounded square MPEG4 videos of up to 1 minute long. Use this method to send video messages. On success, the sent Message is returned.
1414
+ # @param chat_id
1415
+ # @param video_note
1416
+ # @param [Hash] opts the optional parameters
1417
+ # @option opts [String] :business_connection_id
1418
+ # @option opts [Integer] :message_thread_id
1419
+ # @option opts [Integer] :duration
1420
+ # @option opts [Integer] :length
1421
+ # @option opts [Hash<String, SendPhotoPhotoParameterValue>] :thumbnail
1422
+ # @option opts [Boolean] :disable_notification
1423
+ # @option opts [Boolean] :protect_content
1424
+ # @option opts [ReplyParameters] :reply_parameters
1425
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1426
+ # @return [SendMessage200Response]
1427
+ describe 'send_video_note test' do
1428
+ it 'should work' do
1429
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1430
+ end
1431
+ end
1432
+
1433
+ # unit tests for send_voice
1434
+ # sendVoice
1435
+ # Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
1436
+ # @param chat_id
1437
+ # @param voice
1438
+ # @param [Hash] opts the optional parameters
1439
+ # @option opts [String] :business_connection_id
1440
+ # @option opts [Integer] :message_thread_id
1441
+ # @option opts [String] :caption
1442
+ # @option opts [String] :parse_mode
1443
+ # @option opts [Array<MessageEntity>] :caption_entities
1444
+ # @option opts [Integer] :duration
1445
+ # @option opts [Boolean] :disable_notification
1446
+ # @option opts [Boolean] :protect_content
1447
+ # @option opts [ReplyParameters] :reply_parameters
1448
+ # @option opts [Hash<String, SendMessageReplyMarkupParameterValue>] :reply_markup
1449
+ # @return [SendMessage200Response]
1450
+ describe 'send_voice test' do
1451
+ it 'should work' do
1452
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1453
+ end
1454
+ end
1455
+
1456
+ # unit tests for set_chat_administrator_custom_title
1457
+ # setChatAdministratorCustomTitle
1458
+ # Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
1459
+ # @param chat_id
1460
+ # @param user_id
1461
+ # @param custom_title
1462
+ # @param [Hash] opts the optional parameters
1463
+ # @return [SetWebhook200Response]
1464
+ describe 'set_chat_administrator_custom_title test' do
1465
+ it 'should work' do
1466
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1467
+ end
1468
+ end
1469
+
1470
+ # unit tests for set_chat_description
1471
+ # setChatDescription
1472
+ # Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
1473
+ # @param chat_id
1474
+ # @param [Hash] opts the optional parameters
1475
+ # @option opts [String] :description
1476
+ # @return [SetWebhook200Response]
1477
+ describe 'set_chat_description test' do
1478
+ it 'should work' do
1479
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1480
+ end
1481
+ end
1482
+
1483
+ # unit tests for set_chat_menu_button
1484
+ # setChatMenuButton
1485
+ # Use this method to change the bot&#39;s menu button in a private chat, or the default menu button. Returns True on success.
1486
+ # @param [Hash] opts the optional parameters
1487
+ # @option opts [Integer] :chat_id
1488
+ # @option opts [Object] :menu_button
1489
+ # @return [SetWebhook200Response]
1490
+ describe 'set_chat_menu_button test' do
1491
+ it 'should work' do
1492
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1493
+ end
1494
+ end
1495
+
1496
+ # unit tests for set_chat_permissions
1497
+ # setChatPermissions
1498
+ # Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
1499
+ # @param chat_id
1500
+ # @param permissions
1501
+ # @param [Hash] opts the optional parameters
1502
+ # @option opts [Boolean] :use_independent_chat_permissions
1503
+ # @return [SetWebhook200Response]
1504
+ describe 'set_chat_permissions test' do
1505
+ it 'should work' do
1506
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1507
+ end
1508
+ end
1509
+
1510
+ # unit tests for set_chat_photo
1511
+ # setChatPhoto
1512
+ # Use this method to set a new profile photo for the chat. Photos can&#39;t be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
1513
+ # @param chat_id
1514
+ # @param photo
1515
+ # @param [Hash] opts the optional parameters
1516
+ # @return [SetWebhook200Response]
1517
+ describe 'set_chat_photo test' do
1518
+ it 'should work' do
1519
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1520
+ end
1521
+ end
1522
+
1523
+ # unit tests for set_chat_sticker_set
1524
+ # setChatStickerSet
1525
+ # Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
1526
+ # @param chat_id
1527
+ # @param sticker_set_name
1528
+ # @param [Hash] opts the optional parameters
1529
+ # @return [SetWebhook200Response]
1530
+ describe 'set_chat_sticker_set test' do
1531
+ it 'should work' do
1532
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1533
+ end
1534
+ end
1535
+
1536
+ # unit tests for set_chat_title
1537
+ # setChatTitle
1538
+ # Use this method to change the title of a chat. Titles can&#39;t be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
1539
+ # @param chat_id
1540
+ # @param title
1541
+ # @param [Hash] opts the optional parameters
1542
+ # @return [SetWebhook200Response]
1543
+ describe 'set_chat_title test' do
1544
+ it 'should work' do
1545
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1546
+ end
1547
+ end
1548
+
1549
+ # unit tests for set_custom_emoji_sticker_set_thumbnail
1550
+ # setCustomEmojiStickerSetThumbnail
1551
+ # Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success.
1552
+ # @param name
1553
+ # @param [Hash] opts the optional parameters
1554
+ # @option opts [String] :custom_emoji_id
1555
+ # @return [SetWebhook200Response]
1556
+ describe 'set_custom_emoji_sticker_set_thumbnail test' do
1557
+ it 'should work' do
1558
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1559
+ end
1560
+ end
1561
+
1562
+ # unit tests for set_game_score
1563
+ # setGameScore
1564
+ # Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the Message is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user&#39;s current score in the chat and force is False.
1565
+ # @param user_id
1566
+ # @param score
1567
+ # @param [Hash] opts the optional parameters
1568
+ # @option opts [Boolean] :force
1569
+ # @option opts [Boolean] :disable_edit_message
1570
+ # @option opts [Integer] :chat_id
1571
+ # @option opts [Integer] :message_id
1572
+ # @option opts [String] :inline_message_id
1573
+ # @return [EditMessageText200Response]
1574
+ describe 'set_game_score test' do
1575
+ it 'should work' do
1576
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1577
+ end
1578
+ end
1579
+
1580
+ # unit tests for set_message_reaction
1581
+ # setMessageReaction
1582
+ # Use this method to change the chosen reactions on a message. Service messages can&#39;t be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success.
1583
+ # @param chat_id
1584
+ # @param message_id
1585
+ # @param [Hash] opts the optional parameters
1586
+ # @option opts [Array<Object>] :reaction
1587
+ # @option opts [Boolean] :is_big
1588
+ # @return [SetWebhook200Response]
1589
+ describe 'set_message_reaction test' do
1590
+ it 'should work' do
1591
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1592
+ end
1593
+ end
1594
+
1595
+ # unit tests for set_my_commands
1596
+ # setMyCommands
1597
+ # Use this method to change the list of the bot&#39;s commands. See this manual for more details about bot commands. Returns True on success.
1598
+ # @param commands
1599
+ # @param [Hash] opts the optional parameters
1600
+ # @option opts [Object] :scope
1601
+ # @option opts [String] :language_code
1602
+ # @return [SetWebhook200Response]
1603
+ describe 'set_my_commands test' do
1604
+ it 'should work' do
1605
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1606
+ end
1607
+ end
1608
+
1609
+ # unit tests for set_my_default_administrator_rights
1610
+ # setMyDefaultAdministratorRights
1611
+ # Use this method to change the default administrator rights requested by the bot when it&#39;s added as an administrator to groups or channels. These rights will be suggested to users, but they are free to modify the list before adding the bot. Returns True on success.
1612
+ # @param [Hash] opts the optional parameters
1613
+ # @option opts [ChatAdministratorRights] :rights
1614
+ # @option opts [Boolean] :for_channels
1615
+ # @return [SetWebhook200Response]
1616
+ describe 'set_my_default_administrator_rights test' do
1617
+ it 'should work' do
1618
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1619
+ end
1620
+ end
1621
+
1622
+ # unit tests for set_my_description
1623
+ # setMyDescription
1624
+ # Use this method to change the bot&#39;s description, which is shown in the chat with the bot if the chat is empty. Returns True on success.
1625
+ # @param [Hash] opts the optional parameters
1626
+ # @option opts [String] :description
1627
+ # @option opts [String] :language_code
1628
+ # @return [SetWebhook200Response]
1629
+ describe 'set_my_description test' do
1630
+ it 'should work' do
1631
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1632
+ end
1633
+ end
1634
+
1635
+ # unit tests for set_my_name
1636
+ # setMyName
1637
+ # Use this method to change the bot&#39;s name. Returns True on success.
1638
+ # @param [Hash] opts the optional parameters
1639
+ # @option opts [String] :name
1640
+ # @option opts [String] :language_code
1641
+ # @return [SetWebhook200Response]
1642
+ describe 'set_my_name test' do
1643
+ it 'should work' do
1644
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1645
+ end
1646
+ end
1647
+
1648
+ # unit tests for set_my_short_description
1649
+ # setMyShortDescription
1650
+ # Use this method to change the bot&#39;s short description, which is shown on the bot&#39;s profile page and is sent together with the link when users share the bot. Returns True on success.
1651
+ # @param [Hash] opts the optional parameters
1652
+ # @option opts [String] :short_description
1653
+ # @option opts [String] :language_code
1654
+ # @return [SetWebhook200Response]
1655
+ describe 'set_my_short_description test' do
1656
+ it 'should work' do
1657
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1658
+ end
1659
+ end
1660
+
1661
+ # unit tests for set_passport_data_errors
1662
+ # setPassportDataErrors
1663
+ # Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success. Use this if the data submitted by the user doesn&#39;t satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.
1664
+ # @param user_id
1665
+ # @param errors
1666
+ # @param [Hash] opts the optional parameters
1667
+ # @return [SetWebhook200Response]
1668
+ describe 'set_passport_data_errors test' do
1669
+ it 'should work' do
1670
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1671
+ end
1672
+ end
1673
+
1674
+ # unit tests for set_sticker_emoji_list
1675
+ # setStickerEmojiList
1676
+ # Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.
1677
+ # @param sticker
1678
+ # @param emoji_list
1679
+ # @param [Hash] opts the optional parameters
1680
+ # @return [SetWebhook200Response]
1681
+ describe 'set_sticker_emoji_list test' do
1682
+ it 'should work' do
1683
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1684
+ end
1685
+ end
1686
+
1687
+ # unit tests for set_sticker_keywords
1688
+ # setStickerKeywords
1689
+ # Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.
1690
+ # @param sticker
1691
+ # @param [Hash] opts the optional parameters
1692
+ # @option opts [Array<String>] :keywords
1693
+ # @return [SetWebhook200Response]
1694
+ describe 'set_sticker_keywords test' do
1695
+ it 'should work' do
1696
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1697
+ end
1698
+ end
1699
+
1700
+ # unit tests for set_sticker_mask_position
1701
+ # setStickerMaskPosition
1702
+ # Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success.
1703
+ # @param sticker
1704
+ # @param [Hash] opts the optional parameters
1705
+ # @option opts [MaskPosition] :mask_position
1706
+ # @return [SetWebhook200Response]
1707
+ describe 'set_sticker_mask_position test' do
1708
+ it 'should work' do
1709
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1710
+ end
1711
+ end
1712
+
1713
+ # unit tests for set_sticker_position_in_set
1714
+ # setStickerPositionInSet
1715
+ # Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success.
1716
+ # @param sticker
1717
+ # @param position
1718
+ # @param [Hash] opts the optional parameters
1719
+ # @return [SetWebhook200Response]
1720
+ describe 'set_sticker_position_in_set test' do
1721
+ it 'should work' do
1722
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1723
+ end
1724
+ end
1725
+
1726
+ # unit tests for set_sticker_set_thumbnail
1727
+ # setStickerSetThumbnail
1728
+ # Use this method to set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns True on success.
1729
+ # @param name
1730
+ # @param user_id
1731
+ # @param format
1732
+ # @param [Hash] opts the optional parameters
1733
+ # @option opts [Hash<String, SendPhotoPhotoParameterValue>] :thumbnail
1734
+ # @return [SetWebhook200Response]
1735
+ describe 'set_sticker_set_thumbnail test' do
1736
+ it 'should work' do
1737
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1738
+ end
1739
+ end
1740
+
1741
+ # unit tests for set_sticker_set_title
1742
+ # setStickerSetTitle
1743
+ # Use this method to set the title of a created sticker set. Returns True on success.
1744
+ # @param name
1745
+ # @param title
1746
+ # @param [Hash] opts the optional parameters
1747
+ # @return [SetWebhook200Response]
1748
+ describe 'set_sticker_set_title test' do
1749
+ it 'should work' do
1750
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1751
+ end
1752
+ end
1753
+
1754
+ # unit tests for set_webhook
1755
+ # setWebhook
1756
+ # Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts. Returns True on success. If you&#39;d like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header \&quot;X-Telegram-Bot-Api-Secret-Token\&quot; with the secret token as content.
1757
+ # @param url
1758
+ # @param [Hash] opts the optional parameters
1759
+ # @option opts [Object] :certificate
1760
+ # @option opts [String] :ip_address
1761
+ # @option opts [Integer] :max_connections
1762
+ # @option opts [Array<String>] :allowed_updates
1763
+ # @option opts [Boolean] :drop_pending_updates
1764
+ # @option opts [String] :secret_token
1765
+ # @return [SetWebhook200Response]
1766
+ describe 'set_webhook test' do
1767
+ it 'should work' do
1768
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1769
+ end
1770
+ end
1771
+
1772
+ # unit tests for stop_message_live_location
1773
+ # stopMessageLiveLocation
1774
+ # Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned.
1775
+ # @param [Hash] opts the optional parameters
1776
+ # @option opts [Hash<String, SendMessageChatIdParameterValue>] :chat_id
1777
+ # @option opts [Integer] :message_id
1778
+ # @option opts [String] :inline_message_id
1779
+ # @option opts [InlineKeyboardMarkup] :reply_markup
1780
+ # @return [EditMessageText200Response]
1781
+ describe 'stop_message_live_location test' do
1782
+ it 'should work' do
1783
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1784
+ end
1785
+ end
1786
+
1787
+ # unit tests for stop_poll
1788
+ # stopPoll
1789
+ # Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
1790
+ # @param chat_id
1791
+ # @param message_id
1792
+ # @param [Hash] opts the optional parameters
1793
+ # @option opts [InlineKeyboardMarkup] :reply_markup
1794
+ # @return [StopPoll200Response]
1795
+ describe 'stop_poll test' do
1796
+ it 'should work' do
1797
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1798
+ end
1799
+ end
1800
+
1801
+ # unit tests for unban_chat_member
1802
+ # unbanChatMember
1803
+ # Use this method to unban a previously banned user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. By default, this method guarantees that after the call the user is not a member of the chat, but will be able to join it. So if the user is a member of the chat they will also be removed from the chat. If you don&#39;t want this, use the parameter only_if_banned. Returns True on success.
1804
+ # @param chat_id
1805
+ # @param user_id
1806
+ # @param [Hash] opts the optional parameters
1807
+ # @option opts [Boolean] :only_if_banned
1808
+ # @return [SetWebhook200Response]
1809
+ describe 'unban_chat_member test' do
1810
+ it 'should work' do
1811
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1812
+ end
1813
+ end
1814
+
1815
+ # unit tests for unban_chat_sender_chat
1816
+ # unbanChatSenderChat
1817
+ # Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns True on success.
1818
+ # @param chat_id
1819
+ # @param sender_chat_id
1820
+ # @param [Hash] opts the optional parameters
1821
+ # @return [SetWebhook200Response]
1822
+ describe 'unban_chat_sender_chat test' do
1823
+ it 'should work' do
1824
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1825
+ end
1826
+ end
1827
+
1828
+ # unit tests for unhide_general_forum_topic
1829
+ # unhideGeneralForumTopic
1830
+ # Use this method to unhide the &#39;General&#39; topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
1831
+ # @param chat_id
1832
+ # @param [Hash] opts the optional parameters
1833
+ # @return [SetWebhook200Response]
1834
+ describe 'unhide_general_forum_topic test' do
1835
+ it 'should work' do
1836
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1837
+ end
1838
+ end
1839
+
1840
+ # unit tests for unpin_all_chat_messages
1841
+ # unpinAllChatMessages
1842
+ # Use this method to clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the &#39;can_pin_messages&#39; administrator right in a supergroup or &#39;can_edit_messages&#39; administrator right in a channel. Returns True on success.
1843
+ # @param chat_id
1844
+ # @param [Hash] opts the optional parameters
1845
+ # @return [SetWebhook200Response]
1846
+ describe 'unpin_all_chat_messages test' do
1847
+ it 'should work' do
1848
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1849
+ end
1850
+ end
1851
+
1852
+ # unit tests for unpin_all_forum_topic_messages
1853
+ # unpinAllForumTopicMessages
1854
+ # Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
1855
+ # @param chat_id
1856
+ # @param message_thread_id
1857
+ # @param [Hash] opts the optional parameters
1858
+ # @return [SetWebhook200Response]
1859
+ describe 'unpin_all_forum_topic_messages test' do
1860
+ it 'should work' do
1861
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1862
+ end
1863
+ end
1864
+
1865
+ # unit tests for unpin_all_general_forum_topic_messages
1866
+ # unpinAllGeneralForumTopicMessages
1867
+ # Use this method to clear the list of pinned messages in a General forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
1868
+ # @param chat_id
1869
+ # @param [Hash] opts the optional parameters
1870
+ # @return [SetWebhook200Response]
1871
+ describe 'unpin_all_general_forum_topic_messages test' do
1872
+ it 'should work' do
1873
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1874
+ end
1875
+ end
1876
+
1877
+ # unit tests for unpin_chat_message
1878
+ # unpinChatMessage
1879
+ # Use this method to remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the &#39;can_pin_messages&#39; administrator right in a supergroup or &#39;can_edit_messages&#39; administrator right in a channel. Returns True on success.
1880
+ # @param chat_id
1881
+ # @param [Hash] opts the optional parameters
1882
+ # @option opts [Integer] :message_id
1883
+ # @return [SetWebhook200Response]
1884
+ describe 'unpin_chat_message test' do
1885
+ it 'should work' do
1886
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1887
+ end
1888
+ end
1889
+
1890
+ # unit tests for upload_sticker_file
1891
+ # uploadStickerFile
1892
+ # Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success.
1893
+ # @param user_id
1894
+ # @param sticker
1895
+ # @param sticker_format
1896
+ # @param [Hash] opts the optional parameters
1897
+ # @return [GetFile200Response]
1898
+ describe 'upload_sticker_file test' do
1899
+ it 'should work' do
1900
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1901
+ end
1902
+ end
1903
+
1904
+ end