telegrammer 0.7.1 → 0.8.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/telegrammer/data_types/update.rb +2 -0
- data/lib/telegrammer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7058216d3e18bab587ee556ee1fe44adeef58c80
|
|
4
|
+
data.tar.gz: 0856f98d686cadc0063eefd79e5e906e657fe29b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e619c24d0b3e5a1ab137a7f4308cd18e4306e6d14b904dbf56c9499ec96008be4c1254c2101f0a4686153d57244c1cf663ae6b2150620b1175766ef4f30bc9e7
|
|
7
|
+
data.tar.gz: 552890a1017ed90dd0efb8418b026e8f6c9000290ea528405c6ff87df1f127e96f3af87add25d245bbebef20d08b56c9ca517f6e644de20f67bd045aad8eb1fd
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
# Telegrammer
|
|
7
7
|
|
|
8
|
-
Ruby client for the [Telegram's Bot API](https://core.telegram.org/bots/api). Compliant with the [version
|
|
8
|
+
Ruby client for the [Telegram's Bot API](https://core.telegram.org/bots/api). Compliant with the [version 2016-01-20 of the API](https://core.telegram.org/bots/api#recent-changes).
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -5,12 +5,14 @@ module Telegrammer
|
|
|
5
5
|
# @attr [Integer] update_id The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially.
|
|
6
6
|
# @attr [Telegrammer::DataTypes::Message] message Optional. New incoming message of any kind - text, photo, sticker, etc.
|
|
7
7
|
# @attr [Telegrammer::DataTypes::InlineQuery] inline_query Optional. New incoming inline query.
|
|
8
|
+
# @attr [Telegrammer::DataTypes::ChosenInlineResult] chosen_inline_result Optional. The result of an inline query that was chosen by a user and sent to their chat partner.
|
|
8
9
|
#
|
|
9
10
|
# See more at https://core.telegram.org/bots/api#update
|
|
10
11
|
class Update < Telegrammer::DataTypes::Base
|
|
11
12
|
attribute :update_id, Integer
|
|
12
13
|
attribute :message, Message
|
|
13
14
|
attribute :inline_query, InlineQuery
|
|
15
|
+
attribute :chosen_inline_result, ChosenInlineResult
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|
data/lib/telegrammer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telegrammer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luis Mayoral
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-01-
|
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httpclient
|
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
144
144
|
version: '0'
|
|
145
145
|
requirements: []
|
|
146
146
|
rubyforge_project:
|
|
147
|
-
rubygems_version: 2.
|
|
147
|
+
rubygems_version: 2.5.1
|
|
148
148
|
signing_key:
|
|
149
149
|
specification_version: 4
|
|
150
150
|
summary: Ruby client for the Telegram's Bots API
|