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,36 @@
1
+ # TelegramBot::InlineQueryResultCachedPhoto
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be photo | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **photo_file_id** | **String** | A valid file identifier of the photo | |
10
+ | **title** | **String** | Optional. Title for the result | [optional] |
11
+ | **description** | **String** | Optional. Short description of the result | [optional] |
12
+ | **caption** | **String** | Optional. Caption of the photo to be sent, 0-1024 characters after entities parsing | [optional] |
13
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the photo caption. See formatting options for more details. | [optional] |
14
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
15
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
16
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the photo | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'telegram-bot'
22
+
23
+ instance = TelegramBot::InlineQueryResultCachedPhoto.new(
24
+ type: null,
25
+ id: null,
26
+ photo_file_id: null,
27
+ title: null,
28
+ description: null,
29
+ caption: null,
30
+ parse_mode: null,
31
+ caption_entities: null,
32
+ reply_markup: null,
33
+ input_message_content: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,26 @@
1
+ # TelegramBot::InlineQueryResultCachedSticker
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be sticker | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **sticker_file_id** | **String** | A valid file identifier of the sticker | |
10
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
11
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the sticker | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'telegram-bot'
17
+
18
+ instance = TelegramBot::InlineQueryResultCachedSticker.new(
19
+ type: null,
20
+ id: null,
21
+ sticker_file_id: null,
22
+ reply_markup: null,
23
+ input_message_content: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,36 @@
1
+ # TelegramBot::InlineQueryResultCachedVideo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be video | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **video_file_id** | **String** | A valid file identifier for the video file | |
10
+ | **title** | **String** | Title for the result | |
11
+ | **description** | **String** | Optional. Short description of the result | [optional] |
12
+ | **caption** | **String** | Optional. Caption of the video to be sent, 0-1024 characters after entities parsing | [optional] |
13
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the video caption. See formatting options for more details. | [optional] |
14
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
15
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
16
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the video | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'telegram-bot'
22
+
23
+ instance = TelegramBot::InlineQueryResultCachedVideo.new(
24
+ type: null,
25
+ id: null,
26
+ video_file_id: null,
27
+ title: null,
28
+ description: null,
29
+ caption: null,
30
+ parse_mode: null,
31
+ caption_entities: null,
32
+ reply_markup: null,
33
+ input_message_content: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,34 @@
1
+ # TelegramBot::InlineQueryResultCachedVoice
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be voice | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **voice_file_id** | **String** | A valid file identifier for the voice message | |
10
+ | **title** | **String** | Voice message title | |
11
+ | **caption** | **String** | Optional. Caption, 0-1024 characters after entities parsing | [optional] |
12
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the voice message caption. See formatting options for more details. | [optional] |
13
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
14
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
15
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the voice message | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'telegram-bot'
21
+
22
+ instance = TelegramBot::InlineQueryResultCachedVoice.new(
23
+ type: null,
24
+ id: null,
25
+ voice_file_id: null,
26
+ title: null,
27
+ caption: null,
28
+ parse_mode: null,
29
+ caption_entities: null,
30
+ reply_markup: null,
31
+ input_message_content: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,38 @@
1
+ # TelegramBot::InlineQueryResultContact
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be contact | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 Bytes | |
9
+ | **phone_number** | **String** | Contact's phone number | |
10
+ | **first_name** | **String** | Contact's first name | |
11
+ | **last_name** | **String** | Optional. Contact's last name | [optional] |
12
+ | **vcard** | **String** | Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes | [optional] |
13
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
14
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the contact | [optional] |
15
+ | **thumbnail_url** | **String** | Optional. Url of the thumbnail for the result | [optional] |
16
+ | **thumbnail_width** | **Integer** | Optional. Thumbnail width | [optional] |
17
+ | **thumbnail_height** | **Integer** | Optional. Thumbnail height | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'telegram-bot'
23
+
24
+ instance = TelegramBot::InlineQueryResultContact.new(
25
+ type: null,
26
+ id: null,
27
+ phone_number: null,
28
+ first_name: null,
29
+ last_name: null,
30
+ vcard: null,
31
+ reply_markup: null,
32
+ input_message_content: null,
33
+ thumbnail_url: null,
34
+ thumbnail_width: null,
35
+ thumbnail_height: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,44 @@
1
+ # TelegramBot::InlineQueryResultDocument
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be document | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **title** | **String** | Title for the result | |
10
+ | **caption** | **String** | Optional. Caption of the document to be sent, 0-1024 characters after entities parsing | [optional] |
11
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the document caption. See formatting options for more details. | [optional] |
12
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
13
+ | **document_url** | **String** | A valid URL for the file | |
14
+ | **mime_type** | **String** | MIME type of the content of the file, either \"application/pdf\" or \"application/zip\" | |
15
+ | **description** | **String** | Optional. Short description of the result | [optional] |
16
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
17
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the file | [optional] |
18
+ | **thumbnail_url** | **String** | Optional. URL of the thumbnail (JPEG only) for the file | [optional] |
19
+ | **thumbnail_width** | **Integer** | Optional. Thumbnail width | [optional] |
20
+ | **thumbnail_height** | **Integer** | Optional. Thumbnail height | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'telegram-bot'
26
+
27
+ instance = TelegramBot::InlineQueryResultDocument.new(
28
+ type: null,
29
+ id: null,
30
+ title: null,
31
+ caption: null,
32
+ parse_mode: null,
33
+ caption_entities: null,
34
+ document_url: null,
35
+ mime_type: null,
36
+ description: null,
37
+ reply_markup: null,
38
+ input_message_content: null,
39
+ thumbnail_url: null,
40
+ thumbnail_width: null,
41
+ thumbnail_height: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,24 @@
1
+ # TelegramBot::InlineQueryResultGame
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be game | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **game_short_name** | **String** | Short name of the game | |
10
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'telegram-bot'
16
+
17
+ instance = TelegramBot::InlineQueryResultGame.new(
18
+ type: null,
19
+ id: null,
20
+ game_short_name: null,
21
+ reply_markup: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,44 @@
1
+ # TelegramBot::InlineQueryResultGif
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be gif | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **gif_url** | **String** | A valid URL for the GIF file. File size must not exceed 1MB | |
10
+ | **gif_width** | **Integer** | Optional. Width of the GIF | [optional] |
11
+ | **gif_height** | **Integer** | Optional. Height of the GIF | [optional] |
12
+ | **gif_duration** | **Integer** | Optional. Duration of the GIF in seconds | [optional] |
13
+ | **thumbnail_url** | **String** | URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result | |
14
+ | **thumbnail_mime_type** | **String** | Optional. MIME type of the thumbnail, must be one of \"image/jpeg\", \"image/gif\", or \"video/mp4\". Defaults to \"image/jpeg\" | [optional] |
15
+ | **title** | **String** | Optional. Title for the result | [optional] |
16
+ | **caption** | **String** | Optional. Caption of the GIF file to be sent, 0-1024 characters after entities parsing | [optional] |
17
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the caption. See formatting options for more details. | [optional] |
18
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
19
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
20
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the GIF animation | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'telegram-bot'
26
+
27
+ instance = TelegramBot::InlineQueryResultGif.new(
28
+ type: null,
29
+ id: null,
30
+ gif_url: null,
31
+ gif_width: null,
32
+ gif_height: null,
33
+ gif_duration: null,
34
+ thumbnail_url: null,
35
+ thumbnail_mime_type: null,
36
+ title: null,
37
+ caption: null,
38
+ parse_mode: null,
39
+ caption_entities: null,
40
+ reply_markup: null,
41
+ input_message_content: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,44 @@
1
+ # TelegramBot::InlineQueryResultLocation
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be location | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 Bytes | |
9
+ | **latitude** | **Float** | Location latitude in degrees | |
10
+ | **longitude** | **Float** | Location longitude in degrees | |
11
+ | **title** | **String** | Location title | |
12
+ | **horizontal_accuracy** | **Float** | Optional. The radius of uncertainty for the location, measured in meters; 0-1500 | [optional] |
13
+ | **live_period** | **Integer** | Optional. Period in seconds for which the location can be updated, should be between 60 and 86400. | [optional] |
14
+ | **heading** | **Integer** | Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. | [optional] |
15
+ | **proximity_alert_radius** | **Integer** | Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified. | [optional] |
16
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
17
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the location | [optional] |
18
+ | **thumbnail_url** | **String** | Optional. Url of the thumbnail for the result | [optional] |
19
+ | **thumbnail_width** | **Integer** | Optional. Thumbnail width | [optional] |
20
+ | **thumbnail_height** | **Integer** | Optional. Thumbnail height | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'telegram-bot'
26
+
27
+ instance = TelegramBot::InlineQueryResultLocation.new(
28
+ type: null,
29
+ id: null,
30
+ latitude: null,
31
+ longitude: null,
32
+ title: null,
33
+ horizontal_accuracy: null,
34
+ live_period: null,
35
+ heading: null,
36
+ proximity_alert_radius: null,
37
+ reply_markup: null,
38
+ input_message_content: null,
39
+ thumbnail_url: null,
40
+ thumbnail_width: null,
41
+ thumbnail_height: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,44 @@
1
+ # TelegramBot::InlineQueryResultMpeg4Gif
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be mpeg4_gif | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **mpeg4_url** | **String** | A valid URL for the MPEG4 file. File size must not exceed 1MB | |
10
+ | **mpeg4_width** | **Integer** | Optional. Video width | [optional] |
11
+ | **mpeg4_height** | **Integer** | Optional. Video height | [optional] |
12
+ | **mpeg4_duration** | **Integer** | Optional. Video duration in seconds | [optional] |
13
+ | **thumbnail_url** | **String** | URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result | |
14
+ | **thumbnail_mime_type** | **String** | Optional. MIME type of the thumbnail, must be one of \"image/jpeg\", \"image/gif\", or \"video/mp4\". Defaults to \"image/jpeg\" | [optional] |
15
+ | **title** | **String** | Optional. Title for the result | [optional] |
16
+ | **caption** | **String** | Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing | [optional] |
17
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the caption. See formatting options for more details. | [optional] |
18
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
19
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
20
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the video animation | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'telegram-bot'
26
+
27
+ instance = TelegramBot::InlineQueryResultMpeg4Gif.new(
28
+ type: null,
29
+ id: null,
30
+ mpeg4_url: null,
31
+ mpeg4_width: null,
32
+ mpeg4_height: null,
33
+ mpeg4_duration: null,
34
+ thumbnail_url: null,
35
+ thumbnail_mime_type: null,
36
+ title: null,
37
+ caption: null,
38
+ parse_mode: null,
39
+ caption_entities: null,
40
+ reply_markup: null,
41
+ input_message_content: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,42 @@
1
+ # TelegramBot::InlineQueryResultPhoto
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be photo | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **photo_url** | **String** | A valid URL of the photo. Photo must be in JPEG format. Photo size must not exceed 5MB | |
10
+ | **thumbnail_url** | **String** | URL of the thumbnail for the photo | |
11
+ | **photo_width** | **Integer** | Optional. Width of the photo | [optional] |
12
+ | **photo_height** | **Integer** | Optional. Height of the photo | [optional] |
13
+ | **title** | **String** | Optional. Title for the result | [optional] |
14
+ | **description** | **String** | Optional. Short description of the result | [optional] |
15
+ | **caption** | **String** | Optional. Caption of the photo to be sent, 0-1024 characters after entities parsing | [optional] |
16
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the photo caption. See formatting options for more details. | [optional] |
17
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
18
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
19
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the photo | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'telegram-bot'
25
+
26
+ instance = TelegramBot::InlineQueryResultPhoto.new(
27
+ type: null,
28
+ id: null,
29
+ photo_url: null,
30
+ thumbnail_url: null,
31
+ photo_width: null,
32
+ photo_height: null,
33
+ title: null,
34
+ description: null,
35
+ caption: null,
36
+ parse_mode: null,
37
+ caption_entities: null,
38
+ reply_markup: null,
39
+ input_message_content: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,46 @@
1
+ # TelegramBot::InlineQueryResultVenue
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be venue | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 Bytes | |
9
+ | **latitude** | **Float** | Latitude of the venue location in degrees | |
10
+ | **longitude** | **Float** | Longitude of the venue location in degrees | |
11
+ | **title** | **String** | Title of the venue | |
12
+ | **address** | **String** | Address of the venue | |
13
+ | **foursquare_id** | **String** | Optional. Foursquare identifier of the venue if known | [optional] |
14
+ | **foursquare_type** | **String** | Optional. Foursquare type of the venue, if known. (For example, \"arts_entertainment/default\", \"arts_entertainment/aquarium\" or \"food/icecream\".) | [optional] |
15
+ | **google_place_id** | **String** | Optional. Google Places identifier of the venue | [optional] |
16
+ | **google_place_type** | **String** | Optional. Google Places type of the venue. (See supported types.) | [optional] |
17
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
18
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the venue | [optional] |
19
+ | **thumbnail_url** | **String** | Optional. Url of the thumbnail for the result | [optional] |
20
+ | **thumbnail_width** | **Integer** | Optional. Thumbnail width | [optional] |
21
+ | **thumbnail_height** | **Integer** | Optional. Thumbnail height | [optional] |
22
+
23
+ ## Example
24
+
25
+ ```ruby
26
+ require 'telegram-bot'
27
+
28
+ instance = TelegramBot::InlineQueryResultVenue.new(
29
+ type: null,
30
+ id: null,
31
+ latitude: null,
32
+ longitude: null,
33
+ title: null,
34
+ address: null,
35
+ foursquare_id: null,
36
+ foursquare_type: null,
37
+ google_place_id: null,
38
+ google_place_type: null,
39
+ reply_markup: null,
40
+ input_message_content: null,
41
+ thumbnail_url: null,
42
+ thumbnail_width: null,
43
+ thumbnail_height: null
44
+ )
45
+ ```
46
+
@@ -0,0 +1,46 @@
1
+ # TelegramBot::InlineQueryResultVideo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be video | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **video_url** | **String** | A valid URL for the embedded video player or video file | |
10
+ | **mime_type** | **String** | MIME type of the content of the video URL, \"text/html\" or \"video/mp4\" | |
11
+ | **thumbnail_url** | **String** | URL of the thumbnail (JPEG only) for the video | |
12
+ | **title** | **String** | Title for the result | |
13
+ | **caption** | **String** | Optional. Caption of the video to be sent, 0-1024 characters after entities parsing | [optional] |
14
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the video caption. See formatting options for more details. | [optional] |
15
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
16
+ | **video_width** | **Integer** | Optional. Video width | [optional] |
17
+ | **video_height** | **Integer** | Optional. Video height | [optional] |
18
+ | **video_duration** | **Integer** | Optional. Video duration in seconds | [optional] |
19
+ | **description** | **String** | Optional. Short description of the result | [optional] |
20
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
21
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the video. This field is required if InlineQueryResultVideo is used to send an HTML-page as a result (e.g., a YouTube video). | [optional] |
22
+
23
+ ## Example
24
+
25
+ ```ruby
26
+ require 'telegram-bot'
27
+
28
+ instance = TelegramBot::InlineQueryResultVideo.new(
29
+ type: null,
30
+ id: null,
31
+ video_url: null,
32
+ mime_type: null,
33
+ thumbnail_url: null,
34
+ title: null,
35
+ caption: null,
36
+ parse_mode: null,
37
+ caption_entities: null,
38
+ video_width: null,
39
+ video_height: null,
40
+ video_duration: null,
41
+ description: null,
42
+ reply_markup: null,
43
+ input_message_content: null
44
+ )
45
+ ```
46
+
@@ -0,0 +1,36 @@
1
+ # TelegramBot::InlineQueryResultVoice
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | Type of the result, must be voice | |
8
+ | **id** | **String** | Unique identifier for this result, 1-64 bytes | |
9
+ | **voice_url** | **String** | A valid URL for the voice recording | |
10
+ | **title** | **String** | Recording title | |
11
+ | **caption** | **String** | Optional. Caption, 0-1024 characters after entities parsing | [optional] |
12
+ | **parse_mode** | **String** | Optional. Mode for parsing entities in the voice message caption. See formatting options for more details. | [optional] |
13
+ | **caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode | [optional] |
14
+ | **voice_duration** | **Integer** | Optional. Recording duration in seconds | [optional] |
15
+ | **reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | Optional. Inline keyboard attached to the message | [optional] |
16
+ | **input_message_content** | **Object** | Optional. Content of the message to be sent instead of the voice recording | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'telegram-bot'
22
+
23
+ instance = TelegramBot::InlineQueryResultVoice.new(
24
+ type: null,
25
+ id: null,
26
+ voice_url: null,
27
+ title: null,
28
+ caption: null,
29
+ parse_mode: null,
30
+ caption_entities: null,
31
+ voice_duration: null,
32
+ reply_markup: null,
33
+ input_message_content: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,22 @@
1
+ # TelegramBot::InlineQueryResultsButton
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **text** | **String** | Label text on the button | |
8
+ | **web_app** | [**WebAppInfo**](WebAppInfo.md) | Optional. Description of the Web App that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method switchInlineQuery inside the Web App. | [optional] |
9
+ | **start_parameter** | **String** | Optional. Deep-linking parameter for the /start message sent to the bot when a user presses the button. 1-64 characters, only A-Z, a-z, 0-9, _ and - are allowed. Example: An inline bot that sends YouTube videos can ask the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it displays a 'Connect your YouTube account' button above the results, or even before showing any. The user presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that instructs the bot to return an OAuth link. Once done, the bot can offer a switch_inline button so that the user can easily return to the chat where they wanted to use the bot's inline capabilities. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'telegram-bot'
15
+
16
+ instance = TelegramBot::InlineQueryResultsButton.new(
17
+ text: null,
18
+ web_app: null,
19
+ start_parameter: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # TelegramBot::InputContactMessageContent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **phone_number** | **String** | Contact's phone number | |
8
+ | **first_name** | **String** | Contact's first name | |
9
+ | **last_name** | **String** | Optional. Contact's last name | [optional] |
10
+ | **vcard** | **String** | Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'telegram-bot'
16
+
17
+ instance = TelegramBot::InputContactMessageContent.new(
18
+ phone_number: null,
19
+ first_name: null,
20
+ last_name: null,
21
+ vcard: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,56 @@
1
+ # TelegramBot::InputInvoiceMessageContent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **title** | **String** | Product name, 1-32 characters | |
8
+ | **description** | **String** | Product description, 1-255 characters | |
9
+ | **payload** | **String** | Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes. | |
10
+ | **provider_token** | **String** | Payment provider token, obtained via @BotFather | |
11
+ | **currency** | **String** | Three-letter ISO 4217 currency code, see more on currencies | |
12
+ | **prices** | [**Array<LabeledPrice>**](LabeledPrice.md) | Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.) | |
13
+ | **max_tip_amount** | **Integer** | Optional. The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0 | [optional] |
14
+ | **suggested_tip_amounts** | **Array<Integer>** | Optional. A JSON-serialized array of suggested amounts of tip in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount. | [optional] |
15
+ | **provider_data** | **String** | Optional. A JSON-serialized object for data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider. | [optional] |
16
+ | **photo_url** | **String** | Optional. URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. | [optional] |
17
+ | **photo_size** | **Integer** | Optional. Photo size in bytes | [optional] |
18
+ | **photo_width** | **Integer** | Optional. Photo width | [optional] |
19
+ | **photo_height** | **Integer** | Optional. Photo height | [optional] |
20
+ | **need_name** | **Boolean** | Optional. Pass True if you require the user's full name to complete the order | [optional] |
21
+ | **need_phone_number** | **Boolean** | Optional. Pass True if you require the user's phone number to complete the order | [optional] |
22
+ | **need_email** | **Boolean** | Optional. Pass True if you require the user's email address to complete the order | [optional] |
23
+ | **need_shipping_address** | **Boolean** | Optional. Pass True if you require the user's shipping address to complete the order | [optional] |
24
+ | **send_phone_number_to_provider** | **Boolean** | Optional. Pass True if the user's phone number should be sent to provider | [optional] |
25
+ | **send_email_to_provider** | **Boolean** | Optional. Pass True if the user's email address should be sent to provider | [optional] |
26
+ | **is_flexible** | **Boolean** | Optional. Pass True if the final price depends on the shipping method | [optional] |
27
+
28
+ ## Example
29
+
30
+ ```ruby
31
+ require 'telegram-bot'
32
+
33
+ instance = TelegramBot::InputInvoiceMessageContent.new(
34
+ title: null,
35
+ description: null,
36
+ payload: null,
37
+ provider_token: null,
38
+ currency: null,
39
+ prices: null,
40
+ max_tip_amount: null,
41
+ suggested_tip_amounts: null,
42
+ provider_data: null,
43
+ photo_url: null,
44
+ photo_size: null,
45
+ photo_width: null,
46
+ photo_height: null,
47
+ need_name: null,
48
+ need_phone_number: null,
49
+ need_email: null,
50
+ need_shipping_address: null,
51
+ send_phone_number_to_provider: null,
52
+ send_email_to_provider: null,
53
+ is_flexible: null
54
+ )
55
+ ```
56
+