teleswagger 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/LICENSE +201 -0
  4. data/README.md +88 -74
  5. data/docs/AnswerCallbackQueryBody.md +12 -0
  6. data/docs/AttachmentsApi.md +166 -3
  7. data/docs/CallbacksApi.md +6 -18
  8. data/docs/Chat.md +2 -0
  9. data/docs/ChatsApi.md +112 -9
  10. data/docs/EditMessageCaptionBody.md +1 -0
  11. data/docs/EditMessageLiveLocationBody.md +13 -0
  12. data/docs/GamesApi.md +5 -5
  13. data/docs/GetUpdatesBody.md +11 -0
  14. data/docs/InlineApi.md +1 -1
  15. data/docs/InlineQueryResultAudio.md +1 -0
  16. data/docs/InlineQueryResultCachedAudio.md +1 -0
  17. data/docs/InlineQueryResultCachedDocument.md +1 -0
  18. data/docs/InlineQueryResultCachedGif.md +1 -0
  19. data/docs/InlineQueryResultCachedMpeg4Gif.md +1 -0
  20. data/docs/InlineQueryResultCachedPhoto.md +1 -0
  21. data/docs/InlineQueryResultCachedVideo.md +1 -0
  22. data/docs/InlineQueryResultCachedVoice.md +1 -0
  23. data/docs/InlineQueryResultDocument.md +1 -0
  24. data/docs/InlineQueryResultGif.md +1 -0
  25. data/docs/InlineQueryResultLocation.md +1 -0
  26. data/docs/InlineQueryResultMpeg4Gif.md +1 -0
  27. data/docs/InlineQueryResultPhoto.md +1 -0
  28. data/docs/InlineQueryResultVideo.md +1 -0
  29. data/docs/InlineQueryResultVoice.md +1 -0
  30. data/docs/InlineResponse200.md +1 -1
  31. data/docs/InlineResponse2001.md +1 -1
  32. data/docs/InlineResponse2002.md +1 -1
  33. data/docs/InlineResponse2003.md +1 -1
  34. data/docs/InlineResponse2004.md +1 -1
  35. data/docs/InlineResponse2005.md +1 -1
  36. data/docs/InlineResponse2006.md +1 -1
  37. data/docs/InlineResponse2007.md +1 -1
  38. data/docs/InlineResponse2008.md +1 -1
  39. data/docs/InlineResponse2009.md +1 -1
  40. data/docs/InputLocationMessageContent.md +1 -0
  41. data/docs/InputMediaPhoto.md +11 -0
  42. data/docs/InputMediaVideo.md +15 -0
  43. data/docs/Message.md +3 -0
  44. data/docs/MessagesApi.md +7 -7
  45. data/docs/PaymentsApi.md +1 -1
  46. data/docs/ReplyKeyboardMarkup.md +1 -1
  47. data/docs/SendInvoiceBody.md +1 -0
  48. data/docs/SendLocationBody.md +1 -0
  49. data/docs/SendMediaGroupLinkBody.md +11 -0
  50. data/docs/StickersApi.md +3 -3
  51. data/docs/StopMessageLiveLocationBody.md +11 -0
  52. data/docs/UpdatesApi.md +4 -8
  53. data/docs/UsersApi.md +5 -5
  54. data/git_push.sh +67 -0
  55. data/lib/teleswagger.rb +20 -2
  56. data/lib/teleswagger/api/attachments_api.rb +367 -158
  57. data/lib/teleswagger/api/callbacks_api.rb +29 -47
  58. data/lib/teleswagger/api/chats_api.rb +316 -192
  59. data/lib/teleswagger/api/games_api.rb +46 -35
  60. data/lib/teleswagger/api/inline_api.rb +21 -8
  61. data/lib/teleswagger/api/messages_api.rb +84 -71
  62. data/lib/teleswagger/api/payments_api.rb +39 -26
  63. data/lib/teleswagger/api/stickers_api.rb +107 -116
  64. data/lib/teleswagger/api/updates_api.rb +50 -39
  65. data/lib/teleswagger/api/users_api.rb +36 -23
  66. data/lib/teleswagger/api_client.rb +45 -55
  67. data/lib/teleswagger/api_error.rb +18 -9
  68. data/lib/teleswagger/configuration.rb +13 -8
  69. data/lib/teleswagger/models/add_sticker_to_set_link_body.rb +16 -21
  70. data/lib/teleswagger/models/allowed_update.rb +15 -2
  71. data/lib/teleswagger/models/animation.rb +16 -9
  72. data/lib/teleswagger/models/answer_callback_query_body.rb +235 -0
  73. data/lib/teleswagger/models/answer_inline_query_body.rb +16 -13
  74. data/lib/teleswagger/models/answer_shipping_query_body.rb +16 -13
  75. data/lib/teleswagger/models/audio.rb +16 -5
  76. data/lib/teleswagger/models/callback_game.rb +16 -5
  77. data/lib/teleswagger/models/callback_query.rb +16 -5
  78. data/lib/teleswagger/models/chat.rb +38 -17
  79. data/lib/teleswagger/models/chat_member.rb +16 -13
  80. data/lib/teleswagger/models/chat_photo.rb +16 -5
  81. data/lib/teleswagger/models/chosen_inline_result.rb +16 -17
  82. data/lib/teleswagger/models/contact.rb +16 -5
  83. data/lib/teleswagger/models/create_new_sticker_set_link_body.rb +16 -25
  84. data/lib/teleswagger/models/document.rb +16 -5
  85. data/lib/teleswagger/models/edit_message_caption_body.rb +26 -6
  86. data/lib/teleswagger/models/edit_message_live_location_body.rb +246 -0
  87. data/lib/teleswagger/models/edit_message_reply_markup_body.rb +16 -5
  88. data/lib/teleswagger/models/edit_message_text_body.rb +16 -9
  89. data/lib/teleswagger/models/error.rb +16 -5
  90. data/lib/teleswagger/models/file.rb +16 -5
  91. data/lib/teleswagger/models/force_reply.rb +16 -5
  92. data/lib/teleswagger/models/game.rb +16 -17
  93. data/lib/teleswagger/models/game_high_score.rb +16 -5
  94. data/lib/teleswagger/models/get_updates_body.rb +228 -0
  95. data/lib/teleswagger/models/inline_keyboard_button.rb +16 -5
  96. data/lib/teleswagger/models/inline_keyboard_markup.rb +16 -5
  97. data/lib/teleswagger/models/inline_query.rb +16 -5
  98. data/lib/teleswagger/models/inline_query_result_article.rb +16 -21
  99. data/lib/teleswagger/models/inline_query_result_audio.rb +26 -22
  100. data/lib/teleswagger/models/inline_query_result_cached_audio.rb +26 -18
  101. data/lib/teleswagger/models/inline_query_result_cached_document.rb +26 -18
  102. data/lib/teleswagger/models/inline_query_result_cached_gif.rb +26 -18
  103. data/lib/teleswagger/models/inline_query_result_cached_mpeg4_gif.rb +26 -18
  104. data/lib/teleswagger/models/inline_query_result_cached_photo.rb +26 -18
  105. data/lib/teleswagger/models/inline_query_result_cached_sticker.rb +16 -17
  106. data/lib/teleswagger/models/inline_query_result_cached_video.rb +26 -18
  107. data/lib/teleswagger/models/inline_query_result_cached_voice.rb +26 -18
  108. data/lib/teleswagger/models/inline_query_result_contact.rb +16 -21
  109. data/lib/teleswagger/models/inline_query_result_document.rb +26 -26
  110. data/lib/teleswagger/models/inline_query_result_game.rb +16 -17
  111. data/lib/teleswagger/models/inline_query_result_gif.rb +26 -22
  112. data/lib/teleswagger/models/inline_query_result_location.rb +50 -24
  113. data/lib/teleswagger/models/inline_query_result_mpeg4_gif.rb +26 -22
  114. data/lib/teleswagger/models/inline_query_result_photo.rb +26 -22
  115. data/lib/teleswagger/models/inline_query_result_venue.rb +16 -29
  116. data/lib/teleswagger/models/inline_query_result_video.rb +26 -30
  117. data/lib/teleswagger/models/inline_query_result_voice.rb +26 -22
  118. data/lib/teleswagger/models/inline_response_200.rb +17 -6
  119. data/lib/teleswagger/models/inline_response_200_1.rb +17 -6
  120. data/lib/teleswagger/models/inline_response_200_2.rb +20 -7
  121. data/lib/teleswagger/models/inline_response_200_3.rb +17 -6
  122. data/lib/teleswagger/models/inline_response_200_4.rb +18 -9
  123. data/lib/teleswagger/models/inline_response_200_5.rb +17 -6
  124. data/lib/teleswagger/models/inline_response_200_6.rb +17 -6
  125. data/lib/teleswagger/models/inline_response_200_7.rb +17 -6
  126. data/lib/teleswagger/models/inline_response_200_8.rb +17 -6
  127. data/lib/teleswagger/models/inline_response_200_9.rb +17 -6
  128. data/lib/teleswagger/models/inline_type.rb +13 -2
  129. data/lib/teleswagger/models/input_contact_message_content.rb +16 -13
  130. data/lib/teleswagger/models/input_location_message_content.rb +51 -13
  131. data/lib/teleswagger/models/input_media_photo.rb +228 -0
  132. data/lib/teleswagger/models/input_media_video.rb +264 -0
  133. data/lib/teleswagger/models/input_text_message_content.rb +16 -9
  134. data/lib/teleswagger/models/input_venue_message_content.rb +16 -21
  135. data/lib/teleswagger/models/invoice.rb +16 -5
  136. data/lib/teleswagger/models/keyboard_button.rb +16 -5
  137. data/lib/teleswagger/models/labeled_price.rb +16 -5
  138. data/lib/teleswagger/models/location.rb +16 -5
  139. data/lib/teleswagger/models/mask_position.rb +16 -5
  140. data/lib/teleswagger/models/message.rb +49 -9
  141. data/lib/teleswagger/models/message_entity.rb +16 -5
  142. data/lib/teleswagger/models/order_info.rb +16 -5
  143. data/lib/teleswagger/models/parse_mode.rb +13 -2
  144. data/lib/teleswagger/models/photo_size.rb +16 -5
  145. data/lib/teleswagger/models/pre_checkout_query.rb +16 -5
  146. data/lib/teleswagger/models/promote_chat_member_body.rb +16 -13
  147. data/lib/teleswagger/models/reply_keyboard_markup.rb +17 -6
  148. data/lib/teleswagger/models/reply_keyboard_remove.rb +16 -5
  149. data/lib/teleswagger/models/response_bool.rb +16 -5
  150. data/lib/teleswagger/models/response_message.rb +16 -5
  151. data/lib/teleswagger/models/response_parameters.rb +16 -5
  152. data/lib/teleswagger/models/response_update.rb +16 -5
  153. data/lib/teleswagger/models/restrict_chat_member_body.rb +16 -13
  154. data/lib/teleswagger/models/send_audio_link_body.rb +16 -13
  155. data/lib/teleswagger/models/send_contact_body.rb +16 -17
  156. data/lib/teleswagger/models/send_document_link_body.rb +16 -13
  157. data/lib/teleswagger/models/send_game_body.rb +16 -13
  158. data/lib/teleswagger/models/send_invoice_body.rb +26 -38
  159. data/lib/teleswagger/models/send_location_body.rb +50 -16
  160. data/lib/teleswagger/models/send_media_group_link_body.rb +230 -0
  161. data/lib/teleswagger/models/send_message_body.rb +16 -13
  162. data/lib/teleswagger/models/send_photo_link_body.rb +16 -13
  163. data/lib/teleswagger/models/send_sticker_link_body.rb +16 -13
  164. data/lib/teleswagger/models/send_venue_body.rb +16 -25
  165. data/lib/teleswagger/models/send_video_link_body.rb +16 -13
  166. data/lib/teleswagger/models/send_video_note_link_body.rb +16 -13
  167. data/lib/teleswagger/models/send_voice_link_body.rb +16 -13
  168. data/lib/teleswagger/models/shipping_address.rb +16 -5
  169. data/lib/teleswagger/models/shipping_option.rb +16 -5
  170. data/lib/teleswagger/models/shipping_query.rb +16 -5
  171. data/lib/teleswagger/models/sticker.rb +16 -5
  172. data/lib/teleswagger/models/sticker_set.rb +16 -5
  173. data/lib/teleswagger/models/stop_message_live_location_body.rb +226 -0
  174. data/lib/teleswagger/models/successful_payment.rb +16 -5
  175. data/lib/teleswagger/models/update.rb +16 -5
  176. data/lib/teleswagger/models/user.rb +16 -5
  177. data/lib/teleswagger/models/user_profile_photos.rb +16 -5
  178. data/lib/teleswagger/models/venue.rb +16 -5
  179. data/lib/teleswagger/models/video.rb +16 -5
  180. data/lib/teleswagger/models/video_note.rb +16 -5
  181. data/lib/teleswagger/models/voice.rb +16 -5
  182. data/lib/teleswagger/models/webhook_info.rb +16 -17
  183. data/lib/teleswagger/version.rb +15 -4
  184. data/spec/models/answer_callback_query_body_spec.rb +77 -0
  185. data/spec/models/edit_message_live_location_body_spec.rb +83 -0
  186. data/spec/models/get_updates_body_spec.rb +71 -0
  187. data/spec/models/input_media_photo_spec.rb +71 -0
  188. data/spec/models/input_media_video_spec.rb +95 -0
  189. data/spec/models/send_media_group_link_body_spec.rb +71 -0
  190. data/spec/models/stop_message_live_location_body_spec.rb +71 -0
  191. data/swagger.yaml +428 -52
  192. data/teleswagger.gemspec +17 -8
  193. metadata +45 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e5de57235980948399b6ea8e420cc454dbe154b
