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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ced73b801560e523612700abc57f755767dd479
4
- data.tar.gz: 752d5445cd4ccc9ff113f7c68199c693b62ed34f
3
+ metadata.gz: 873196b9f0e2e8474dc98df1583f01e744efd85d
4
+ data.tar.gz: c24fcc71344050d83ed000408c079575ac8f9b20
5
5
  SHA512:
6
- metadata.gz: 9b0507af86cf3aae35ea245a6e1dd0205f478873b3c70a6daa1a9c6d6b6a86cbb8be7d90f82ef28f4ec1280dcbfd3711d9be8fdb54ac6e1ae2d52ab9a6e20ec8
7
- data.tar.gz: 0cd57e925551dab1e9c834d2ce7da548afe8ee9488705c5e5dd6e2c0171252767012084d15ab7aef2045f02b663bd63292f11a7be0b609f97e8db54144100166
6
+ metadata.gz: 5ad05605ea58721b478287e9d908dd78031b64e695df4d7a453c2c91c38e69c5ac2d37e77a41a4b412c4f90f854c01cbd071656a0ab1c69996ae84e4572b8e61
7
+ data.tar.gz: 5b9498ff0189fcc397dca228041676cfce0494ce3e8909920940d693e09c01cb7f89db95e13d9bf3eb2de4e1d8c536c6ed10dfee01b4bfe4a7ee438d5588a646
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.6
4
+
5
+ - Implement [Bot API 3.5](https://core.telegram.org/bots/api#november-17-2017)
6
+
3
7
  ## 0.8.5
4
8
 
5
9
  - Implement [Bot API 3.4](https://core.telegram.org/bots/api#october-11-2017) (thx [@ivanovaleksey][])
@@ -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,11 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InputMediaPhoto < Base
5
+ attribute :type, String
6
+ attribute :media, String
7
+ attribute :caption, String
8
+ end
9
+ end
10
+ end
11
+ end
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.8.5'.freeze
3
+ VERSION = '0.8.6'.freeze
4
4
  end
5
5
  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: 0.8.5
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-10-30 00:00:00.000000000 Z
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