telegram-bot-ruby 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +10 -0
  3. data/.github/workflows/ci.yml +0 -3
  4. data/.github/workflows/stale.yml +19 -0
  5. data/.gitignore +1 -0
  6. data/.rspec +1 -0
  7. data/.rubocop.yml +12 -7
  8. data/CHANGELOG.md +10 -0
  9. data/Gemfile +7 -3
  10. data/LICENSE +0 -1
  11. data/README.md +64 -20
  12. data/Rakefile +10 -8
  13. data/bin/console +4 -1
  14. data/lib/telegram/bot/api/endpoints.rb +114 -0
  15. data/lib/telegram/bot/api.rb +20 -44
  16. data/lib/telegram/bot/client.rb +8 -9
  17. data/lib/telegram/bot/exceptions/response_error.rb +2 -8
  18. data/lib/telegram/bot/types/animation.rb +1 -1
  19. data/lib/telegram/bot/types/audio.rb +1 -1
  20. data/lib/telegram/bot/types/bot_command_scope_all_chat_administrators.rb +1 -1
  21. data/lib/telegram/bot/types/bot_command_scope_all_group_chats.rb +1 -1
  22. data/lib/telegram/bot/types/bot_command_scope_all_private_chats.rb +1 -1
  23. data/lib/telegram/bot/types/bot_command_scope_chat.rb +2 -2
  24. data/lib/telegram/bot/types/bot_command_scope_chat_administrators.rb +2 -2
  25. data/lib/telegram/bot/types/bot_command_scope_chat_member.rb +2 -2
  26. data/lib/telegram/bot/types/bot_command_scope_default.rb +1 -1
  27. data/lib/telegram/bot/types/bot_description.rb +11 -0
  28. data/lib/telegram/bot/types/bot_name.rb +11 -0
  29. data/lib/telegram/bot/types/bot_short_description.rb +11 -0
  30. data/lib/telegram/bot/types/callback_query.rb +1 -1
  31. data/lib/telegram/bot/types/chat.rb +16 -9
  32. data/lib/telegram/bot/types/chat_administrator_rights.rb +3 -0
  33. data/lib/telegram/bot/types/chat_boost.rb +14 -0
  34. data/lib/telegram/bot/types/chat_boost_removed.rb +14 -0
  35. data/lib/telegram/bot/types/chat_boost_source.rb +13 -0
  36. data/lib/telegram/bot/types/chat_boost_source_gift_code.rb +12 -0
  37. data/lib/telegram/bot/types/chat_boost_source_giveaway.rb +14 -0
  38. data/lib/telegram/bot/types/chat_boost_source_premium.rb +12 -0
  39. data/lib/telegram/bot/types/chat_boost_updated.rb +12 -0
  40. data/lib/telegram/bot/types/chat_member.rb +11 -2
  41. data/lib/telegram/bot/types/chat_member_administrator.rb +8 -5
  42. data/lib/telegram/bot/types/chat_member_banned.rb +2 -2
  43. data/lib/telegram/bot/types/chat_member_left.rb +2 -2
  44. data/lib/telegram/bot/types/chat_member_member.rb +2 -2
  45. data/lib/telegram/bot/types/chat_member_owner.rb +2 -2
  46. data/lib/telegram/bot/types/chat_member_restricted.rb +2 -2
  47. data/lib/telegram/bot/types/chat_member_updated.rb +1 -0
  48. data/lib/telegram/bot/types/compactable.rb +2 -7
  49. data/lib/telegram/bot/types/document.rb +1 -1
  50. data/lib/telegram/bot/types/external_reply_info.rb +33 -0
  51. data/lib/telegram/bot/types/force_reply.rb +1 -1
  52. data/lib/telegram/bot/types/giveaway.rb +18 -0
  53. data/lib/telegram/bot/types/giveaway_completed.rb +13 -0
  54. data/lib/telegram/bot/types/giveaway_created.rb +10 -0
  55. data/lib/telegram/bot/types/giveaway_winners.rb +21 -0
  56. data/lib/telegram/bot/types/inaccessible_message.rb +13 -0
  57. data/lib/telegram/bot/types/inline_keyboard_button.rb +1 -0
  58. data/lib/telegram/bot/types/inline_query_result_article.rb +4 -4
  59. data/lib/telegram/bot/types/inline_query_result_audio.rb +1 -1
  60. data/lib/telegram/bot/types/inline_query_result_cached_audio.rb +1 -1
  61. data/lib/telegram/bot/types/inline_query_result_cached_document.rb +1 -1
  62. data/lib/telegram/bot/types/inline_query_result_cached_gif.rb +1 -1
  63. data/lib/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rb +1 -1
  64. data/lib/telegram/bot/types/inline_query_result_cached_photo.rb +1 -1
  65. data/lib/telegram/bot/types/inline_query_result_cached_sticker.rb +1 -1
  66. data/lib/telegram/bot/types/inline_query_result_cached_video.rb +1 -1
  67. data/lib/telegram/bot/types/inline_query_result_cached_voice.rb +1 -1
  68. data/lib/telegram/bot/types/inline_query_result_contact.rb +4 -4
  69. data/lib/telegram/bot/types/inline_query_result_document.rb +4 -4
  70. data/lib/telegram/bot/types/inline_query_result_game.rb +1 -1
  71. data/lib/telegram/bot/types/inline_query_result_gif.rb +3 -3
  72. data/lib/telegram/bot/types/inline_query_result_location.rb +4 -4
  73. data/lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb +3 -3
  74. data/lib/telegram/bot/types/inline_query_result_photo.rb +2 -2
  75. data/lib/telegram/bot/types/inline_query_result_venue.rb +4 -4
  76. data/lib/telegram/bot/types/inline_query_result_video.rb +2 -2
  77. data/lib/telegram/bot/types/inline_query_result_voice.rb +1 -1
  78. data/lib/telegram/bot/types/input_media_animation.rb +2 -2
  79. data/lib/telegram/bot/types/input_media_audio.rb +2 -2
  80. data/lib/telegram/bot/types/input_media_document.rb +2 -2
  81. data/lib/telegram/bot/types/input_media_photo.rb +1 -1
  82. data/lib/telegram/bot/types/input_media_video.rb +2 -2
  83. data/lib/telegram/bot/types/input_text_message_content.rb +1 -1
  84. data/lib/telegram/bot/types/keyboard_button.rb +1 -1
  85. data/lib/telegram/bot/types/{keyboard_button_request_user.rb → keyboard_button_request_users.rb} +2 -1
  86. data/lib/telegram/bot/types/link_preview_options.rb +15 -0
  87. data/lib/telegram/bot/types/maybe_inaccessible_message.rb +12 -0
  88. data/lib/telegram/bot/types/menu_button_commands.rb +1 -1
  89. data/lib/telegram/bot/types/menu_button_default.rb +1 -1
  90. data/lib/telegram/bot/types/menu_button_web_app.rb +1 -1
  91. data/lib/telegram/bot/types/message.rb +19 -16
  92. data/lib/telegram/bot/types/message_id.rb +11 -0
  93. data/lib/telegram/bot/types/message_origin.rb +14 -0
  94. data/lib/telegram/bot/types/message_origin_channel.rb +15 -0
  95. data/lib/telegram/bot/types/message_origin_chat.rb +14 -0
  96. data/lib/telegram/bot/types/message_origin_hidden_user.rb +13 -0
  97. data/lib/telegram/bot/types/message_origin_user.rb +13 -0
  98. data/lib/telegram/bot/types/message_reaction_count_updated.rb +14 -0
  99. data/lib/telegram/bot/types/message_reaction_updated.rb +17 -0
  100. data/lib/telegram/bot/types/passport_element_error_data_field.rb +1 -1
  101. data/lib/telegram/bot/types/passport_element_error_file.rb +1 -1
  102. data/lib/telegram/bot/types/passport_element_error_files.rb +2 -2
  103. data/lib/telegram/bot/types/passport_element_error_front_side.rb +1 -1
  104. data/lib/telegram/bot/types/passport_element_error_reverse_side.rb +1 -1
  105. data/lib/telegram/bot/types/passport_element_error_selfie.rb +1 -1
  106. data/lib/telegram/bot/types/passport_element_error_translation_file.rb +1 -1
  107. data/lib/telegram/bot/types/passport_element_error_translation_files.rb +2 -2
  108. data/lib/telegram/bot/types/passport_element_error_unspecified.rb +1 -1
  109. data/lib/telegram/bot/types/poll_answer.rb +2 -1
  110. data/lib/telegram/bot/types/reaction_count.rb +12 -0
  111. data/lib/telegram/bot/types/reaction_type.rb +12 -0
  112. data/lib/telegram/bot/types/reaction_type_custom_emoji.rb +12 -0
  113. data/lib/telegram/bot/types/reaction_type_emoji.rb +12 -0
  114. data/lib/telegram/bot/types/reply_keyboard_remove.rb +1 -1
  115. data/lib/telegram/bot/types/reply_parameters.rb +17 -0
  116. data/lib/telegram/bot/types/sticker.rb +2 -1
  117. data/lib/telegram/bot/types/sticker_set.rb +1 -1
  118. data/lib/telegram/bot/types/story.rb +9 -0
  119. data/lib/telegram/bot/types/switch_inline_query_chosen_chat.rb +15 -0
  120. data/lib/telegram/bot/types/text_quote.rb +14 -0
  121. data/lib/telegram/bot/types/update.rb +4 -0
  122. data/lib/telegram/bot/types/user.rb +2 -2
  123. data/lib/telegram/bot/types/user_chat_boosts.rb +11 -0
  124. data/lib/telegram/bot/types/{user_shared.rb → users_shared.rb} +2 -2
  125. data/lib/telegram/bot/types/video.rb +1 -1
  126. data/lib/telegram/bot/types/video_note.rb +1 -1
  127. data/lib/telegram/bot/types/webhook_info.rb +1 -1
  128. data/lib/telegram/bot/types/write_access_allowed.rb +3 -0
  129. data/lib/telegram/bot/version.rb +1 -1
  130. data/lib/telegram/bot.rb +1 -0
  131. data/telegram-bot-ruby.gemspec +1 -4
  132. metadata +43 -5