4
- data.tar.gz: bb287e7da5c59d71001875a7634cbd3ed0e32c68
3
+ metadata.gz: a9cbf669fd72c1ffbfc5d90a7fe9af12c1c47aae
4
+ data.tar.gz: 36c6e06d4b2f91a50ad6823e299b24b8ec7e6182
5
5
  SHA512:
6
- metadata.gz: d4923e513efa2e936f2d90a1f383f12a556d45958b7749bb166f1ce1ab5623b7ee95a6449e1c69c8f2a71436f860927369a2c99ddcccc170be7fbee920f4eb90
7
- data.tar.gz: d2ff99ba23b18ebb6e3861de9503d1d7218a1f99f22e915e3879f5519d0734c8241ed44e77f89b9eda5fa90193058d2085ced6a4b05653801b0ccd92d0c2b8b2
6
+ metadata.gz: 2dd8ff016c71298a405a802b5d3d8756320b28de1488a6b7cf4fd2df2e65c169d5901eed1eb725cac251d6409d9b171c17ab7789b3e1b00497a1d459b7bc2755
7
+ data.tar.gz: 182c73a7f16b324540700cb7db06de2b5fc9d26d4a99f39ec8acdf6eb0b8d34c37173593f3b7de06e40a9eca76d5a89b290f240371e82f6dde358a7f786b0ede
@@ -2,7 +2,7 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  teleswagger (0.0.1)
5
- json (~> 2.1, >= 2.1.0)
5
+ json (~> 1.8, >= 1.8.3)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
8
8
  GEM
