telegram-bot-ruby 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/telegram/bot/api.rb +1 -1
- data/lib/telegram/bot/types/input_media_photo.rb +11 -0
- data/lib/telegram/bot/types/input_media_video.rb +14 -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: 873196b9f0e2e8474dc98df1583f01e744efd85d
|
4
|
+
data.tar.gz: c24fcc71344050d83ed000408c079575ac8f9b20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ad05605ea58721b478287e9d908dd78031b64e695df4d7a453c2c91c38e69c5ac2d37e77a41a4b412c4f90f854c01cbd071656a0ab1c69996ae84e4572b8e61
|
7
|
+
data.tar.gz: 5b9498ff0189fcc397dca228041676cfce0494ce3e8909920940d693e09c01cb7f89db95e13d9bf3eb2de4e1d8c536c6ed10dfee01b4bfe4a7ee438d5588a646
|
data/CHANGELOG.md
CHANGED
data/lib/telegram/bot/api.rb
CHANGED
@@ -4,7 +4,7 @@ module Telegram
|
|
4
4
|
ENDPOINTS = %w(
|
5
5
|
getUpdates setWebhook deleteWebhook getWebhookInfo getMe sendMessage
|
6
6
|
forwardMessage sendPhoto sendAudio sendDocument sendVideo sendVoice
|
7
|
-
sendVideoNote sendLocation editMessageLiveLocation
|
7
|
+
sendVideoNote sendMediaGroup sendLocation editMessageLiveLocation
|
8
8
|
stopMessageLiveLocation sendVenue sendContact sendChatAction
|
9
9
|
getUserProfilePhotos getFile kickChatMember unbanChatMember
|
10
10
|
restrictChatMember promoteChatMember leaveChat getChat
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InputMediaVideo < Base
|
5
|
+
attribute :type, String
|
6
|
+
attribute :media, String
|
7
|
+
attribute :caption, String
|
8
|
+
attribute :width, Integer
|
9
|
+
attribute :height, Integer
|
10
|
+
attribute :duration, Integer
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
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.6
|
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-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -206,6 +206,8 @@ files:
|
|
206
206
|
- lib/telegram/bot/types/inline_query_result_voice.rb
|
207
207
|
- lib/telegram/bot/types/input_contact_message_content.rb
|
208
208
|
- lib/telegram/bot/types/input_location_message_content.rb
|
209
|
+
- lib/telegram/bot/types/input_media_photo.rb
|
210
|
+
- lib/telegram/bot/types/input_media_video.rb
|
209
211
|
- lib/telegram/bot/types/input_message_content.rb
|
210
212
|
- lib/telegram/bot/types/input_text_message_content.rb
|
211
213
|
- lib/telegram/bot/types/input_venue_message_content.rb
|