@@ -4,9 +4,9 @@ module Telegram
4
4
  module Bot
5
5
  module Types
6
6
  class PassportElementErrorTranslationFiles < Base
7
- attribute :source, Types::String.default('translation_files')
7
+ attribute :source, Types::String.constrained(eql: 'translation_files').default('translation_files')
8
8
  attribute :type, Types::String
9
- attribute :file_hashes, Types::Array.of(String)
9
+ attribute :file_hashes, Types::Array.of(Types::String)
10
10
  attribute :message, Types::String
11
11
  end
12
12
  end
@@ -4,7 +4,7 @@ module Telegram
4
4
  module Bot
5
5
  module Types
6
6
  class PassportElementErrorUnspecified < Base
7
- attribute :source, Types::String.default('unspecified')
7
+ attribute :source, Types::String.constrained(eql: 'unspecified').default('unspecified')
8
8
  attribute :type, Types::String
9
9
  attribute :element_hash, Types::String
10
10
  attribute :message, Types::String
@@ -5,7 +5,8 @@ module Telegram
5
5
  module Types
6
6
  class PollAnswer < Base
7
7
  attribute :poll_id, Types::String
8
- attribute :user, User
8
+ attribute? :voter_chat, Chat
9
+ attribute? :user, User
9
10
  attribute :option_ids, Types::Array.of(Types::Integer)