@@ -20,11 +20,11 @@ GEM
20
20
  crack (0.4.3)
21
21
  safe_yaml (~> 1.0.0)
22
22
  diff-lcs (1.3)
23
- ethon (0.10.1)
23
+ ethon (0.11.0)
24
24
  ffi (>= 1.3.0)
25
25
  ffi (1.9.18)
26
26
  hashdiff (0.3.6)
27
- json (2.1.0)
27
+ json (1.8.6)
28
28
  public_suffix (3.0.0)
29
29
  rake (12.0.0)
30
30
  rspec (3.6.0)
@@ -56,11 +56,11 @@ PLATFORMS
56
56
 
57
57
  DEPENDENCIES
58
58
  autotest (~> 4.4, >= 4.4.6)
59
- autotest-fsevent (~> 0.2, >= 0.2.12)
59
+ autotest-fsevent (~> 0.2, >= 0.2.11)
60
60
  autotest-growl (~> 0.2, >= 0.2.16)
61
61
  autotest-rails-pure (~> 4.1, >= 4.1.2)
62
62
  rake (~> 12.0.0)
63
- rspec (~> 3.6, >= 3.6.0)
63
+ rspec (~> 3.4, >= 3.4.0)
64
64
  teleswagger!
65
65
  vcr (~> 3.0, >= 3.0.1)
66
66
  webmock (~> 1.24, >= 1.24.3)
data/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
-
2
1
  # teleswagger
3
2
 
4
3
  Teleswagger - the Ruby gem for the Telegram bot API
5
4
 
