telegram-bot-ruby 2.2.0 → 2.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c61ae37c189075bf4c60779805815a0eab30f6e06869338741657599a390641c
4
- data.tar.gz: ebd700271cbc71e7a1e609936e5e6b01bd37eb6190b90266fe9490be77b62138
3
+ metadata.gz: 751792d39688d9d392978b98478b1b5c765bc67ec8bad10d7e94102abf3c1c4b
4
+ data.tar.gz: 5047aa5738592ae076c73916d2292fc0ddaa76f01d4f2a00d9a0c98ba1bff543
5
5
  SHA512:
6
- metadata.gz: 1bc5e6853d97f71863ce7f9010f7a6ee948c37adcaa2f0eeb100f1915d73736c4631c1f6c2d36ec189378f10a6a09186bd4b535dc37b267d8d6f324efbbd8d26
7
- data.tar.gz: 9e196f0e2709bd705324777f1bd47e0301b407be3a0567ac23f181225d9d1b6e038e787cff2fbac4e5a408446efcd38856d45990d955f76b32d50ff1a606d90f
6
+ metadata.gz: 39f033c125684f68e6ddbfc00fc055ccc38c5bc776f280c0fb98e286cb7b067bfa69386984e388600345dd1c6e8a4470d890eb6a00444d963c8f724b67ed69de
7
+ data.tar.gz: e729edac77f62854622ea4eff1c6ceeb244ee95afcce3ede8d440a94d864e77cbad4b59fff2cb202b4fd83692939a3535b53aa7f07ae9892f2a920b623168dc0
data/CHANGELOG.md CHANGED
@@ -1,22 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Added
6
+
7
+ - [Bot API 8.2](https://core.telegram.org/bots/api#january-1-2025) [#322](https://github.com/atipugin/telegram-bot-ruby/pull/322)
8
+
3
9
  ## 2.2.0
4
10
 
5
11
  ### Added
6
12
 
7
- - [Bot API 8.1](https://core.telegram.org/bots/api-changelog#october-31-2024) [#319](https://github.com/atipugin/telegram-bot-ruby/pull/319)
13
+ - [Bot API 8.1](https://core.telegram.org/bots/api-changelog#december-4-2024) [#319](https://github.com/atipugin/telegram-bot-ruby/pull/319)
8
14
 
9
15
  ## 2.1.0
10
16
 
11
17
  ### Added
12
18
 
13
- - [Bot API 8.0](https://core.telegram.org/bots/api#november-17-2024) (thx [@seorgiy](https://github.com/seorgiy))
19
+ - [Bot API 8.0](https://core.telegram.org/bots/api-changelog#november-17-2024) (thx [@seorgiy](https://github.com/seorgiy))
14
20
 
15
21
  ## 2.0.0
16
22
 
17
23
  ### Added
18
24
 
19
- - [Bot API 7.0](https://core.telegram.org/bots/api#december-29-2023)
25
+ - [Bot API 7.0](https://core.telegram.org/bots/api-changelog#december-29-2023)
20
26
 
21
27
  ### Changed
22
28
 
@@ -26,8 +32,8 @@
26
32
 
27
33
  - Replace [virtus](https://github.com/solnic/virtus) with [dry-struct](https://github.com/dry-rb/dry-struct)
28
34
  - Use [zeitwerk](https://github.com/fxn/zeitwerk) for code loading
29
- - Implement [Bot API 6.4](https://core.telegram.org/bots/api#december-30-2022)
30
- - Implement [Bot API 6.5](https://core.telegram.org/bots/api#february-3-2023)
35
+ - Implement [Bot API 6.4](https://core.telegram.org/bots/api-changelog#december-30-2022)
36
+ - Implement [Bot API 6.5](https://core.telegram.org/bots/api-changelog#february-3-2023)
31
37
 
32
38
  ## 0.23.0
33
39
 
@@ -38,8 +44,8 @@
38
44
 
39
45
  ## 0.21.0
40
46
 
41
- - Implement [Bot API 6.1](https://core.telegram.org/bots/api#june-20-2022)
42
- - Implement [Bot API 6.2](https://core.telegram.org/bots/api#august-12-2022)
47
+ - Implement [Bot API 6.1](https://core.telegram.org/bots/api-changelog#june-20-2022)
48
+ - Implement [Bot API 6.2](https://core.telegram.org/bots/api-changelog#august-12-2022)
43
49
 
44
50
  ## 0.20.0
45
51
 
@@ -70,11 +76,11 @@
70
76
 
71
77
  ## 0.15.0
72
78
 
73
- - Implement [Bot API 5.1](https://core.telegram.org/bots/api#march-9-2021)
79
+ - Implement [Bot API 5.1](https://core.telegram.org/bots/api-changelog#march-9-2021)
74
80
 
75
81
  ## 0.14.0
76
82
 
77
- - Implement [Bot API 5.0](https://core.telegram.org/bots/api#november-4-2020)
83
+ - Implement [Bot API 5.0](https://core.telegram.org/bots/api-changelog#november-4-2020)
78
84
 
79
85
  ## 0.13.0
80
86
 
@@ -88,7 +94,7 @@
88
94
 
89
95
  ## 0.11.0
90
96
 
91
- - Implement [Bot API 4.4](https://core.telegram.org/bots/api#july-29-2019)
97
+ - Implement [Bot API 4.4](https://core.telegram.org/bots/api-changelog#july-29-2019)
92
98
 
93
99
  ## 0.10.1
94
100
 
@@ -96,7 +102,7 @@
96
102
 
97
103
  ## 0.10.0
98
104
 
99
- - Implement [Bot API 4.3](https://core.telegram.org/bots/api#may-31-2019)
105
+ - Implement [Bot API 4.3](https://core.telegram.org/bots/api-changelog#may-31-2019)
100
106
 
101
107
  ## 0.9.1
102
108
 
@@ -115,23 +121,23 @@
115
121
 
116
122
  ## 0.8.6
117
123
 
118
- - Implement [Bot API 3.5](https://core.telegram.org/bots/api#november-17-2017)
124
+ - Implement [Bot API 3.5](https://core.telegram.org/bots/api-changelog#november-17-2017)
119
125
 
120
126
  ## 0.8.5
121
127
 
122
- - Implement [Bot API 3.4](https://core.telegram.org/bots/api#october-11-2017) (thx [@ivanovaleksey][])
128
+ - Implement [Bot API 3.4](https://core.telegram.org/bots/api-changelog#october-11-2017) (thx [@ivanovaleksey][])
123
129
 
124
130
  ## 0.8.4
125
131
 
126
- - Implement [Bot API 3.3](https://core.telegram.org/bots/api#august-23-2017) (thx [@ivanovaleksey][])
132
+ - Implement [Bot API 3.3](https://core.telegram.org/bots/api-changelog#august-23-2017) (thx [@ivanovaleksey][])
127
133
 
128
134
  ## 0.8.3
129
135
 
130
- - Implement [Bot API 3.2](https://core.telegram.org/bots/api#july-21-2017) (thx [@ivanovaleksey][])
136
+ - Implement [Bot API 3.2](https://core.telegram.org/bots/api-changelog#july-21-2017) (thx [@ivanovaleksey][])
131
137
 
132
138
  ## 0.8.2
133
139
 
134
- - Implement [Bot API 3.1](https://core.telegram.org/bots/api#june-30-2017) (thx [@ivanovaleksey][])
140
+ - Implement [Bot API 3.1](https://core.telegram.org/bots/api-changelog#june-30-2017) (thx [@ivanovaleksey][])
135
141
 
136
142
  ## 0.8.1
137
143
 
@@ -139,7 +145,7 @@
139
145
 
140
146
  ## 0.8.0
141
147
 
142
- - Implement [Bot API 3.0](https://core.telegram.org/bots/api#may-18-2017) (thx [@ivanovaleksey][])
148
+ - Implement [Bot API 3.0](https://core.telegram.org/bots/api-changelog#may-18-2017) (thx [@ivanovaleksey][])
143
149
 
144
150
  ## 0.7.2
145
151
 
@@ -117,7 +117,11 @@ module Telegram
117
117
  'sendGift' => Types::Bool,
118
118
  'savePreparedInlineMessage' => Types::PreparedInlineMessage,
119
119
  'editUserStarSubscription' => Types::Bool,
120
- 'setUserEmojiStatus' => Types::Bool
120
+ 'setUserEmojiStatus' => Types::Bool,
121
+ 'verifyUser' => Types::Bool,
122
+ 'verifyChat' => Types::Bool,
123
+ 'removeUserVerification' => Types::Bool,
124
+ 'removeChatVerification' => Types::Bool
121
125
  }.freeze
122
126
  end
123
127
  end
@@ -7,6 +7,7 @@ module Telegram
7
7
  attribute :id, Types::String
8
8
  attribute :sticker, Sticker
9
9
  attribute :star_count, Types::Integer
10
+ attribute? :upgrade_star_count, Types::Integer
10
11
  attribute? :total_count, Types::Integer
11
12
  attribute? :remaining_count, Types::Integer
12
13
  end
@@ -10,7 +10,6 @@ module Telegram
10
10
  attribute :input_message_content, InputMessageContent
11
11
  attribute? :reply_markup, InlineKeyboardMarkup
12
12
  attribute? :url, Types::String
13
- attribute? :hide_url, Types::Bool
14
13
  attribute? :description, Types::String
15
14
  attribute? :thumbnail_url, Types::String
16
15
  attribute? :thumbnail_width, Types::Integer
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Telegram
4
4
  module Bot
5
- VERSION = '2.2.0'
5
+ VERSION = '2.3.0'
6
6
  end
7
7
  end
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: 2.2.0
4
+ version: 2.3.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: 2024-12-05 00:00:00.000000000 Z
11
+ date: 2025-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct