telegram-bot-ruby 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -3
- data/lib/telegram/bot/api.rb +6 -4
- data/lib/telegram/bot/types.rb +2 -0
- data/lib/telegram/bot/types/mask_position.rb +12 -0
- data/lib/telegram/bot/types/sticker.rb +2 -0
- data/lib/telegram/bot/types/sticker_set.rb +12 -0
- data/lib/telegram/bot/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6f6cfeeb86c2fef83ec55beb9de0d3f72729e42
|
4
|
+
data.tar.gz: 6be069ef2d2df8ff9ca36248d26353311c5a29c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b51532587af460e2fbe1a04b4014b6583ebcb6841e7abe457ecd1e575550681ddaa8ad0d221ee852c9bed62b5064641ac7e2a78906285ab01daaf38e083fa769
|
7
|
+
data.tar.gz: fa0df882d0c9c61726d8eccfb6cda2b746f7634ab50ec451ce34aeaf86ced773149c9bb69d91c3e3b8e73d421589d673edbfd0bb135fae21732f95e959e937ba
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.8.3
|
4
|
+
|
5
|
+
- Implement [Bot API 3.2](https://core.telegram.org/bots/api#july-21-2017) (thx [@ivanovaleksey][])
|
6
|
+
|
3
7
|
## 0.8.2
|
4
8
|
|
5
|
-
- Implement [Bot API 3.1](https://core.telegram.org/bots/api#june-30-2017) (thx [@ivanovaleksey]
|
9
|
+
- Implement [Bot API 3.1](https://core.telegram.org/bots/api#june-30-2017) (thx [@ivanovaleksey][])
|
6
10
|
|
7
11
|
## 0.8.1
|
8
12
|
|
@@ -10,7 +14,7 @@
|
|
10
14
|
|
11
15
|
## 0.8.0
|
12
16
|
|
13
|
-
- Implement [Bot API 3.0](https://core.telegram.org/bots/api#may-18-2017) (thx [@ivanovaleksey]
|
17
|
+
- Implement [Bot API 3.0](https://core.telegram.org/bots/api#may-18-2017) (thx [@ivanovaleksey][])
|
14
18
|
|
15
19
|
## 0.7.2
|
16
20
|
|
@@ -22,7 +26,7 @@
|
|
22
26
|
|
23
27
|
## 0.7.0
|
24
28
|
|
25
|
-
- Implement [Bot API 2.3](https://core.telegram.org/bots/api-changelog#november-21-2016) (thx [@ivanovaleksey]
|
29
|
+
- Implement [Bot API 2.3](https://core.telegram.org/bots/api-changelog#november-21-2016) (thx [@ivanovaleksey][])
|
26
30
|
|
27
31
|
## 0.6.0
|
28
32
|
|
@@ -44,3 +48,5 @@
|
|
44
48
|
## 0.4.2
|
45
49
|
|
46
50
|
- Let `Client#logger` be overwritten later (use `attr_accessor` instead of `attr_reader`)
|
51
|
+
|
52
|
+
[@ivanovaleksey]: https://github.com/ivanovaleksey
|
data/lib/telegram/bot/api.rb
CHANGED
@@ -3,14 +3,16 @@ module Telegram
|
|
3
3
|
class Api
|
4
4
|
ENDPOINTS = %w(
|
5
5
|
getUpdates setWebhook deleteWebhook getWebhookInfo getMe sendMessage
|
6
|
-
forwardMessage sendPhoto sendAudio sendDocument
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
forwardMessage sendPhoto sendAudio sendDocument sendVideo sendVoice
|
7
|
+
sendVideoNote sendLocation sendVenue sendContact sendChatAction
|
8
|
+
getUserProfilePhotos getFile kickChatMember unbanChatMember
|
9
|
+
restrictChatMember promoteChatMember leaveChat getChat
|
10
10
|
getChatAdministrators exportChatInviteLink setChatPhoto deleteChatPhoto
|
11
11
|
setChatTitle setChatDescription pinChatMessage unpinChatMessage
|
12
12
|
getChatMembersCount getChatMember answerCallbackQuery editMessageText
|
13
13
|
editMessageCaption editMessageReplyMarkup deleteMessage
|
14
|
+
sendSticker getStickerSet uploadStickerFile createNewStickerSet
|
15
|
+
addStickerToSet setStickerPositionInSet deleteStickerFromSet
|
14
16
|
answerInlineQuery sendInvoice answerShippingQuery answerPreCheckoutQuery
|
15
17
|
sendGame setGameScore getGameHighScores
|
16
18
|
).freeze
|
data/lib/telegram/bot/types.rb
CHANGED
@@ -3,7 +3,9 @@ require 'telegram/bot/types/user'
|
|
3
3
|
require 'telegram/bot/types/audio'
|
4
4
|
require 'telegram/bot/types/photo_size'
|
5
5
|
require 'telegram/bot/types/document'
|
6
|
+
require 'telegram/bot/types/mask_position'
|
6
7
|
require 'telegram/bot/types/sticker'
|
8
|
+
require 'telegram/bot/types/sticker_set'
|
7
9
|
require 'telegram/bot/types/video'
|
8
10
|
require 'telegram/bot/types/voice'
|
9
11
|
require 'telegram/bot/types/video_note'
|
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.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tipugin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -199,6 +199,7 @@ files:
|
|
199
199
|
- lib/telegram/bot/types/keyboard_button.rb
|
200
200
|
- lib/telegram/bot/types/labeled_price.rb
|
201
201
|
- lib/telegram/bot/types/location.rb
|
202
|
+
- lib/telegram/bot/types/mask_position.rb
|
202
203
|
- lib/telegram/bot/types/message.rb
|
203
204
|
- lib/telegram/bot/types/message_entity.rb
|
204
205
|
- lib/telegram/bot/types/order_info.rb
|
@@ -210,6 +211,7 @@ files:
|
|
210
211
|
- lib/telegram/bot/types/shipping_option.rb
|
211
212
|
- lib/telegram/bot/types/shipping_query.rb
|
212
213
|
- lib/telegram/bot/types/sticker.rb
|
214
|
+
- lib/telegram/bot/types/sticker_set.rb
|
213
215
|
- lib/telegram/bot/types/successful_payment.rb
|
214
216
|
- lib/telegram/bot/types/update.rb
|
215
217
|
- lib/telegram/bot/types/user.rb
|