10
11
  end
11
12
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class ReactionCount < Base
7
+ attribute :type, ReactionType
8
+ attribute :total_count, Types::Integer
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ ReactionType = ( # rubocop:disable Naming/ConstantName
7
+ ReactionTypeEmoji |
8
+ ReactionTypeCustomEmoji
9
+ )
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class ReactionTypeCustomEmoji < Base
7
+ attribute :type, Types::String.constrained(eql: 'custom_emoji').default('custom_emoji')
8
+ attribute :custom_emoji_id, Types::String
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class ReactionTypeEmoji < Base
7
+ attribute :type, Types::String.constrained(eql: 'emoji').default('emoji')
8
+ attribute :emoji, Types::String
9
+ end
10
+ end
11
+ end
12
+ end
@@ -4,7 +4,7 @@ module Telegram
4
4
  module Bot
5
5
  module Types
6
6
  class ReplyKeyboardRemove < Base
7
- attribute :remove_keyboard, Types::Bool
7
+ attribute :remove_keyboard, Types::True
8
8
  attribute? :selective, Types::Bool.default(false)
9
9
  end
10
10
  end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class ReplyParameters < Base
7
+ attribute :message_id, Types::Integer
8
+ attribute? :chat_id, Types::Integer | Types::String
9
+ attribute? :allow_sending_without_reply, Types::Bool
10
+ attribute? :quote, Types::String
11
+ attribute? :quote_parse_mode, Types::String
12
+ attribute? :quote_entities, Types::Array.of(MessageEntity)
13
+ attribute? :quote_position, Types::Integer
14
+ end
15
+ end
16
+ end
17
+ end
@@ -11,12 +11,13 @@ module Telegram
11
11
  attribute :height, Types::Integer
