teleswagger 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/LICENSE +201 -0
- data/README.md +88 -74
- data/docs/AnswerCallbackQueryBody.md +12 -0
- data/docs/AttachmentsApi.md +166 -3
- data/docs/CallbacksApi.md +6 -18
- data/docs/Chat.md +2 -0
- data/docs/ChatsApi.md +112 -9
- data/docs/EditMessageCaptionBody.md +1 -0
- data/docs/EditMessageLiveLocationBody.md +13 -0
- data/docs/GamesApi.md +5 -5
- data/docs/GetUpdatesBody.md +11 -0
- data/docs/InlineApi.md +1 -1
- data/docs/InlineQueryResultAudio.md +1 -0
- data/docs/InlineQueryResultCachedAudio.md +1 -0
- data/docs/InlineQueryResultCachedDocument.md +1 -0
- data/docs/InlineQueryResultCachedGif.md +1 -0
- data/docs/InlineQueryResultCachedMpeg4Gif.md +1 -0
- data/docs/InlineQueryResultCachedPhoto.md +1 -0
- data/docs/InlineQueryResultCachedVideo.md +1 -0
- data/docs/InlineQueryResultCachedVoice.md +1 -0
- data/docs/InlineQueryResultDocument.md +1 -0
- data/docs/InlineQueryResultGif.md +1 -0
- data/docs/InlineQueryResultLocation.md +1 -0
- data/docs/InlineQueryResultMpeg4Gif.md +1 -0
- data/docs/InlineQueryResultPhoto.md +1 -0
- data/docs/InlineQueryResultVideo.md +1 -0
- data/docs/InlineQueryResultVoice.md +1 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/InputLocationMessageContent.md +1 -0
- data/docs/InputMediaPhoto.md +11 -0
- data/docs/InputMediaVideo.md +15 -0
- data/docs/Message.md +3 -0
- data/docs/MessagesApi.md +7 -7
- data/docs/PaymentsApi.md +1 -1
- data/docs/ReplyKeyboardMarkup.md +1 -1
- data/docs/SendInvoiceBody.md +1 -0
- data/docs/SendLocationBody.md +1 -0
- data/docs/SendMediaGroupLinkBody.md +11 -0
- data/docs/StickersApi.md +3 -3
- data/docs/StopMessageLiveLocationBody.md +11 -0
- data/docs/UpdatesApi.md +4 -8
- data/docs/UsersApi.md +5 -5
- data/git_push.sh +67 -0
- data/lib/teleswagger.rb +20 -2
- data/lib/teleswagger/api/attachments_api.rb +367 -158
- data/lib/teleswagger/api/callbacks_api.rb +29 -47
- data/lib/teleswagger/api/chats_api.rb +316 -192
- data/lib/teleswagger/api/games_api.rb +46 -35
- data/lib/teleswagger/api/inline_api.rb +21 -8
- data/lib/teleswagger/api/messages_api.rb +84 -71
- data/lib/teleswagger/api/payments_api.rb +39 -26
- data/lib/teleswagger/api/stickers_api.rb +107 -116
- data/lib/teleswagger/api/updates_api.rb +50 -39
- data/lib/teleswagger/api/users_api.rb +36 -23
- data/lib/teleswagger/api_client.rb +45 -55
- data/lib/teleswagger/api_error.rb +18 -9
- data/lib/teleswagger/configuration.rb +13 -8
- data/lib/teleswagger/models/add_sticker_to_set_link_body.rb +16 -21
- data/lib/teleswagger/models/allowed_update.rb +15 -2
- data/lib/teleswagger/models/animation.rb +16 -9
- data/lib/teleswagger/models/answer_callback_query_body.rb +235 -0
- data/lib/teleswagger/models/answer_inline_query_body.rb +16 -13
- data/lib/teleswagger/models/answer_shipping_query_body.rb +16 -13
- data/lib/teleswagger/models/audio.rb +16 -5
- data/lib/teleswagger/models/callback_game.rb +16 -5
- data/lib/teleswagger/models/callback_query.rb +16 -5
- data/lib/teleswagger/models/chat.rb +38 -17
- data/lib/teleswagger/models/chat_member.rb +16 -13
- data/lib/teleswagger/models/chat_photo.rb +16 -5
- data/lib/teleswagger/models/chosen_inline_result.rb +16 -17
- data/lib/teleswagger/models/contact.rb +16 -5
- data/lib/teleswagger/models/create_new_sticker_set_link_body.rb +16 -25
- data/lib/teleswagger/models/document.rb +16 -5
- data/lib/teleswagger/models/edit_message_caption_body.rb +26 -6
- data/lib/teleswagger/models/edit_message_live_location_body.rb +246 -0
- data/lib/teleswagger/models/edit_message_reply_markup_body.rb +16 -5
- data/lib/teleswagger/models/edit_message_text_body.rb +16 -9
- data/lib/teleswagger/models/error.rb +16 -5
- data/lib/teleswagger/models/file.rb +16 -5
- data/lib/teleswagger/models/force_reply.rb +16 -5
- data/lib/teleswagger/models/game.rb +16 -17
- data/lib/teleswagger/models/game_high_score.rb +16 -5
- data/lib/teleswagger/models/get_updates_body.rb +228 -0
- data/lib/teleswagger/models/inline_keyboard_button.rb +16 -5
- data/lib/teleswagger/models/inline_keyboard_markup.rb +16 -5
- data/lib/teleswagger/models/inline_query.rb +16 -5
- data/lib/teleswagger/models/inline_query_result_article.rb +16 -21
- data/lib/teleswagger/models/inline_query_result_audio.rb +26 -22
- data/lib/teleswagger/models/inline_query_result_cached_audio.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_cached_document.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_cached_gif.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_cached_mpeg4_gif.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_cached_photo.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_cached_sticker.rb +16 -17
- data/lib/teleswagger/models/inline_query_result_cached_video.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_cached_voice.rb +26 -18
- data/lib/teleswagger/models/inline_query_result_contact.rb +16 -21
- data/lib/teleswagger/models/inline_query_result_document.rb +26 -26
- data/lib/teleswagger/models/inline_query_result_game.rb +16 -17
- data/lib/teleswagger/models/inline_query_result_gif.rb +26 -22
- data/lib/teleswagger/models/inline_query_result_location.rb +50 -24
- data/lib/teleswagger/models/inline_query_result_mpeg4_gif.rb +26 -22
- data/lib/teleswagger/models/inline_query_result_photo.rb +26 -22
- data/lib/teleswagger/models/inline_query_result_venue.rb +16 -29
- data/lib/teleswagger/models/inline_query_result_video.rb +26 -30
- data/lib/teleswagger/models/inline_query_result_voice.rb +26 -22
- data/lib/teleswagger/models/inline_response_200.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_1.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_2.rb +20 -7
- data/lib/teleswagger/models/inline_response_200_3.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_4.rb +18 -9
- data/lib/teleswagger/models/inline_response_200_5.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_6.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_7.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_8.rb +17 -6
- data/lib/teleswagger/models/inline_response_200_9.rb +17 -6
- data/lib/teleswagger/models/inline_type.rb +13 -2
- data/lib/teleswagger/models/input_contact_message_content.rb +16 -13
- data/lib/teleswagger/models/input_location_message_content.rb +51 -13
- data/lib/teleswagger/models/input_media_photo.rb +228 -0
- data/lib/teleswagger/models/input_media_video.rb +264 -0
- data/lib/teleswagger/models/input_text_message_content.rb +16 -9
- data/lib/teleswagger/models/input_venue_message_content.rb +16 -21
- data/lib/teleswagger/models/invoice.rb +16 -5
- data/lib/teleswagger/models/keyboard_button.rb +16 -5
- data/lib/teleswagger/models/labeled_price.rb +16 -5
- data/lib/teleswagger/models/location.rb +16 -5
- data/lib/teleswagger/models/mask_position.rb +16 -5
- data/lib/teleswagger/models/message.rb +49 -9
- data/lib/teleswagger/models/message_entity.rb +16 -5
- data/lib/teleswagger/models/order_info.rb +16 -5
- data/lib/teleswagger/models/parse_mode.rb +13 -2
- data/lib/teleswagger/models/photo_size.rb +16 -5
- data/lib/teleswagger/models/pre_checkout_query.rb +16 -5
- data/lib/teleswagger/models/promote_chat_member_body.rb +16 -13
- data/lib/teleswagger/models/reply_keyboard_markup.rb +17 -6
- data/lib/teleswagger/models/reply_keyboard_remove.rb +16 -5
- data/lib/teleswagger/models/response_bool.rb +16 -5
- data/lib/teleswagger/models/response_message.rb +16 -5
- data/lib/teleswagger/models/response_parameters.rb +16 -5
- data/lib/teleswagger/models/response_update.rb +16 -5
- data/lib/teleswagger/models/restrict_chat_member_body.rb +16 -13
- data/lib/teleswagger/models/send_audio_link_body.rb +16 -13
- data/lib/teleswagger/models/send_contact_body.rb +16 -17
- data/lib/teleswagger/models/send_document_link_body.rb +16 -13
- data/lib/teleswagger/models/send_game_body.rb +16 -13
- data/lib/teleswagger/models/send_invoice_body.rb +26 -38
- data/lib/teleswagger/models/send_location_body.rb +50 -16
- data/lib/teleswagger/models/send_media_group_link_body.rb +230 -0
- data/lib/teleswagger/models/send_message_body.rb +16 -13
- data/lib/teleswagger/models/send_photo_link_body.rb +16 -13
- data/lib/teleswagger/models/send_sticker_link_body.rb +16 -13
- data/lib/teleswagger/models/send_venue_body.rb +16 -25
- data/lib/teleswagger/models/send_video_link_body.rb +16 -13
- data/lib/teleswagger/models/send_video_note_link_body.rb +16 -13
- data/lib/teleswagger/models/send_voice_link_body.rb +16 -13
- data/lib/teleswagger/models/shipping_address.rb +16 -5
- data/lib/teleswagger/models/shipping_option.rb +16 -5
- data/lib/teleswagger/models/shipping_query.rb +16 -5
- data/lib/teleswagger/models/sticker.rb +16 -5
- data/lib/teleswagger/models/sticker_set.rb +16 -5
- data/lib/teleswagger/models/stop_message_live_location_body.rb +226 -0
- data/lib/teleswagger/models/successful_payment.rb +16 -5
- data/lib/teleswagger/models/update.rb +16 -5
- data/lib/teleswagger/models/user.rb +16 -5
- data/lib/teleswagger/models/user_profile_photos.rb +16 -5
- data/lib/teleswagger/models/venue.rb +16 -5
- data/lib/teleswagger/models/video.rb +16 -5
- data/lib/teleswagger/models/video_note.rb +16 -5
- data/lib/teleswagger/models/voice.rb +16 -5
- data/lib/teleswagger/models/webhook_info.rb +16 -17
- data/lib/teleswagger/version.rb +15 -4
- data/spec/models/answer_callback_query_body_spec.rb +77 -0
- data/spec/models/edit_message_live_location_body_spec.rb +83 -0
- data/spec/models/get_updates_body_spec.rb +71 -0
- data/spec/models/input_media_photo_spec.rb +71 -0
- data/spec/models/input_media_video_spec.rb +95 -0
- data/spec/models/send_media_group_link_body_spec.rb +71 -0
- data/spec/models/stop_message_live_location_body_spec.rb +71 -0
- data/swagger.yaml +428 -52
- data/teleswagger.gemspec +17 -8
- metadata +45 -14
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**message_id** | **Integer** | | [optional]
|
8
8
|
**inline_message_id** | **String** | | [optional]
|
9
9
|
**caption** | **String** | | [optional]
|
10
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
10
11
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
11
12
|
|
12
13
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Teleswagger::EditMessageLiveLocationBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**chat_id** | **Object** | | [optional]
|
7
|
+
**message_id** | **Integer** | | [optional]
|
8
|
+
**inline_message_id** | **String** | | [optional]
|
9
|
+
**latitude** | **Float** | |
|
10
|
+
**longitude** | **Float** | |
|
11
|
+
**reply_markup** | **Object** | | [optional]
|
12
|
+
|
13
|
+
|
data/docs/GamesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Teleswagger::GamesApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://api.telegram.org
|
3
|
+
All URIs are relative to *https://api.telegram.org/*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
10
10
|
|
11
11
|
|
12
12
|
# **get_game_high_scores**
|
13
|
-
>
|
13
|
+
> InlineResponse2006 get_game_high_scores(token, user_id, opts)
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -53,7 +53,7 @@ Name | Type | Description | Notes
|
|
53
53
|
|
54
54
|
### Return type
|
55
55
|
|
56
|
-
[**
|
56
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
57
57
|
|
58
58
|
### Authorization
|
59
59
|
|
@@ -117,7 +117,7 @@ No authorization required
|
|
117
117
|
|
118
118
|
|
119
119
|
# **set_game_score**
|
120
|
-
>
|
120
|
+
> InlineResponse200 set_game_score(token, user_id, score, opts)
|
121
121
|
|
122
122
|
|
123
123
|
|
@@ -167,7 +167,7 @@ Name | Type | Description | Notes
|
|
167
167
|
|
168
168
|
### Return type
|
169
169
|
|
170
|
-
[**
|
170
|
+
[**InlineResponse200**](InlineResponse200.md)
|
171
171
|
|
172
172
|
### Authorization
|
173
173
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Teleswagger::GetUpdatesBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**offset** | **Integer** | | [optional]
|
7
|
+
**limit** | **Integer** | | [optional]
|
8
|
+
**timeout** | **Integer** | | [optional]
|
9
|
+
**allowed_updates** | [**Array<AllowedUpdate>**](AllowedUpdate.md) | | [optional]
|
10
|
+
|
11
|
+
|
data/docs/InlineApi.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**audio_url** | **String** | |
|
9
9
|
**title** | **String** | |
|
10
10
|
**caption** | **String** | | [optional]
|
11
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
11
12
|
**performer** | **String** | | [optional]
|
12
13
|
**audio_duration** | **Integer** | | [optional]
|
13
14
|
**input_message_content** | **Object** | | [optional]
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**id** | **String** | |
|
8
8
|
**audio_file_id** | **String** | |
|
9
9
|
**caption** | **String** | | [optional]
|
10
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
10
11
|
**input_message_content** | **Object** | | [optional]
|
11
12
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
12
13
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**document_file_id** | **String** | |
|
9
9
|
**description** | **String** | | [optional]
|
10
10
|
**caption** | **String** | | [optional]
|
11
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
11
12
|
**input_message_content** | **Object** | | [optional]
|
12
13
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
13
14
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**gif_file_id** | **String** | |
|
9
9
|
**title** | **String** | | [optional]
|
10
10
|
**caption** | **String** | | [optional]
|
11
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
11
12
|
**input_message_content** | **Object** | | [optional]
|
12
13
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
13
14
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**mpeg4_file_id** | **String** | |
|
9
9
|
**title** | **String** | | [optional]
|
10
10
|
**caption** | **String** | | [optional]
|
11
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
11
12
|
**input_message_content** | **Object** | | [optional]
|
12
13
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
13
14
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**title** | **String** | | [optional]
|
10
10
|
**description** | **String** | | [optional]
|
11
11
|
**caption** | **String** | | [optional]
|
12
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
12
13
|
**input_message_content** | **Object** | | [optional]
|
13
14
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
14
15
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**title** | **String** | | [optional]
|
10
10
|
**description** | **String** | | [optional]
|
11
11
|
**caption** | **String** | | [optional]
|
12
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
12
13
|
**input_message_content** | **Object** | | [optional]
|
13
14
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
14
15
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**voice_file_id** | **String** | |
|
9
9
|
**title** | **String** | | [optional]
|
10
10
|
**caption** | **String** | | [optional]
|
11
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
11
12
|
**input_message_content** | **Object** | | [optional]
|
12
13
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
13
14
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**id** | **String** | |
|
8
8
|
**title** | **String** | |
|
9
9
|
**caption** | **String** | | [optional]
|
10
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
10
11
|
**document_url** | **String** | |
|
11
12
|
**mime_type** | **String** | |
|
12
13
|
**description** | **String** | | [optional]
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**thumb_url** | **String** | |
|
13
13
|
**title** | **String** | | [optional]
|
14
14
|
**caption** | **String** | | [optional]
|
15
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
15
16
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
16
17
|
**input_message_content** | **Object** | | [optional]
|
17
18
|
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**thumb_url** | **String** | |
|
13
13
|
**title** | **String** | | [optional]
|
14
14
|
**caption** | **String** | | [optional]
|
15
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
15
16
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
16
17
|
**input_message_content** | **Object** | | [optional]
|
17
18
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**photo_height** | **Integer** | | [optional]
|
12
12
|
**title** | **String** | | [optional]
|
13
13
|
**caption** | **String** | | [optional]
|
14
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
14
15
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
15
16
|
**input_message_content** | **Object** | | [optional]
|
16
17
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**thumb_url** | **String** | |
|
11
11
|
**title** | **String** | |
|
12
12
|
**caption** | **String** | | [optional]
|
13
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
13
14
|
**video_width** | **Integer** | | [optional]
|
14
15
|
**video_height** | **Integer** | | [optional]
|
15
16
|
**video_duration** | **Integer** | | [optional]
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**voice_url** | **String** | |
|
9
9
|
**title** | **String** | |
|
10
10
|
**caption** | **String** | | [optional]
|
11
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
11
12
|
**voice_duration** | **Integer** | | [optional]
|
12
13
|
**input_message_content** | **Object** | | [optional]
|
13
14
|
**reply_markup** | [**InlineKeyboardMarkup**](InlineKeyboardMarkup.md) | | [optional]
|
data/docs/InlineResponse200.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** |
|
6
|
+
**result** | **Object** | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2001.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | [**
|
6
|
+
**result** | [**Chat**](Chat.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2002.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | **
|
6
|
+
**result** | [**Array<ChatMember>**](ChatMember.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2003.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | [**
|
6
|
+
**result** | [**ChatMember**](ChatMember.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2004.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** |
|
6
|
+
**result** | **Integer** | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2005.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | **
|
6
|
+
**result** | **File** | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2006.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | [**
|
6
|
+
**result** | [**GameHighScore**](GameHighScore.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2007.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | **
|
6
|
+
**result** | [**User**](User.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2008.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | [**
|
6
|
+
**result** | [**StickerSet**](StickerSet.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
data/docs/InlineResponse2009.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**result** | [**
|
6
|
+
**result** | [**UserProfilePhotos**](UserProfilePhotos.md) | | [optional]
|
7
7
|
**error_code** | **Integer** | | [optional]
|
8
8
|
**ok** | **BOOLEAN** | | [optional]
|
9
9
|
**description** | **String** | | [optional]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Teleswagger::InputMediaPhoto
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**type** | **String** | |
|
7
|
+
**media** | **String** | |
|
8
|
+
**caption** | **String** | | [optional]
|
9
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Teleswagger::InputMediaVideo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**type** | **String** | |
|
7
|
+
**media** | **String** | |
|
8
|
+
**caption** | **String** | | [optional]
|
9
|
+
**width** | **Integer** | | [optional]
|
10
|
+
**height** | **Integer** | | [optional]
|
11
|
+
**duration** | **Integer** | | [optional]
|
12
|
+
**parse_mode** | [**ParseMode**](ParseMode.md) | | [optional]
|
13
|
+
**supports_streaming** | **BOOLEAN** | | [optional]
|
14
|
+
|
15
|
+
|
data/docs/Message.md
CHANGED
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**edit_date** | **Integer** | | [optional]
|
16
16
|
**text** | **String** | | [optional]
|
17
17
|
**entities** | [**Array<MessageEntity>**](MessageEntity.md) | | [optional]
|
18
|
+
**caption_entities** | [**Array<MessageEntity>**](MessageEntity.md) | | [optional]
|
18
19
|
**audio** | [**Audio**](Audio.md) | | [optional]
|
19
20
|
**document** | [**Document**](Document.md) | | [optional]
|
20
21
|
**game** | [**Game**](Game.md) | | [optional]
|
@@ -38,8 +39,10 @@ Name | Type | Description | Notes
|
|
38
39
|
**migrate_to_chat_id** | **Integer** | | [optional]
|
39
40
|
**migrate_from_chat_id** | **Integer** | | [optional]
|
40
41
|
**pinned_message** | [**Message**](Message.md) | | [optional]
|
42
|
+
**invoice** | [**Invoice**](Invoice.md) | | [optional]
|
41
43
|
**successful_payment** | [**SuccessfulPayment**](SuccessfulPayment.md) | | [optional]
|
42
44
|
**forward_signature** | **String** | | [optional]
|
43
45
|
**author_signature** | **String** | | [optional]
|
46
|
+
**connected_website** | **String** | | [optional]
|
44
47
|
|
45
48
|
|
data/docs/MessagesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Teleswagger::MessagesApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://api.telegram.org
|
3
|
+
All URIs are relative to *https://api.telegram.org/*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -66,7 +66,7 @@ No authorization required
|
|
66
66
|
|
67
67
|
|
68
68
|
# **edit_message_caption**
|
69
|
-
>
|
69
|
+
> InlineResponse200 edit_message_caption(token, , opts)
|
70
70
|
|
71
71
|
|
72
72
|
|
@@ -102,7 +102,7 @@ Name | Type | Description | Notes
|
|
102
102
|
|
103
103
|
### Return type
|
104
104
|
|
105
|
-
[**
|
105
|
+
[**InlineResponse200**](InlineResponse200.md)
|
106
106
|
|
107
107
|
### Authorization
|
108
108
|
|
@@ -116,7 +116,7 @@ No authorization required
|
|
116
116
|
|
117
117
|
|
118
118
|
# **edit_message_reply_markup**
|
119
|
-
>
|
119
|
+
> InlineResponse200 edit_message_reply_markup(token, , opts)
|
120
120
|
|
121
121
|
|
122
122
|
|
@@ -152,7 +152,7 @@ Name | Type | Description | Notes
|
|
152
152
|
|
153
153
|
### Return type
|
154
154
|
|
155
|
-
[**
|
155
|
+
[**InlineResponse200**](InlineResponse200.md)
|
156
156
|
|
157
157
|
### Authorization
|
158
158
|
|
@@ -166,7 +166,7 @@ No authorization required
|
|
166
166
|
|
167
167
|
|
168
168
|
# **edit_message_text**
|
169
|
-
>
|
169
|
+
> InlineResponse200 edit_message_text(token, , opts)
|
170
170
|
|
171
171
|
|
172
172
|
|
@@ -202,7 +202,7 @@ Name | Type | Description | Notes
|
|
202
202
|
|
203
203
|
### Return type
|
204
204
|
|
205
|
-
[**
|
205
|
+
[**InlineResponse200**](InlineResponse200.md)
|
206
206
|
|
207
207
|
### Authorization
|
208
208
|
|
data/docs/PaymentsApi.md
CHANGED
data/docs/ReplyKeyboardMarkup.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**keyboard** |
|
6
|
+
**keyboard** | **Array<Array<KeyboardButton>>** | | [optional]
|
7
7
|
**resize_keyboard** | **BOOLEAN** | | [optional]
|
8
8
|
**one_time_keyboard** | **BOOLEAN** | | [optional]
|
9
9
|
**selective** | **BOOLEAN** | | [optional]
|