6
- This is a swagger defenition for [Telegram bot API](https://core.telegram.org/bots/api).
5
+ This is a swagger defenition for [Telegram bot API](https://core.telegram.org/bots/api).
7
6
 
8
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
9
8
 
10
- - API version: 3.3
9
+ - API version: 3.6
11
10
  - Package version: 0.0.1
12
- - Build package: io.swagger.codegen.languages.RubyClientCodegen
11
+ - Build date: 2018-02-27T21:54:02.002+04:00
12
+ - Build package: class io.swagger.codegen.languages.RubyClientCodegen
13
13
 
14
14
  ## Installation
15
15
 
@@ -59,89 +59,95 @@ api_instance = Teleswagger::AttachmentsApi.new
59
59
 
60
60
  token = "token_example" # String | bot's token to authorize the request
61
61
 
62
- file_id = "file_id_example" # String |
63
-
62
+ opts = {
63
+ body: Teleswagger::EditMessageLiveLocationBody.new # EditMessageLiveLocationBody |
64
+ }
64
65
 
65
66
  begin
66
- result = api_instance.get_file(token, file_id)
67
+ result = api_instance.edit_message_live_location(token, , opts)
67
68
  p result
68
69
  rescue Teleswagger::ApiError => e
69
- puts "Exception when calling AttachmentsApi->get_file: #{e}"
70
+ puts "Exception when calling AttachmentsApi->edit_message_live_location: #{e}"
70
71
  end
71
72
 
72
73
  ```
73
74
 
74
75
  ## Documentation for API Endpoints
75
76
 
76
- All URIs are relative to *https://api.telegram.org*
77
+ All URIs are relative to *https://api.telegram.org/*
77
78
 
78
79
  Class | Method | HTTP request | Description
79
80
  ------------ | ------------- | ------------- | -------------
80
- *Teleswagger::AttachmentsApi* | [**get_file**](docs/AttachmentsApi.md#get_file) | **GET** /bot{token}/getFile |
81
- *Teleswagger::AttachmentsApi* | [**send_audio**](docs/AttachmentsApi.md#send_audio) | **POST** /bot{token}/sendAudio |
82
- *Teleswagger::AttachmentsApi* | [**send_audio_link**](docs/AttachmentsApi.md#send_audio_link) | **POST** /bot{token}/sendAudio#link |
83
- *Teleswagger::AttachmentsApi* | [**send_contact**](docs/AttachmentsApi.md#send_contact) | **POST** /bot{token}/sendContact |
84
- *Teleswagger::AttachmentsApi* | [**send_document**](docs/AttachmentsApi.md#send_document) | **POST** /bot{token}/sendDocument |
85
- *Teleswagger::AttachmentsApi* | [**send_document_link**](docs/AttachmentsApi.md#send_document_link) | **POST** /bot{token}/sendDocument#link |
86
- *Teleswagger::AttachmentsApi* | [**send_location**](docs/AttachmentsApi.md#send_location) | **POST** /bot{token}/sendLocation |
87
- *Teleswagger::AttachmentsApi* | [**send_photo**](docs/AttachmentsApi.md#send_photo) | **POST** /bot{token}/sendPhoto |
88
- *Teleswagger::AttachmentsApi* | [**send_photo_link**](docs/AttachmentsApi.md#send_photo_link) | **POST** /bot{token}/sendPhoto#link |
89
- *Teleswagger::AttachmentsApi* | [**send_sticker**](docs/AttachmentsApi.md#send_sticker) | **POST** /bot{token}/sendSticker |
90
- *Teleswagger::AttachmentsApi* | [**send_sticker_link**](docs/AttachmentsApi.md#send_sticker_link) | **POST** /bot{token}/sendSticker#link |
91
- *Teleswagger::AttachmentsApi* | [**send_venue**](docs/AttachmentsApi.md#send_venue) | **POST** /bot{token}/sendVenue |
92
- *Teleswagger::AttachmentsApi* | [**send_video**](docs/AttachmentsApi.md#send_video) | **POST** /bot{token}/sendVideo |
93
- *Teleswagger::AttachmentsApi* | [**send_video_link**](docs/AttachmentsApi.md#send_video_link) | **POST** /bot{token}/sendVideo#link |
94
- *Teleswagger::AttachmentsApi* | [**send_video_note**](docs/AttachmentsApi.md#send_video_note) | **POST** /bot{token}/sendVideoNote |
95
- *Teleswagger::AttachmentsApi* | [**send_video_note_link**](docs/AttachmentsApi.md#send_video_note_link) | **POST** /bot{token}/sendVideoNote#link |
96
- *Teleswagger::AttachmentsApi* | [**send_voice**](docs/AttachmentsApi.md#send_voice) | **POST** /bot{token}/sendVoice |
97
- *Teleswagger::AttachmentsApi* | [**send_voice_link**](docs/AttachmentsApi.md#send_voice_link) | **POST** /bot{token}/sendVoice#link |
98
- *Teleswagger::CallbacksApi* | [**answer_callback_query**](docs/CallbacksApi.md#answer_callback_query) | **POST** /bot{token}/answerCallbackQuery |
99
- *Teleswagger::ChatsApi* | [**delete_chat_photo**](docs/ChatsApi.md#delete_chat_photo) | **POST** /bot{token}/deleteChatPhoto |
100
- *Teleswagger::ChatsApi* | [**export_chat_invite_link**](docs/ChatsApi.md#export_chat_invite_link) | **GET** /bot{token}/exportChatInviteLink |
101
- *Teleswagger::ChatsApi* | [**get_chat**](docs/ChatsApi.md#get_chat) | **GET** /bot{token}/getChat |
102
- *Teleswagger::ChatsApi* | [**get_chat_administrators**](docs/ChatsApi.md#get_chat_administrators) | **GET** /bot{token}/getChatAdministrators |
103
- *Teleswagger::ChatsApi* | [**get_chat_member**](docs/ChatsApi.md#get_chat_member) | **GET** /bot{token}/getChatMember |
104
- *Teleswagger::ChatsApi* | [**get_chat_members_count**](docs/ChatsApi.md#get_chat_members_count) | **GET** /bot{token}/getChatMembersCount |
105
- *Teleswagger::ChatsApi* | [**kick_chat_member**](docs/ChatsApi.md#kick_chat_member) | **GET** /bot{token}/kickChatMember |
106
- *Teleswagger::ChatsApi* | [**leave_chat**](docs/ChatsApi.md#leave_chat) | **GET** /bot{token}/leaveChat |
107
- *Teleswagger::ChatsApi* | [**pin_chat_message**](docs/ChatsApi.md#pin_chat_message) | **POST** /bot{token}/pinChatMessage |
108
- *Teleswagger::ChatsApi* | [**promote_chat_member**](docs/ChatsApi.md#promote_chat_member) | **POST** /bot{token}/promoteChatMember |
109
- *Teleswagger::ChatsApi* | [**restrict_chat_member**](docs/ChatsApi.md#restrict_chat_member) | **POST** /bot{token}/restrictChatMember |
110
- *Teleswagger::ChatsApi* | [**send_chat_action**](docs/ChatsApi.md#send_chat_action) | **GET** /bot{token}/sendChatAction |
111
- *Teleswagger::ChatsApi* | [**set_chat_description**](docs/ChatsApi.md#set_chat_description) | **POST** /bot{token}/setChatDescription |
112
- *Teleswagger::ChatsApi* | [**set_chat_photo**](docs/ChatsApi.md#set_chat_photo) | **GET** /bot{token}/setChatPhoto |
113
- *Teleswagger::ChatsApi* | [**set_chat_title**](docs/ChatsApi.md#set_chat_title) | **POST** /bot{token}/setChatTitle |
114
- *Teleswagger::ChatsApi* | [**unban_chat_member**](docs/ChatsApi.md#unban_chat_member) | **GET** /bot{token}/unbanChatMember |
115
- *Teleswagger::ChatsApi* | [**unpin_chat_message**](docs/ChatsApi.md#unpin_chat_message) | **POST** /bot{token}/unpinChatMessage |
116
- *Teleswagger::GamesApi* | [**get_game_high_scores**](docs/GamesApi.md#get_game_high_scores) | **GET** /bot{token}/getGameHighScores |
117
- *Teleswagger::GamesApi* | [**send_game**](docs/GamesApi.md#send_game) | **POST** /bot{token}/sendGame |
118
- *Teleswagger::GamesApi* | [**set_game_score**](docs/GamesApi.md#set_game_score) | **GET** /bot{token}/setGameScore |
119
- *Teleswagger::InlineApi* | [**answer_inline_query**](docs/InlineApi.md#answer_inline_query) | **POST** /bot{token}/answerInlineQuery |
120
- *Teleswagger::MessagesApi* | [**delete_message**](docs/MessagesApi.md#delete_message) | **GET** /bot{token}/deleteMessage |
121
- *Teleswagger::MessagesApi* | [**edit_message_caption**](docs/MessagesApi.md#edit_message_caption) | **POST** /bot{token}/editMessageCaption |
122
- *Teleswagger::MessagesApi* | [**edit_message_reply_markup**](docs/MessagesApi.md#edit_message_reply_markup) | **POST** /bot{token}/editMessageReplyMarkup |
123
- *Teleswagger::MessagesApi* | [**edit_message_text**](docs/MessagesApi.md#edit_message_text) | **POST** /bot{token}/editMessageText |
124
- *Teleswagger::MessagesApi* | [**forward_message**](docs/MessagesApi.md#forward_message) | **POST** /bot{token}/forwardMessage |
125
- *Teleswagger::MessagesApi* | [**send_message**](docs/MessagesApi.md#send_message) | **POST** /bot{token}/sendMessage |
126
- *Teleswagger::MessagesApi* | [**send_message_bytes**](docs/MessagesApi.md#send_message_bytes) | **POST** /bot{token}/sendMessage#bytes |
127
- *Teleswagger::PaymentsApi* | [**answer_pre_checkout_query**](docs/PaymentsApi.md#answer_pre_checkout_query) | **GET** /bot{token}/answerPreCheckoutQuery |
128
- *Teleswagger::PaymentsApi* | [**answer_shipping_query**](docs/PaymentsApi.md#answer_shipping_query) | **POST** /bot{token}/answerShippingQuery |
129
- *Teleswagger::PaymentsApi* | [**send_invoice**](docs/PaymentsApi.md#send_invoice) | **POST** /bot{token}/sendInvoice |
130
- *Teleswagger::StickersApi* | [**add_sticker_to_set**](docs/StickersApi.md#add_sticker_to_set) | **POST** /bot{token}/addStickerToSet |
131
- *Teleswagger::StickersApi* | [**add_sticker_to_set_link**](docs/StickersApi.md#add_sticker_to_set_link) | **POST** /bot{token}/addStickerToSet#link |
132
- *Teleswagger::StickersApi* | [**create_new_sticker_set**](docs/StickersApi.md#create_new_sticker_set) | **POST** /bot{token}/createNewStickerSet |
133
- *Teleswagger::StickersApi* | [**create_new_sticker_set_link**](docs/StickersApi.md#create_new_sticker_set_link) | **POST** /bot{token}/createNewStickerSet#link |
134
- *Teleswagger::StickersApi* | [**delete_sticker_from_set**](docs/StickersApi.md#delete_sticker_from_set) | **POST** /bot{token}/deleteStickerFromSet |
135
- *Teleswagger::StickersApi* | [**get_sticker_set**](docs/StickersApi.md#get_sticker_set) | **GET** /bot{token}/getStickerSet |
136
- *Teleswagger::StickersApi* | [**set_sticker_position_in_set**](docs/StickersApi.md#set_sticker_position_in_set) | **POST** /bot{token}/setStickerPositionInSet |
137
- *Teleswagger::StickersApi* | [**upload_sticker_file**](docs/StickersApi.md#upload_sticker_file) | **POST** /bot{token}/uploadStickerFile |
138
- *Teleswagger::StickersApi* | [**upload_sticker_file_link**](docs/StickersApi.md#upload_sticker_file_link) | **POST** /bot{token}/uploadStickerFile#link |
139
- *Teleswagger::UpdatesApi* | [**delete_webhook**](docs/UpdatesApi.md#delete_webhook) | **GET** /bot{token}/deleteWebhook |
140
- *Teleswagger::UpdatesApi* | [**get_updates**](docs/UpdatesApi.md#get_updates) | **GET** /bot{token}/getUpdates |
141
- *Teleswagger::UpdatesApi* | [**get_webhook_info**](docs/UpdatesApi.md#get_webhook_info) | **GET** /bot{token}/getWebhookInfo |
142
- *Teleswagger::UpdatesApi* | [**set_webhook**](docs/UpdatesApi.md#set_webhook) | **POST** /bot{token}/setWebhook |
143
- *Teleswagger::UsersApi* | [**get_me**](docs/UsersApi.md#get_me) | **GET** /bot{token}/getMe |
144
- *Teleswagger::UsersApi* | [**get_user_profile_photos**](docs/UsersApi.md#get_user_profile_photos) | **GET** /bot{token}/getUserProfilePhotos |
81
+ *Teleswagger::AttachmentsApi* | [**edit_message_live_location**](docs/AttachmentsApi.md#edit_message_live_location) | **POST** /bot{token}/editMessageLiveLocation |
82
+ *Teleswagger::AttachmentsApi* | [**get_file**](docs/AttachmentsApi.md#get_file) | **GET** /bot{token}/getFile |
83
+ *Teleswagger::AttachmentsApi* | [**send_audio**](docs/AttachmentsApi.md#send_audio) | **POST** /bot{token}/sendAudio |
84
+ *Teleswagger::AttachmentsApi* | [**send_audio_link**](docs/AttachmentsApi.md#send_audio_link) | **POST** /bot{token}/sendAudio#link |
85
+ *Teleswagger::AttachmentsApi* | [**send_contact**](docs/AttachmentsApi.md#send_contact) | **POST** /bot{token}/sendContact |
86
+ *Teleswagger::AttachmentsApi* | [**send_document**](docs/AttachmentsApi.md#send_document) | **POST** /bot{token}/sendDocument |
87
+ *Teleswagger::AttachmentsApi* | [**send_document_link**](docs/AttachmentsApi.md#send_document_link) | **POST** /bot{token}/sendDocument#link |
88
+ *Teleswagger::AttachmentsApi* | [**send_location**](docs/AttachmentsApi.md#send_location) | **POST** /bot{token}/sendLocation |
89
+ *Teleswagger::AttachmentsApi* | [**send_media_group_link**](docs/AttachmentsApi.md#send_media_group_link) | **POST** /bot{token}/sendMediaGroup#link |
90
+ *Teleswagger::AttachmentsApi* | [**send_photo**](docs/AttachmentsApi.md#send_photo) | **POST** /bot{token}/sendPhoto |
91
+ *Teleswagger::AttachmentsApi* | [**send_photo_link**](docs/AttachmentsApi.md#send_photo_link) | **POST** /bot{token}/sendPhoto#link |
92
+ *Teleswagger::AttachmentsApi* | [**send_sticker**](docs/AttachmentsApi.md#send_sticker) | **POST** /bot{token}/sendSticker |
93
+ *Teleswagger::AttachmentsApi* | [**send_sticker_link**](docs/AttachmentsApi.md#send_sticker_link) | **POST** /bot{token}/sendSticker#link |
94
+ *Teleswagger::AttachmentsApi* | [**send_venue**](docs/AttachmentsApi.md#send_venue) | **POST** /bot{token}/sendVenue |
95
+ *Teleswagger::AttachmentsApi* | [**send_video**](docs/AttachmentsApi.md#send_video) | **POST** /bot{token}/sendVideo |
96
+ *Teleswagger::AttachmentsApi* | [**send_video_link**](docs/AttachmentsApi.md#send_video_link) | **POST** /bot{token}/sendVideo#link |
97
+ *Teleswagger::AttachmentsApi* | [**send_video_note**](docs/AttachmentsApi.md#send_video_note) | **POST** /bot{token}/sendVideoNote |
98
+ *Teleswagger::AttachmentsApi* | [**send_video_note_link**](docs/AttachmentsApi.md#send_video_note_link) | **POST** /bot{token}/sendVideoNote#link |
99
+ *Teleswagger::AttachmentsApi* | [**send_voice**](docs/AttachmentsApi.md#send_voice) | **POST** /bot{token}/sendVoice |
100
+ *Teleswagger::AttachmentsApi* | [**send_voice_link**](docs/AttachmentsApi.md#send_voice_link) | **POST** /bot{token}/sendVoice#link |
101
+ *Teleswagger::AttachmentsApi* | [**stop_message_live_location**](docs/AttachmentsApi.md#stop_message_live_location) | **POST** /bot{token}/stopMessageLiveLocation |
102
+ *Teleswagger::CallbacksApi* | [**answer_callback_query**](docs/CallbacksApi.md#answer_callback_query) | **POST** /bot{token}/answerCallbackQuery |
103
+ *Teleswagger::ChatsApi* | [**delete_chat_photo**](docs/ChatsApi.md#delete_chat_photo) | **POST** /bot{token}/deleteChatPhoto |
104
+ *Teleswagger::ChatsApi* | [**delete_chat_sticker_set**](docs/ChatsApi.md#delete_chat_sticker_set) | **GET** /bot{token}/deleteChatStickerSet |
105
+ *Teleswagger::ChatsApi* | [**export_chat_invite_link**](docs/ChatsApi.md#export_chat_invite_link) | **GET** /bot{token}/exportChatInviteLink |
106
+ *Teleswagger::ChatsApi* | [**get_chat**](docs/ChatsApi.md#get_chat) | **GET** /bot{token}/getChat |
107
+ *Teleswagger::ChatsApi* | [**get_chat_administrators**](docs/ChatsApi.md#get_chat_administrators) | **GET** /bot{token}/getChatAdministrators |
108
+ *Teleswagger::ChatsApi* | [**get_chat_member**](docs/ChatsApi.md#get_chat_member) | **GET** /bot{token}/getChatMember |
109
+ *Teleswagger::ChatsApi* | [**get_chat_members_count**](docs/ChatsApi.md#get_chat_members_count) | **GET** /bot{token}/getChatMembersCount |
110
+ *Teleswagger::ChatsApi* | [**kick_chat_member**](docs/ChatsApi.md#kick_chat_member) | **GET** /bot{token}/kickChatMember |
111
+ *Teleswagger::ChatsApi* | [**leave_chat**](docs/ChatsApi.md#leave_chat) | **GET** /bot{token}/leaveChat |
112
+ *Teleswagger::ChatsApi* | [**pin_chat_message**](docs/ChatsApi.md#pin_chat_message) | **POST** /bot{token}/pinChatMessage |
113
+ *Teleswagger::ChatsApi* | [**promote_chat_member**](docs/ChatsApi.md#promote_chat_member) | **POST** /bot{token}/promoteChatMember |
114
+ *Teleswagger::ChatsApi* | [**restrict_chat_member**](docs/ChatsApi.md#restrict_chat_member) | **POST** /bot{token}/restrictChatMember |
115
+ *Teleswagger::ChatsApi* | [**send_chat_action**](docs/ChatsApi.md#send_chat_action) | **GET** /bot{token}/sendChatAction |
116
+ *Teleswagger::ChatsApi* | [**set_chat_description**](docs/ChatsApi.md#set_chat_description) | **POST** /bot{token}/setChatDescription |
117
+ *Teleswagger::ChatsApi* | [**set_chat_photo**](docs/ChatsApi.md#set_chat_photo) | **GET** /bot{token}/setChatPhoto |
118
+ *Teleswagger::ChatsApi* | [**set_chat_sticker_set**](docs/ChatsApi.md#set_chat_sticker_set) | **GET** /bot{token}/setChatStickerSet |
119
+ *Teleswagger::ChatsApi* | [**set_chat_title**](docs/ChatsApi.md#set_chat_title) | **POST** /bot{token}/setChatTitle |
120
+ *Teleswagger::ChatsApi* | [**unban_chat_member**](docs/ChatsApi.md#unban_chat_member) | **GET** /bot{token}/unbanChatMember |
121
+ *Teleswagger::ChatsApi* | [**unpin_chat_message**](docs/ChatsApi.md#unpin_chat_message) | **POST** /bot{token}/unpinChatMessage |
122
+ *Teleswagger::GamesApi* | [**get_game_high_scores**](docs/GamesApi.md#get_game_high_scores) | **GET** /bot{token}/getGameHighScores |
123
+ *Teleswagger::GamesApi* | [**send_game**](docs/GamesApi.md#send_game) | **POST** /bot{token}/sendGame |
124
+ *Teleswagger::GamesApi* | [**set_game_score**](docs/GamesApi.md#set_game_score) | **GET** /bot{token}/setGameScore |
125
+ *Teleswagger::InlineApi* | [**answer_inline_query**](docs/InlineApi.md#answer_inline_query) | **POST** /bot{token}/answerInlineQuery |
126
+ *Teleswagger::MessagesApi* | [**delete_message**](docs/MessagesApi.md#delete_message) | **GET** /bot{token}/deleteMessage |
127
+ *Teleswagger::MessagesApi* | [**edit_message_caption**](docs/MessagesApi.md#edit_message_caption) | **POST** /bot{token}/editMessageCaption |
128
+ *Teleswagger::MessagesApi* | [**edit_message_reply_markup**](docs/MessagesApi.md#edit_message_reply_markup) | **POST** /bot{token}/editMessageReplyMarkup |
129
+ *Teleswagger::MessagesApi* | [**edit_message_text**](docs/MessagesApi.md#edit_message_text) | **POST** /bot{token}/editMessageText |
130
+ *Teleswagger::MessagesApi* | [**forward_message**](docs/MessagesApi.md#forward_message) | **POST** /bot{token}/forwardMessage |
131
+ *Teleswagger::MessagesApi* | [**send_message**](docs/MessagesApi.md#send_message) | **POST** /bot{token}/sendMessage |
132
+ *Teleswagger::MessagesApi* | [**send_message_bytes**](docs/MessagesApi.md#send_message_bytes) | **POST** /bot{token}/sendMessage#bytes |
133
+ *Teleswagger::PaymentsApi* | [**answer_pre_checkout_query**](docs/PaymentsApi.md#answer_pre_checkout_query) | **GET** /bot{token}/answerPreCheckoutQuery |
134
+ *Teleswagger::PaymentsApi* | [**answer_shipping_query**](docs/PaymentsApi.md#answer_shipping_query) | **POST** /bot{token}/answerShippingQuery |
135
+ *Teleswagger::PaymentsApi* | [**send_invoice**](docs/PaymentsApi.md#send_invoice) | **POST** /bot{token}/sendInvoice |
136
+ *Teleswagger::StickersApi* | [**add_sticker_to_set**](docs/StickersApi.md#add_sticker_to_set) | **POST** /bot{token}/addStickerToSet |
137
+ *Teleswagger::StickersApi* | [**add_sticker_to_set_link**](docs/StickersApi.md#add_sticker_to_set_link) | **POST** /bot{token}/addStickerToSet#link |
138
+ *Teleswagger::StickersApi* | [**create_new_sticker_set**](docs/StickersApi.md#create_new_sticker_set) | **POST** /bot{token}/createNewStickerSet |
139
+ *Teleswagger::StickersApi* | [**create_new_sticker_set_link**](docs/StickersApi.md#create_new_sticker_set_link) | **POST** /bot{token}/createNewStickerSet#link |
140
+ *Teleswagger::StickersApi* | [**delete_sticker_from_set**](docs/StickersApi.md#delete_sticker_from_set) | **POST** /bot{token}/deleteStickerFromSet |
141
+ *Teleswagger::StickersApi* | [**get_sticker_set**](docs/StickersApi.md#get_sticker_set) | **GET** /bot{token}/getStickerSet |
142
+ *Teleswagger::StickersApi* | [**set_sticker_position_in_set**](docs/StickersApi.md#set_sticker_position_in_set) | **POST** /bot{token}/setStickerPositionInSet |
143
+ *Teleswagger::StickersApi* | [**upload_sticker_file**](docs/StickersApi.md#upload_sticker_file) | **POST** /bot{token}/uploadStickerFile |
144
+ *Teleswagger::StickersApi* | [**upload_sticker_file_link**](docs/StickersApi.md#upload_sticker_file_link) | **POST** /bot{token}/uploadStickerFile#link |
145
+ *Teleswagger::UpdatesApi* | [**delete_webhook**](docs/UpdatesApi.md#delete_webhook) | **GET** /bot{token}/deleteWebhook |
146
+ *Teleswagger::UpdatesApi* | [**get_updates**](docs/UpdatesApi.md#get_updates) | **POST** /bot{token}/getUpdates |
147
+ *Teleswagger::UpdatesApi* | [**get_webhook_info**](docs/UpdatesApi.md#get_webhook_info) | **GET** /bot{token}/getWebhookInfo |
148
+ *Teleswagger::UpdatesApi* | [**set_webhook**](docs/UpdatesApi.md#set_webhook) | **POST** /bot{token}/setWebhook |
149
+ *Teleswagger::UsersApi* | [**get_me**](docs/UsersApi.md#get_me) | **GET** /bot{token}/getMe |
150
+ *Teleswagger::UsersApi* | [**get_user_profile_photos**](docs/UsersApi.md#get_user_profile_photos) | **GET** /bot{token}/getUserProfilePhotos |
145
151
 
146
152
 
147
153
  ## Documentation for Models
@@ -149,6 +155,7 @@ Class | Method | HTTP request | Description
149
155
  - [Teleswagger::AddStickerToSetLinkBody](docs/AddStickerToSetLinkBody.md)
150
156
  - [Teleswagger::AllowedUpdate](docs/AllowedUpdate.md)
151
157
  - [Teleswagger::Animation](docs/Animation.md)
158
+ - [Teleswagger::AnswerCallbackQueryBody](docs/AnswerCallbackQueryBody.md)
152
159
  - [Teleswagger::AnswerInlineQueryBody](docs/AnswerInlineQueryBody.md)
153
160
  - [Teleswagger::AnswerShippingQueryBody](docs/AnswerShippingQueryBody.md)
154
161
  - [Teleswagger::Audio](docs/Audio.md)
@@ -162,6 +169,7 @@ Class | Method | HTTP request | Description
162
169
  - [Teleswagger::CreateNewStickerSetLinkBody](docs/CreateNewStickerSetLinkBody.md)
163
170
  - [Teleswagger::Document](docs/Document.md)
164
171
  - [Teleswagger::EditMessageCaptionBody](docs/EditMessageCaptionBody.md)
172
+ - [Teleswagger::EditMessageLiveLocationBody](docs/EditMessageLiveLocationBody.md)
165
173
  - [Teleswagger::EditMessageReplyMarkupBody](docs/EditMessageReplyMarkupBody.md)
166
174
  - [Teleswagger::EditMessageTextBody](docs/EditMessageTextBody.md)
167
175
  - [Teleswagger::Error](docs/Error.md)
@@ -169,6 +177,7 @@ Class | Method | HTTP request | Description
169
177
  - [Teleswagger::ForceReply](docs/ForceReply.md)
170
178
  - [Teleswagger::Game](docs/Game.md)
171
179
  - [Teleswagger::GameHighScore](docs/GameHighScore.md)
180
+ - [Teleswagger::GetUpdatesBody](docs/GetUpdatesBody.md)
172
181
  - [Teleswagger::InlineKeyboardButton](docs/InlineKeyboardButton.md)
173
182
  - [Teleswagger::InlineKeyboardMarkup](docs/InlineKeyboardMarkup.md)
174
183
  - [Teleswagger::InlineQuery](docs/InlineQuery.md)
@@ -205,6 +214,8 @@ Class | Method | HTTP request | Description
205
214
  - [Teleswagger::InlineType](docs/InlineType.md)
206
215
  - [Teleswagger::InputContactMessageContent](docs/InputContactMessageContent.md)
207
216
  - [Teleswagger::InputLocationMessageContent](docs/InputLocationMessageContent.md)
217
+ - [Teleswagger::InputMediaPhoto](docs/InputMediaPhoto.md)
218
+ - [Teleswagger::InputMediaVideo](docs/InputMediaVideo.md)
208
219
  - [Teleswagger::InputTextMessageContent](docs/InputTextMessageContent.md)
209
220
  - [Teleswagger::InputVenueMessageContent](docs/InputVenueMessageContent.md)
210
221
  - [Teleswagger::Invoice](docs/Invoice.md)
@@ -232,6 +243,7 @@ Class | Method | HTTP request | Description
232
243
  - [Teleswagger::SendGameBody](docs/SendGameBody.md)
233
244
  - [Teleswagger::SendInvoiceBody](docs/SendInvoiceBody.md)
234
245
  - [Teleswagger::SendLocationBody](docs/SendLocationBody.md)
246
+ - [Teleswagger::SendMediaGroupLinkBody](docs/SendMediaGroupLinkBody.md)
235
247
  - [Teleswagger::SendMessageBody](docs/SendMessageBody.md)
236
248
  - [Teleswagger::SendPhotoLinkBody](docs/SendPhotoLinkBody.md)
237
249
  - [Teleswagger::SendStickerLinkBody](docs/SendStickerLinkBody.md)
@@ -244,6 +256,7 @@ Class | Method | HTTP request | Description
244
256
  - [Teleswagger::ShippingQuery](docs/ShippingQuery.md)
245
257
  - [Teleswagger::Sticker](docs/Sticker.md)
246
258
  - [Teleswagger::StickerSet](docs/StickerSet.md)
259
+ - [Teleswagger::StopMessageLiveLocationBody](docs/StopMessageLiveLocationBody.md)
247
260
  - [Teleswagger::SuccessfulPayment](docs/SuccessfulPayment.md)
248
261
  - [Teleswagger::Update](docs/Update.md)
249
262
  - [Teleswagger::User](docs/User.md)
@@ -258,3 +271,4 @@ Class | Method | HTTP request | Description
258
271
  ## Documentation for Authorization
259
272
 
260
273
  All endpoints do not require authorization.
274
+