12
12
  attribute :is_animated, Types::Bool
13
13
  attribute :is_video, Types::Bool
14
- attribute? :thumb, PhotoSize
14
+ attribute? :thumbnail, PhotoSize
15
15
  attribute? :emoji, Types::String
16
16
  attribute? :set_name, Types::String
17
17
  attribute? :premium_animation, File
18
18
  attribute? :mask_position, MaskPosition
19
19
  attribute? :custom_emoji_id, Types::String
20
+ attribute? :needs_repainting, Types::True
20
21
  attribute? :file_size, Types::Integer
21
22
  end
22
23
  end
@@ -10,7 +10,7 @@ module Telegram
10
10
  attribute :is_animated, Types::Bool
11
11
  attribute :is_video, Types::Bool
12
12
  attribute :stickers, Types::Array.of(Sticker)
13
- attribute? :thumb, PhotoSize
13
+ attribute? :thumbnail, PhotoSize
14
14
  end
15
15
  end
16
16
  end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class Story < Base; end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class SwitchInlineQueryChosenChat < Base
7
+ attribute? :query, Types::String
8
+ attribute? :allow_user_chats, Types::Bool
9
+ attribute? :allow_bot_chats, Types::Bool
10
+ attribute? :allow_group_chats, Types::Bool
11
+ attribute? :allow_channel_chats, Types::Bool
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class TextQuote < Base
7
+ attribute :text, Types::String
8
+ attribute? :entities, Types::Array.of(MessageEntity)
9
+ attribute :position, Types::Integer
10
+ attribute? :is_manual, Types::True
11
+ end
12
+ end
13
+ end
14
+ end
@@ -9,6 +9,8 @@ module Telegram
9
9
  attribute? :edited_message, Message
10
10
  attribute? :channel_post, Message
11
11
  attribute? :edited_channel_post, Message
12
+ attribute? :message_reaction, MessageReactionUpdated
13
+ attribute? :message_reaction_count, MessageReactionCountUpdated
12
14
  attribute? :inline_query, InlineQuery
13
15
  attribute? :chosen_inline_result, ChosenInlineResult
14
16
  attribute? :callback_query, CallbackQuery
@@ -19,6 +21,8 @@ module Telegram
19
21
  attribute? :my_chat_member, ChatMemberUpdated
20
22
  attribute? :chat_member, ChatMemberUpdated
21
23
  attribute? :chat_join_request, ChatJoinRequest
