telegram-bot-ruby 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile +6 -2
  4. data/Rakefile +0 -45
  5. data/lib/telegram/bot/api/endpoints.rb +12 -2
  6. data/lib/telegram/bot/client.rb +1 -1
  7. data/lib/telegram/bot/exceptions/response_error.rb +1 -1
  8. data/lib/telegram/bot/types/background_fill.rb +16 -0
  9. data/lib/telegram/bot/types/background_fill_freeform_gradient.rb +12 -0
  10. data/lib/telegram/bot/types/background_fill_gradient.rb +14 -0
  11. data/lib/telegram/bot/types/background_fill_solid.rb +12 -0
  12. data/lib/telegram/bot/types/background_type.rb +17 -0
  13. data/lib/telegram/bot/types/background_type_chat_theme.rb +12 -0
  14. data/lib/telegram/bot/types/background_type_fill.rb +13 -0
  15. data/lib/telegram/bot/types/background_type_pattern.rb +16 -0
  16. data/lib/telegram/bot/types/background_type_wallpaper.rb +15 -0
  17. data/lib/telegram/bot/types/birthdate.rb +13 -0
  18. data/lib/telegram/bot/types/bot_command.rb +2 -2
  19. data/lib/telegram/bot/types/bot_command_scope.rb +20 -0
  20. data/lib/telegram/bot/types/business_connection.rb +16 -0
  21. data/lib/telegram/bot/types/business_intro.rb +13 -0
  22. data/lib/telegram/bot/types/business_location.rb +12 -0
  23. data/lib/telegram/bot/types/business_messages_deleted.rb +13 -0
  24. data/lib/telegram/bot/types/business_opening_hours.rb +12 -0
  25. data/lib/telegram/bot/types/business_opening_hours_interval.rb +12 -0
  26. data/lib/telegram/bot/types/chat.rb +0 -28
  27. data/lib/telegram/bot/types/chat_administrator_rights.rb +3 -3
  28. data/lib/telegram/bot/types/chat_background.rb +11 -0
  29. data/lib/telegram/bot/types/chat_boost_added.rb +11 -0
  30. data/lib/telegram/bot/types/chat_boost_source.rb +4 -1
  31. data/lib/telegram/bot/types/chat_boost_source_giveaway.rb +1 -0
  32. data/lib/telegram/bot/types/chat_full_info.rb +54 -0
  33. data/lib/telegram/bot/types/chat_invite_link.rb +2 -0
  34. data/lib/telegram/bot/types/chat_location.rb +1 -1
  35. data/lib/telegram/bot/types/chat_member.rb +4 -4
  36. data/lib/telegram/bot/types/chat_member_administrator.rb +3 -3
  37. data/lib/telegram/bot/types/chat_member_member.rb +1 -0
  38. data/lib/telegram/bot/types/chat_member_updated.rb +1 -0
  39. data/lib/telegram/bot/types/chat_shared.rb +3 -0
  40. data/lib/telegram/bot/types/copy_text_button.rb +11 -0
  41. data/lib/telegram/bot/types/error.rb +14 -0
  42. data/lib/telegram/bot/types/external_reply_info.rb +1 -0
  43. data/lib/telegram/bot/types/force_reply.rb +2 -2
  44. data/lib/telegram/bot/types/gift.rb +15 -0
  45. data/lib/telegram/bot/types/gifts.rb +11 -0
  46. data/lib/telegram/bot/types/giveaway.rb +1 -0
  47. data/lib/telegram/bot/types/giveaway_completed.rb +1 -0
  48. data/lib/telegram/bot/types/giveaway_created.rb +1 -0
  49. data/lib/telegram/bot/types/giveaway_winners.rb +1 -0
  50. data/lib/telegram/bot/types/inline_keyboard_button.rb +2 -1
  51. data/lib/telegram/bot/types/inline_query_result.rb +33 -0
  52. data/lib/telegram/bot/types/inline_query_result_cached_gif.rb +1 -0
  53. data/lib/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rb +1 -0
  54. data/lib/telegram/bot/types/inline_query_result_cached_photo.rb +1 -0
  55. data/lib/telegram/bot/types/inline_query_result_cached_video.rb +1 -0
  56. data/lib/telegram/bot/types/inline_query_result_gif.rb +2 -1
  57. data/lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb +2 -1
  58. data/lib/telegram/bot/types/inline_query_result_photo.rb +1 -0
  59. data/lib/telegram/bot/types/inline_query_result_video.rb +1 -0
  60. data/lib/telegram/bot/types/inline_query_results_button.rb +13 -0
  61. data/lib/telegram/bot/types/input_contact_message_content.rb +1 -1
  62. data/lib/telegram/bot/types/input_invoice_message_content.rb +5 -5
  63. data/lib/telegram/bot/types/input_location_message_content.rb +1 -1
  64. data/lib/telegram/bot/types/input_media.rb +18 -0
  65. data/lib/telegram/bot/types/input_media_animation.rb +1 -0
  66. data/lib/telegram/bot/types/input_media_photo.rb +1 -0
  67. data/lib/telegram/bot/types/input_media_video.rb +1 -0
  68. data/lib/telegram/bot/types/input_message_content.rb +10 -2
  69. data/lib/telegram/bot/types/input_paid_media.rb +15 -0
  70. data/lib/telegram/bot/types/input_paid_media_photo.rb +12 -0
  71. data/lib/telegram/bot/types/input_paid_media_video.rb +17 -0
  72. data/lib/telegram/bot/types/input_poll_option.rb +13 -0
  73. data/lib/telegram/bot/types/input_sticker.rb +15 -0
  74. data/lib/telegram/bot/types/input_text_message_content.rb +2 -2
  75. data/lib/telegram/bot/types/input_venue_message_content.rb +1 -1
  76. data/lib/telegram/bot/types/keyboard_button_request_chat.rb +3 -0
  77. data/lib/telegram/bot/types/keyboard_button_request_users.rb +3 -0
  78. data/lib/telegram/bot/types/location.rb +1 -1
  79. data/lib/telegram/bot/types/maybe_inaccessible_message.rb +4 -1
  80. data/lib/telegram/bot/types/menu_button.rb +16 -0
  81. data/lib/telegram/bot/types/message.rb +11 -0
  82. data/lib/telegram/bot/types/message_origin.rb +4 -1
  83. data/lib/telegram/bot/types/paid_media.rb +16 -0
  84. data/lib/telegram/bot/types/paid_media_info.rb +12 -0
  85. data/lib/telegram/bot/types/paid_media_photo.rb +12 -0
  86. data/lib/telegram/bot/types/paid_media_preview.rb +14 -0
  87. data/lib/telegram/bot/types/paid_media_purchased.rb +12 -0
  88. data/lib/telegram/bot/types/paid_media_video.rb +12 -0
  89. data/lib/telegram/bot/types/passport_element_error.rb +22 -0
  90. data/lib/telegram/bot/types/poll.rb +2 -1
  91. data/lib/telegram/bot/types/poll_option.rb +2 -1
  92. data/lib/telegram/bot/types/prepared_inline_message.rb +12 -0
  93. data/lib/telegram/bot/types/reaction_type.rb +6 -2
  94. data/lib/telegram/bot/types/reaction_type_paid.rb +11 -0
  95. data/lib/telegram/bot/types/refunded_payment.rb +15 -0
  96. data/lib/telegram/bot/types/reply_keyboard_markup.rb +2 -2
  97. data/lib/telegram/bot/types/reply_keyboard_remove.rb +1 -1
  98. data/lib/telegram/bot/types/response_parameters.rb +12 -0
  99. data/lib/telegram/bot/types/revenue_withdrawal_state.rb +16 -0
  100. data/lib/telegram/bot/types/revenue_withdrawal_state_failed.rb +11 -0
  101. data/lib/telegram/bot/types/revenue_withdrawal_state_pending.rb +11 -0
  102. data/lib/telegram/bot/types/revenue_withdrawal_state_succeeded.rb +13 -0
  103. data/lib/telegram/bot/types/shared_user.rb +15 -0
  104. data/lib/telegram/bot/types/star_transaction.rb +15 -0
  105. data/lib/telegram/bot/types/star_transactions.rb +11 -0
  106. data/lib/telegram/bot/types/sticker_set.rb +0 -2
  107. data/lib/telegram/bot/types/story.rb +4 -1
  108. data/lib/telegram/bot/types/successful_payment.rb +3 -0
  109. data/lib/telegram/bot/types/transaction_partner.rb +18 -0
  110. data/lib/telegram/bot/types/transaction_partner_fragment.rb +12 -0
  111. data/lib/telegram/bot/types/transaction_partner_other.rb +11 -0
  112. data/lib/telegram/bot/types/transaction_partner_telegram_ads.rb +11 -0
  113. data/lib/telegram/bot/types/transaction_partner_telegram_api.rb +12 -0
  114. data/lib/telegram/bot/types/transaction_partner_user.rb +17 -0
  115. data/lib/telegram/bot/types/update.rb +5 -0
  116. data/lib/telegram/bot/types/user.rb +2 -0
  117. data/lib/telegram/bot/types/users_shared.rb +1 -1
  118. data/lib/telegram/bot/version.rb +1 -1
  119. data/rakelib/parse_schema.rake +73 -0
  120. data/rakelib/rebuild_types.rake +90 -0
  121. data/utility/empty_type.erb +14 -0
  122. data/utility/type.erb +13 -0
  123. data/utility/type_attributes.json +5138 -0
  124. metadata +65 -3

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.