telegram-bot-ruby 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/telegram/bot/api.rb +1 -1
- data/lib/telegram/bot/types/chat.rb +3 -1
- data/lib/telegram/bot/types/message_entity.rb +1 -0
- data/lib/telegram/bot/types/sticker.rb +3 -0
- data/lib/telegram/bot/types/sticker_set.rb +1 -0
- data/lib/telegram/bot/types/user.rb +2 -0
- data/lib/telegram/bot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd27ca4fa5ebce0538a52e94ba8a2d88fab6d4f9c0e187415c73e37d4ce31ec
|
4
|
+
data.tar.gz: fdcc6590cf65714f00a94573c4b7eb72582fa2929c3bd202fe42464b654f9078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3d3d11c744b6b3773c0a1fdfa9c3e8d18b4ad286e020a135551c2182f136757aea74a52f3e9c427e98c0411822ccbd24b731e2625d5374fbd4dc8ce667215e3
|
7
|
+
data.tar.gz: f328f17dfe2b4cdf352c3026e9cbd3aa11b2c21854ddb03b45a431497964ba57d12e2af9b414819ed008fb03548ee94b671a0f9134a24d335f3d53f977ceb758
|
data/CHANGELOG.md
CHANGED
data/lib/telegram/bot/api.rb
CHANGED
@@ -26,7 +26,7 @@ module Telegram
|
|
26
26
|
approveChatJoinRequest declineChatJoinRequest banChatSenderChat
|
27
27
|
unbanChatSenderChat answerWebAppQuery setChatMenuButton
|
28
28
|
getChatMenuButton setMyDefaultAdministratorRights
|
29
|
-
getMyDefaultAdministratorRights
|
29
|
+
getMyDefaultAdministratorRights createInvoiceLink
|
30
30
|
].freeze
|
31
31
|
|
32
32
|
attr_reader :token, :url
|
@@ -17,6 +17,9 @@ module Telegram
|
|
17
17
|
attribute :photo, ChatPhoto
|
18
18
|
attribute :bio, String
|
19
19
|
attribute :has_private_forwards, Boolean
|
20
|
+
attribute :has_restricted_voice_and_video_messages, Boolean
|
21
|
+
attribute :join_to_send_messages, Boolean
|
22
|
+
attribute :join_by_request, Boolean
|
20
23
|
attribute :description, String
|
21
24
|
attribute :invite_link, String
|
22
25
|
attribute :pinned_message, 'Telegram::Bot::Types::Message'
|
@@ -26,7 +29,6 @@ module Telegram
|
|
26
29
|
attribute :has_protected_content, Boolean
|
27
30
|
attribute :sticker_set_name, String
|
28
31
|
attribute :can_set_sticker_set, Boolean
|
29
|
-
attribute :all_members_are_administrators, Boolean
|
30
32
|
attribute :linked_chat_id, Integer
|
31
33
|
attribute :location, ChatLocation
|
32
34
|
end
|
@@ -6,6 +6,7 @@ module Telegram
|
|
6
6
|
class Sticker < Base
|
7
7
|
attribute :file_id, String
|
8
8
|
attribute :file_unique_id, String
|
9
|
+
attribute :type, String
|
9
10
|
attribute :width, Integer
|
10
11
|
attribute :height, Integer
|
11
12
|
attribute :is_animated, Boolean
|
@@ -13,7 +14,9 @@ module Telegram
|
|
13
14
|
attribute :thumb, PhotoSize
|
14
15
|
attribute :emoji, String
|
15
16
|
attribute :set_name, String
|
17
|
+
attribute :premium_animation, File
|
16
18
|
attribute :mask_position, MaskPosition
|
19
|
+
attribute :custom_emoji_id, String
|
17
20
|
attribute :file_size, Integer
|
18
21
|
end
|
19
22
|
end
|
@@ -10,6 +10,8 @@ module Telegram
|
|
10
10
|
attribute :last_name, String
|
11
11
|
attribute :username, String
|
12
12
|
attribute :language_code, String
|
13
|
+
attribute :is_premium, Boolean
|
14
|
+
attribute :added_to_attachment_menu, Boolean
|
13
15
|
attribute :can_join_groups, Boolean
|
14
16
|
attribute :can_read_all_group_messages, Boolean
|
15
17
|
attribute :supports_inline_queries, Boolean
|
data/lib/telegram/bot/version.rb
CHANGED
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: 0.
|
4
|
+
version: 0.21.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: 2022-08-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|