24
+ attribute? :chat_boost, ChatBoostUpdated
25
+ attribute? :removed_chat_boost, ChatBoostRemoved
22
26
 
23
27
  def current_message
24
28
  @current_message ||=
@@ -10,8 +10,8 @@ module Telegram
10
10
  attribute? :last_name, Types::String
11
11
  attribute? :username, Types::String
12
12
  attribute? :language_code, Types::String
13
- attribute? :is_premium, Types::Bool
14
- attribute? :added_to_attachment_menu, Types::Bool
13
+ attribute? :is_premium, Types::True
14
+ attribute? :added_to_attachment_menu, Types::True
15
15
  attribute? :can_join_groups, Types::Bool
16
16
  attribute? :can_read_all_group_messages, Types::Bool
17
17
  attribute? :supports_inline_queries, Types::Bool
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class UserChatBoosts < Base
7
+ attribute :boosts, Types::Array.of(ChatBoost)
8
+ end
9
+ end
10
+ end
11
+ end
@@ -3,9 +3,9 @@
3
3
  module Telegram
4
4
  module Bot
5
5
  module Types
6
- class UserShared < Base
6
+ class UsersShared < Base
7
7
  attribute :request_id, Types::Integer
8
- attribute :user_id, Types::Integer
8
+ attribute :user_ids, Types::Array.of(Types::Integer)
9
9
  end
10
10
  end
11
11
  end
@@ -9,7 +9,7 @@ module Telegram
9
9
  attribute :width, Types::Integer
10
10
  attribute :height, Types::Integer
11
11
  attribute :duration, Types::Integer
12
- attribute? :thumb, PhotoSize
12
+ attribute? :thumbnail, PhotoSize
13
13
  attribute? :file_name, Types::String
14
14
  attribute? :mime_type, Types::String
15
15
  attribute? :file_size, Types::Integer
@@ -8,7 +8,7 @@ module Telegram
8
8
  attribute :file_unique_id, Types::String
9
9
  attribute :length, Types::Integer
10
10
  attribute :duration, Types::Integer
11
- attribute? :thumb, PhotoSize
11
+ attribute? :thumbnail, PhotoSize
12
12
  attribute? :file_size, Types::Integer
13
13
  end
14
14
  end
@@ -12,7 +12,7 @@ module Telegram
12
12
  attribute? :last_error_message, Types::String
13
13
  attribute? :last_synchronization_error_date, Types::Integer
14
14
  attribute? :max_connections, Types::Integer
15
- attribute? :allowed_updates, Types::Array.of(String)
15
+ attribute? :allowed_updates, Types::Array.of(Types::String)
16
16
  end
17
17
  end
18
18
  end
@@ -4,6 +4,9 @@ module Telegram
4
4
  module Bot
5
5
  module Types
6
6
  class WriteAccessAllowed < Base
7
+ attribute? :from_request, Types::Bool
8
+ attribute? :web_app_name, Types::String
9
+ attribute? :from_attachment_menu, Types::Bool
7
10
  end
8
11
  end
9
12
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Telegram
4
4
  module Bot
5
- VERSION = '1.0.0'
5
+ VERSION = '2.0.0'
6
6
  end
7
7
  end
data/lib/telegram/bot.rb CHANGED
@@ -25,5 +25,6 @@ end
25
25
 
26
26
  loader = Zeitwerk::Loader.new
27
27
  loader.inflector = Zeitwerk::GemInflector.new(__FILE__)
28
+ loader.inflector.inflect('endpoints' => 'ENDPOINTS')
28
29
  loader.push_dir("#{__dir__}/bot", namespace: Telegram::Bot)
29
30
  loader.setup
@@ -1,9 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
-
6
- require 'telegram/bot/version'
3
+ require_relative 'lib/telegram/bot/version'
7
4
 
8
5
  Gem::Specification.new do |spec|
9
6
  spec.name = 'telegram-bot-ruby'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegram-bot-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tipugin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -73,8 +73,10 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".editorconfig"
76
77
  - ".env.sample"
