telegram-bot-types 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telegram/bot/types.rb +62 -28
- data/lib/telegram/bot/types/callback_query.rb +13 -0
- data/lib/telegram/bot/types/chosen_inline_result.rb +2 -0
- data/lib/telegram/bot/types/inline_keyboard_button.rb +12 -0
- data/lib/telegram/bot/types/inline_keyboard_markup.rb +9 -0
- data/lib/telegram/bot/types/inline_query.rb +1 -0
- data/lib/telegram/bot/types/inline_query_result_article.rb +2 -4
- data/lib/telegram/bot/types/inline_query_result_audio.rb +16 -0
- data/lib/telegram/bot/types/inline_query_result_cached_audio.rb +13 -0
- data/lib/telegram/bot/types/inline_query_result_cached_document.rb +16 -0
- data/lib/telegram/bot/types/inline_query_result_cached_gif.rb +15 -0
- data/lib/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rb +15 -0
- data/lib/telegram/bot/types/inline_query_result_cached_photo.rb +16 -0
- data/lib/telegram/bot/types/inline_query_result_cached_sticker.rb +13 -0
- data/lib/telegram/bot/types/inline_query_result_cached_video.rb +16 -0
- data/lib/telegram/bot/types/inline_query_result_cached_voice.rb +14 -0
- data/lib/telegram/bot/types/inline_query_result_contact.rb +18 -0
- data/lib/telegram/bot/types/inline_query_result_document.rb +20 -0
- data/lib/telegram/bot/types/inline_query_result_gif.rb +2 -3
- data/lib/telegram/bot/types/inline_query_result_location.rb +18 -0
- data/lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb +2 -3
- data/lib/telegram/bot/types/inline_query_result_photo.rb +3 -4
- data/lib/telegram/bot/types/inline_query_result_venue.rb +20 -0
- data/lib/telegram/bot/types/inline_query_result_video.rb +5 -5
- data/lib/telegram/bot/types/inline_query_result_voice.rb +15 -0
- data/lib/telegram/bot/types/input_contact_message_content.rb +11 -0
- data/lib/telegram/bot/types/input_location_message_content.rb +10 -0
- data/lib/telegram/bot/types/input_message_content.rb +8 -0
- data/lib/telegram/bot/types/input_text_message_content.rb +11 -0
- data/lib/telegram/bot/types/input_venue_message_content.rb +13 -0
- data/lib/telegram/bot/types/keyboard_button.rb +11 -0
- data/lib/telegram/bot/types/message.rb +12 -3
- data/lib/telegram/bot/types/message_entity.rb +13 -0
- data/lib/telegram/bot/types/reply_keyboard_markup.rb +1 -1
- data/lib/telegram/bot/types/sticker.rb +1 -0
- data/lib/telegram/bot/types/update.rb +4 -0
- data/lib/telegram/bot/types/venue.rb +12 -0
- data/lib/telegram/bot/types/version.rb +1 -1
- data/telegram-bot-types.gemspec +1 -0
- metadata +42 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ff08b336315c35d2fab807ae700f6699c1def62
|
4
|
+
data.tar.gz: f27f97750ab48c11c8c57c98abca5b2845c97552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 743b147a9662f57c95ed200bb568e53bb38bf9cd1fb95a15d76695c0fa59f766fe8633cb3973a3e0e730e540c1bdaf87065f0fcd1d843905137daea77c917610
|
7
|
+
data.tar.gz: 4c0a2ee263e74675b47b27430e677454555c0954fe7aabb349aba94151aa7318a5839899120a107ea1946ad7f8cb23199600cfabeed443f3610ac0bee3ff1da4
|
data/lib/telegram/bot/types.rb
CHANGED
@@ -1,29 +1,63 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
1
|
+
require 'active_support/core_ext/string/inflections'
|
2
|
+
|
3
|
+
module Telegram
|
4
|
+
module Bot
|
5
|
+
module Types
|
6
|
+
%w(
|
7
|
+
audio
|
8
|
+
base
|
9
|
+
callback_query
|
10
|
+
chat
|
11
|
+
chosen_inline_result
|
12
|
+
contact
|
13
|
+
document
|
14
|
+
file
|
15
|
+
force_reply
|
16
|
+
inline_keyboard_button
|
17
|
+
inline_keyboard_markup
|
18
|
+
inline_query
|
19
|
+
inline_query_result_article
|
20
|
+
inline_query_result_audio
|
21
|
+
inline_query_result_cached_audio
|
22
|
+
inline_query_result_cached_document
|
23
|
+
inline_query_result_cached_gif
|
24
|
+
inline_query_result_cached_mpeg4_gif
|
25
|
+
inline_query_result_cached_photo
|
26
|
+
inline_query_result_cached_sticker
|
27
|
+
inline_query_result_cached_video
|
28
|
+
inline_query_result_cached_voice
|
29
|
+
inline_query_result_contact
|
30
|
+
inline_query_result_document
|
31
|
+
inline_query_result_gif
|
32
|
+
inline_query_result_location
|
33
|
+
inline_query_result_mpeg4_gif
|
34
|
+
inline_query_result_photo
|
35
|
+
inline_query_result_venue
|
36
|
+
inline_query_result_video
|
37
|
+
inline_query_result_voice
|
38
|
+
input_contact_message_content
|
39
|
+
input_location_message_content
|
40
|
+
input_message_content
|
41
|
+
input_text_message_content
|
42
|
+
input_venue_message_content
|
43
|
+
keyboard_button
|
44
|
+
location
|
45
|
+
message
|
46
|
+
message_entity
|
47
|
+
photo_size
|
48
|
+
reply_keyboard_hide
|
49
|
+
reply_keyboard_markup
|
50
|
+
sticker
|
51
|
+
update
|
52
|
+
user
|
53
|
+
user_profile_photos
|
54
|
+
venue
|
55
|
+
version
|
56
|
+
video
|
57
|
+
voice
|
58
|
+
).each do |type|
|
59
|
+
autoload type.camelize, "telegram/bot/types/#{type}"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
29
63
|
end
|
@@ -5,10 +5,8 @@ module Telegram
|
|
5
5
|
attribute :type, String, default: 'article'
|
6
6
|
attribute :id, String
|
7
7
|
attribute :title, String
|
8
|
-
attribute :
|
9
|
-
attribute :
|
10
|
-
attribute :parse_mode, String
|
11
|
-
attribute :disable_web_page_preview, Boolean
|
8
|
+
attribute :input_message_content, InputMessageContent
|
9
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
12
10
|
attribute :url, String
|
13
11
|
attribute :hide_url, Boolean
|
14
12
|
attribute :description, String
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultAudio < Base
|
5
|
+
attribute :type, String, default: 'audio'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :audio_url, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :performer, String
|
10
|
+
attribute :audio_duration, Integer
|
11
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
12
|
+
attribute :input_message_content, InputMessageContent
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedAudio < Base
|
5
|
+
attribute :type, String, default: 'audio'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :audio_file_id, String
|
8
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
9
|
+
attribute :input_message_content, InputMessageContent
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedDocument < Base
|
5
|
+
attribute :type, String, default: 'document'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :title, String
|
8
|
+
attribute :document_file_id, String
|
9
|
+
attribute :description, String
|
10
|
+
attribute :caption, String
|
11
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
12
|
+
attribute :input_message_content, InputMessageContent
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedGif < Base
|
5
|
+
attribute :type, String, default: 'gif'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :gif_file_id, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :caption, String
|
10
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
11
|
+
attribute :input_message_content, InputMessageContent
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedMpeg4Gif < Base
|
5
|
+
attribute :type, String, default: 'mpeg4_gif'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :mpeg4_file_id, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :caption, String
|
10
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
11
|
+
attribute :input_message_content, InputMessageContent
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedPhoto < Base
|
5
|
+
attribute :type, String, default: 'photo'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :photo_file_id, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :description, String
|
10
|
+
attribute :caption, String
|
11
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
12
|
+
attribute :input_message_content, InputMessageContent
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedSticker < Base
|
5
|
+
attribute :type, String, default: 'sticker'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :sticker_file_id, String
|
8
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
9
|
+
attribute :input_message_content, InputMessageContent
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedVideo < Base
|
5
|
+
attribute :type, String, default: 'video'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :video_file_id, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :description, String
|
10
|
+
attribute :caption, String
|
11
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
12
|
+
attribute :input_message_content, InputMessageContent
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultCachedVoice < Base
|
5
|
+
attribute :type, String, default: 'voice'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :voice_file_id, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
10
|
+
attribute :input_message_content, InputMessageContent
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultContact < Base
|
5
|
+
attribute :type, String, default: 'contact'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :phone_number, String
|
8
|
+
attribute :first_name, String
|
9
|
+
attribute :last_name, String
|
10
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
11
|
+
attribute :input_message_content, InputMessageContent
|
12
|
+
attribute :thumb_url, String
|
13
|
+
attribute :thumb_width, Integer
|
14
|
+
attribute :thumb_height, Integer
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultDocument < Base
|
5
|
+
attribute :type, String, default: 'document'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :title, String
|
8
|
+
attribute :caption, String
|
9
|
+
attribute :document_url, String
|
10
|
+
attribute :mime_type, String
|
11
|
+
attribute :description, String
|
12
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
13
|
+
attribute :input_message_content, InputMessageContent
|
14
|
+
attribute :thumb_url, String
|
15
|
+
attribute :thumb_width, Integer
|
16
|
+
attribute :thumb_height, Integer
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -10,9 +10,8 @@ module Telegram
|
|
10
10
|
attribute :thumb_url, String
|
11
11
|
attribute :title, String
|
12
12
|
attribute :caption, String
|
13
|
-
attribute :
|
14
|
-
attribute :
|
15
|
-
attribute :disable_web_page_preview, Boolean
|
13
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
14
|
+
attribute :input_message_content, InputMessageContent
|
16
15
|
end
|
17
16
|
end
|
18
17
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultLocation < Base
|
5
|
+
attribute :type, String, default: 'location'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :latitude, Float
|
8
|
+
attribute :longitude, Float
|
9
|
+
attribute :title, String
|
10
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
11
|
+
attribute :input_message_content, InputMessageContent
|
12
|
+
attribute :thumb_url, String
|
13
|
+
attribute :thumb_width, Integer
|
14
|
+
attribute :thumb_height, Integer
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -10,9 +10,8 @@ module Telegram
|
|
10
10
|
attribute :thumb_url, String
|
11
11
|
attribute :title, String
|
12
12
|
attribute :caption, String
|
13
|
-
attribute :
|
14
|
-
attribute :
|
15
|
-
attribute :disable_web_page_preview, Boolean
|
13
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
14
|
+
attribute :input_message_content, InputMessageContent
|
16
15
|
end
|
17
16
|
end
|
18
17
|
end
|
@@ -5,15 +5,14 @@ module Telegram
|
|
5
5
|
attribute :type, String, default: 'photo'
|
6
6
|
attribute :id, String
|
7
7
|
attribute :photo_url, String
|
8
|
+
attribute :thumb_url, String
|
8
9
|
attribute :photo_width, Integer
|
9
10
|
attribute :photo_height, Integer
|
10
|
-
attribute :thumb_url, String
|
11
11
|
attribute :title, String
|
12
12
|
attribute :description, String
|
13
13
|
attribute :caption, String
|
14
|
-
attribute :
|
15
|
-
attribute :
|
16
|
-
attribute :disable_web_page_preview, Boolean
|
14
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
15
|
+
attribute :input_message_content, InputMessageContent
|
17
16
|
end
|
18
17
|
end
|
19
18
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultVenue < Base
|
5
|
+
attribute :type, String, default: 'venue'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :latitude, Float
|
8
|
+
attribute :longitude, Float
|
9
|
+
attribute :title, String
|
10
|
+
attribute :address, String
|
11
|
+
attribute :foursquare_id, String
|
12
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
13
|
+
attribute :input_message_content, InputMessageContent
|
14
|
+
attribute :thumb_url, String
|
15
|
+
attribute :thumb_width, Integer
|
16
|
+
attribute :thumb_height, Integer
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -6,15 +6,15 @@ module Telegram
|
|
6
6
|
attribute :id, String
|
7
7
|
attribute :video_url, String
|
8
8
|
attribute :mime_type, String
|
9
|
-
attribute :
|
10
|
-
attribute :
|
11
|
-
attribute :
|
9
|
+
attribute :thumb_url, String
|
10
|
+
attribute :title, String
|
11
|
+
attribute :caption, String
|
12
12
|
attribute :video_width, Integer
|
13
13
|
attribute :video_height, Integer
|
14
14
|
attribute :video_duration, Integer
|
15
|
-
attribute :thumb_url, String
|
16
|
-
attribute :title, String
|
17
15
|
attribute :description, String
|
16
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
17
|
+
attribute :input_message_content, InputMessageContent
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InlineQueryResultVoice < Base
|
5
|
+
attribute :type, String, default: 'voice'
|
6
|
+
attribute :id, String
|
7
|
+
attribute :voice_url, String
|
8
|
+
attribute :title, String
|
9
|
+
attribute :voice_duration, Integer
|
10
|
+
attribute :reply_markup, InlineKeyboardMarkup
|
11
|
+
attribute :input_message_content, InputMessageContent
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Telegram
|
2
|
+
module Bot
|
3
|
+
module Types
|
4
|
+
class InputVenueMessageContent < InputMessageContent
|
5
|
+
attribute :latitude, Float
|
6
|
+
attribute :longitude, Float
|
7
|
+
attribute :title, String
|
8
|
+
attribute :address, String
|
9
|
+
attribute :foursquare_id, String
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -5,10 +5,14 @@ module Telegram
|
|
5
5
|
attribute :message_id, Integer
|
6
6
|
attribute :from, User
|
7
7
|
attribute :date, Integer
|
8
|
+
attribute :chat, Chat
|
8
9
|
attribute :forward_from, User
|
10
|
+
attribute :forward_from_chat, Chat
|
9
11
|
attribute :forward_date, Integer
|
10
12
|
attribute :reply_to_message, Message
|
13
|
+
attribute :edit_date, Integer
|
11
14
|
attribute :text, String
|
15
|
+
attribute :entities, [MessageEntity]
|
12
16
|
attribute :audio, Audio
|
13
17
|
attribute :document, Document
|
14
18
|
attribute :photo, [PhotoSize]
|
@@ -18,13 +22,18 @@ module Telegram
|
|
18
22
|
attribute :caption, String
|
19
23
|
attribute :contact, Contact
|
20
24
|
attribute :location, Location
|
21
|
-
attribute :
|
22
|
-
attribute :
|
25
|
+
attribute :venue, Venue
|
26
|
+
attribute :new_chat_member, User
|
27
|
+
attribute :left_chat_member, User
|
23
28
|
attribute :new_chat_title, String
|
24
29
|
attribute :new_chat_photo, [PhotoSize]
|
25
30
|
attribute :delete_chat_photo, Boolean
|
26
31
|
attribute :group_chat_created, Boolean
|
27
|
-
attribute :
|
32
|
+
attribute :supergroup_chat_created, Boolean
|
33
|
+
attribute :channel_chat_created, Boolean
|
34
|
+
attribute :migrate_to_chat_id, Integer
|
35
|
+
attribute :migrate_from_chat_id, Integer
|
36
|
+
attribute :pinned_message, Message
|
28
37
|
|
29
38
|
alias_method :to_s, :text
|
30
39
|
end
|
@@ -2,7 +2,7 @@ module Telegram
|
|
2
2
|
module Bot
|
3
3
|
module Types
|
4
4
|
class ReplyKeyboardMarkup < Base
|
5
|
-
attribute :keyboard, [[
|
5
|
+
attribute :keyboard, [[KeyboardButton]]
|
6
6
|
attribute :resize_keyboard, Boolean, default: false
|
7
7
|
attribute :one_time_keyboard, Boolean, default: false
|
8
8
|
attribute :selective, Boolean, default: false
|
@@ -4,8 +4,12 @@ module Telegram
|
|
4
4
|
class Update < Base
|
5
5
|
attribute :update_id, Integer
|
6
6
|
attribute :message, Message
|
7
|
+
attribute :edited_message, Message
|
8
|
+
attribute :channel_post, Message
|
9
|
+
attribute :edited_channel_post, Message
|
7
10
|
attribute :inline_query, InlineQuery
|
8
11
|
attribute :chosen_inline_result, ChosenInlineResult
|
12
|
+
attribute :callback_query, CallbackQuery
|
9
13
|
end
|
10
14
|
end
|
11
15
|
end
|
data/telegram-bot-types.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telegram-bot-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tipugin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: virtus
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: activesupport
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: bundler
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,20 +160,44 @@ files:
|
|
146
160
|
- lib/telegram/bot/types.rb
|
147
161
|
- lib/telegram/bot/types/audio.rb
|
148
162
|
- lib/telegram/bot/types/base.rb
|
163
|
+
- lib/telegram/bot/types/callback_query.rb
|
149
164
|
- lib/telegram/bot/types/chat.rb
|
150
165
|
- lib/telegram/bot/types/chosen_inline_result.rb
|
151
166
|
- lib/telegram/bot/types/contact.rb
|
152
167
|
- lib/telegram/bot/types/document.rb
|
153
168
|
- lib/telegram/bot/types/file.rb
|
154
169
|
- lib/telegram/bot/types/force_reply.rb
|
170
|
+
- lib/telegram/bot/types/inline_keyboard_button.rb
|
171
|
+
- lib/telegram/bot/types/inline_keyboard_markup.rb
|
155
172
|
- lib/telegram/bot/types/inline_query.rb
|
156
173
|
- lib/telegram/bot/types/inline_query_result_article.rb
|
174
|
+
- lib/telegram/bot/types/inline_query_result_audio.rb
|
175
|
+
- lib/telegram/bot/types/inline_query_result_cached_audio.rb
|
176
|
+
- lib/telegram/bot/types/inline_query_result_cached_document.rb
|
177
|
+
- lib/telegram/bot/types/inline_query_result_cached_gif.rb
|
178
|
+
- lib/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rb
|
179
|
+
- lib/telegram/bot/types/inline_query_result_cached_photo.rb
|
180
|
+
- lib/telegram/bot/types/inline_query_result_cached_sticker.rb
|
181
|
+
- lib/telegram/bot/types/inline_query_result_cached_video.rb
|
182
|
+
- lib/telegram/bot/types/inline_query_result_cached_voice.rb
|
183
|
+
- lib/telegram/bot/types/inline_query_result_contact.rb
|
184
|
+
- lib/telegram/bot/types/inline_query_result_document.rb
|
157
185
|
- lib/telegram/bot/types/inline_query_result_gif.rb
|
186
|
+
- lib/telegram/bot/types/inline_query_result_location.rb
|
158
187
|
- lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb
|
159
188
|
- lib/telegram/bot/types/inline_query_result_photo.rb
|
189
|
+
- lib/telegram/bot/types/inline_query_result_venue.rb
|
160
190
|
- lib/telegram/bot/types/inline_query_result_video.rb
|
191
|
+
- lib/telegram/bot/types/inline_query_result_voice.rb
|
192
|
+
- lib/telegram/bot/types/input_contact_message_content.rb
|
193
|
+
- lib/telegram/bot/types/input_location_message_content.rb
|
194
|
+
- lib/telegram/bot/types/input_message_content.rb
|
195
|
+
- lib/telegram/bot/types/input_text_message_content.rb
|
196
|
+
- lib/telegram/bot/types/input_venue_message_content.rb
|
197
|
+
- lib/telegram/bot/types/keyboard_button.rb
|
161
198
|
- lib/telegram/bot/types/location.rb
|
162
199
|
- lib/telegram/bot/types/message.rb
|
200
|
+
- lib/telegram/bot/types/message_entity.rb
|
163
201
|
- lib/telegram/bot/types/photo_size.rb
|
164
202
|
- lib/telegram/bot/types/reply_keyboard_hide.rb
|
165
203
|
- lib/telegram/bot/types/reply_keyboard_markup.rb
|
@@ -167,6 +205,7 @@ files:
|
|
167
205
|
- lib/telegram/bot/types/update.rb
|
168
206
|
- lib/telegram/bot/types/user.rb
|
169
207
|
- lib/telegram/bot/types/user_profile_photos.rb
|
208
|
+
- lib/telegram/bot/types/venue.rb
|
170
209
|
- lib/telegram/bot/types/version.rb
|
171
210
|
- lib/telegram/bot/types/video.rb
|
172
211
|
- lib/telegram/bot/types/voice.rb
|
@@ -191,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
230
|
version: '0'
|
192
231
|
requirements: []
|
193
232
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.
|
233
|
+
rubygems_version: 2.5.1
|
195
234
|
signing_key:
|
196
235
|
specification_version: 4
|
197
236
|
summary: Virtus types for Telegram Bot API
|