77
78
  - ".github/workflows/ci.yml"
79
+ - ".github/workflows/stale.yml"
78
80
  - ".gitignore"
79
81
  - ".rspec"
80
82
  - ".rubocop.yml"
@@ -88,6 +90,7 @@ files:
88
90
  - examples/bot.rb
89
91
  - lib/telegram/bot.rb
90
92
  - lib/telegram/bot/api.rb
93
+ - lib/telegram/bot/api/endpoints.rb
91
94
  - lib/telegram/bot/client.rb
92
95
  - lib/telegram/bot/configuration.rb
93
96
  - lib/telegram/bot/exceptions/base.rb
@@ -105,10 +108,20 @@ files:
105
108
  - lib/telegram/bot/types/bot_command_scope_chat_administrators.rb
106
109
  - lib/telegram/bot/types/bot_command_scope_chat_member.rb
107
110
  - lib/telegram/bot/types/bot_command_scope_default.rb
111
+ - lib/telegram/bot/types/bot_description.rb
112
+ - lib/telegram/bot/types/bot_name.rb
113
+ - lib/telegram/bot/types/bot_short_description.rb
108
114
  - lib/telegram/bot/types/callback_game.rb
109
115
  - lib/telegram/bot/types/callback_query.rb
110
116
  - lib/telegram/bot/types/chat.rb
111
117
  - lib/telegram/bot/types/chat_administrator_rights.rb
118
+ - lib/telegram/bot/types/chat_boost.rb
119
+ - lib/telegram/bot/types/chat_boost_removed.rb
120
+ - lib/telegram/bot/types/chat_boost_source.rb
121
+ - lib/telegram/bot/types/chat_boost_source_gift_code.rb
122
+ - lib/telegram/bot/types/chat_boost_source_giveaway.rb
123
+ - lib/telegram/bot/types/chat_boost_source_premium.rb
124
+ - lib/telegram/bot/types/chat_boost_updated.rb
112
125
  - lib/telegram/bot/types/chat_invite_link.rb
113
126
  - lib/telegram/bot/types/chat_join_request.rb
114
127
  - lib/telegram/bot/types/chat_location.rb
@@ -130,6 +143,7 @@ files:
130
143
  - lib/telegram/bot/types/document.rb
131
144
  - lib/telegram/bot/types/encrypted_credentials.rb
132
145
  - lib/telegram/bot/types/encrypted_passport_element.rb
146
+ - lib/telegram/bot/types/external_reply_info.rb
133
147
  - lib/telegram/bot/types/file.rb
134
148
  - lib/telegram/bot/types/force_reply.rb
135
149
  - lib/telegram/bot/types/forum_topic.rb
@@ -141,6 +155,11 @@ files:
141
155
  - lib/telegram/bot/types/game_high_score.rb
142
156
  - lib/telegram/bot/types/general_forum_topic_hidden.rb
143
157
  - lib/telegram/bot/types/general_forum_topic_unhidden.rb
158
+ - lib/telegram/bot/types/giveaway.rb
159
+ - lib/telegram/bot/types/giveaway_completed.rb
160
+ - lib/telegram/bot/types/giveaway_created.rb
161
+ - lib/telegram/bot/types/giveaway_winners.rb
162
+ - lib/telegram/bot/types/inaccessible_message.rb
144
163
  - lib/telegram/bot/types/inline_keyboard_button.rb
145
164
  - lib/telegram/bot/types/inline_keyboard_markup.rb
146
165
  - lib/telegram/bot/types/inline_query.rb
@@ -179,17 +198,27 @@ files:
179
198
  - lib/telegram/bot/types/keyboard_button.rb
180
199
  - lib/telegram/bot/types/keyboard_button_poll_type.rb
181
200
  - lib/telegram/bot/types/keyboard_button_request_chat.rb
182
- - lib/telegram/bot/types/keyboard_button_request_user.rb
201
+ - lib/telegram/bot/types/keyboard_button_request_users.rb
183
202
  - lib/telegram/bot/types/labeled_price.rb
203
+ - lib/telegram/bot/types/link_preview_options.rb
184
204
  - lib/telegram/bot/types/location.rb
185
205
  - lib/telegram/bot/types/login_url.rb
186
206
  - lib/telegram/bot/types/mask_position.rb
207
+ - lib/telegram/bot/types/maybe_inaccessible_message.rb
187
208
  - lib/telegram/bot/types/menu_button_commands.rb
188
209
  - lib/telegram/bot/types/menu_button_default.rb
189
210
  - lib/telegram/bot/types/menu_button_web_app.rb
190
211
  - lib/telegram/bot/types/message.rb
191
212
  - lib/telegram/bot/types/message_auto_delete_timer_changed.rb
192
213
  - lib/telegram/bot/types/message_entity.rb
214
+ - lib/telegram/bot/types/message_id.rb
215
+ - lib/telegram/bot/types/message_origin.rb
216
+ - lib/telegram/bot/types/message_origin_channel.rb
217
+ - lib/telegram/bot/types/message_origin_chat.rb
218
+ - lib/telegram/bot/types/message_origin_hidden_user.rb
219
+ - lib/telegram/bot/types/message_origin_user.rb
220
+ - lib/telegram/bot/types/message_reaction_count_updated.rb
221
+ - lib/telegram/bot/types/message_reaction_updated.rb
193
222
  - lib/telegram/bot/types/order_info.rb
194
223
  - lib/telegram/bot/types/passport_data.rb
195
224
  - lib/telegram/bot/types/passport_element_error_data_field.rb
@@ -209,19 +238,28 @@ files:
209
238
  - lib/telegram/bot/types/poll_option.rb
210
239
  - lib/telegram/bot/types/pre_checkout_query.rb
211
240
  - lib/telegram/bot/types/proximity_alert_triggered.rb
241
+ - lib/telegram/bot/types/reaction_count.rb
242
+ - lib/telegram/bot/types/reaction_type.rb
243
+ - lib/telegram/bot/types/reaction_type_custom_emoji.rb
244
+ - lib/telegram/bot/types/reaction_type_emoji.rb
212
245
  - lib/telegram/bot/types/reply_keyboard_markup.rb
213
246
  - lib/telegram/bot/types/reply_keyboard_remove.rb
247
+ - lib/telegram/bot/types/reply_parameters.rb
214
248
  - lib/telegram/bot/types/sent_web_app_message.rb
215
249
  - lib/telegram/bot/types/shipping_address.rb
216
250
  - lib/telegram/bot/types/shipping_option.rb
217
251
  - lib/telegram/bot/types/shipping_query.rb
218
252
  - lib/telegram/bot/types/sticker.rb
219
253
  - lib/telegram/bot/types/sticker_set.rb
254
+ - lib/telegram/bot/types/story.rb
220
255
  - lib/telegram/bot/types/successful_payment.rb
256
+ - lib/telegram/bot/types/switch_inline_query_chosen_chat.rb
257
+ - lib/telegram/bot/types/text_quote.rb
221
258
  - lib/telegram/bot/types/update.rb
222
259
  - lib/telegram/bot/types/user.rb
260
+ - lib/telegram/bot/types/user_chat_boosts.rb
223
261
  - lib/telegram/bot/types/user_profile_photos.rb
224
- - lib/telegram/bot/types/user_shared.rb
262
+ - lib/telegram/bot/types/users_shared.rb
225
263
  - lib/telegram/bot/types/venue.rb
226
264
  - lib/telegram/bot/types/video.rb
227
265
  - lib/telegram/bot/types/video_chat_ended.rb
@@ -255,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
293
  - !ruby/object:Gem::Version
256
294
  version: '0'
257
295
  requirements: []
258
- rubygems_version: 3.4.2
296
+ rubygems_version: 3.5.5
259
297
  signing_key:
260
298
  specification_version: 4
261
299
  summary: Ruby wrapper for Telegram's Bot API