Added OpenAPI and stubs, updated to bot API 5.4

This commit is contained in:
Sys 2021-11-08 19:09:46 +01:00
parent 1b6dc25ea8
commit 610e482f3a
No known key found for this signature in database
GPG Key ID: 3CD2C29F8AB39BFD
180 changed files with 603763 additions and 17292 deletions

View File

@ -8,49 +8,50 @@ extracted by using [The Wayback Machine](https://web.archive.org/web/*/https://c
## Versions list
| Version | Description | Release date | Schema |
|-------------------|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|
| 1.0 | First release. | [June 24, 2015](https://core.telegram.org/bots/api-changelog#june-24-2015) | [JSON](files/json/v100.json), [Postman](files/postman/v100.json), [YAML](files/yaml/v100.yaml) |
| 1.1 | Minor changes. | [July 2015](https://core.telegram.org/bots/api-changelog#july-2015) | [JSON](files/json/v110.json), [Postman](files/postman/v110.json), [YAML](files/yaml/v110.yaml) |
| 1.2 | Voice messages. | [August 15, 2015](https://core.telegram.org/bots/api-changelog#august-15-2015) | Not available. |
| 1.3 | Support for self-signed certificates and webhook payload requests. | [August 29, 2015](https://core.telegram.org/bots/api-changelog#august-29-2015) | Not available. |
| 1.4 | JSON requests, basic Markdown support. | [September 7, 2015](https://core.telegram.org/bots/api-changelog#september-7-2015) | [JSON](files/json/v140.json), [Postman](files/postman/v140.json), [YAML](files/yaml/v140.yaml) |
| 1.5 | Download files and media sent by users. | [September 18, 2015](https://core.telegram.org/bots/api-changelog#september-18-2015) | [JSON](files/json/v150.json), [Postman](files/postman/v150.json), [YAML](files/yaml/v150.yaml) |
| 1.6 | Introduced channel support for bots. | [October 8, 2015](https://core.telegram.org/bots/api-changelog#october-8-2015) | [JSON](files/json/v160.json), [Postman](files/postman/v160.json), [YAML](files/yaml/v160.yaml) |
| 1.7 | Introduced supergroup support for bots. | [November 2015](https://core.telegram.org/bots/api-changelog#november-2015) | Not available. |
| 1.8 | Inline mode support. | [January 4, 2016](https://core.telegram.org/bots/api-changelog#january-4-2016) | [JSON](files/json/v180.json), [Postman](files/postman/v180.json), [YAML](files/yaml/v180.yaml) |
| 1.8.1 | Added ChosenInlineResult. | [January 14, 2016](https://core.telegram.org/bots/api-changelog#january-14-2016) | Not available. |
| 1.8.2 | Added support for HTML-style formatting. | [January 20, 2016](https://core.telegram.org/bots/api-changelog#january-20-2016) | [JSON](files/json/v182.json), [Postman](files/postman/v182.json), [YAML](files/yaml/v182.yaml) |
| 1.8.3 | Support for sending silent messages. | [February 20, 2016](https://core.telegram.org/bots/api-changelog#february-20-2016) | [JSON](files/json/v183.json), [Postman](files/postman/v183.json), [YAML](files/yaml/v183.yaml) |
| 2.0 | Message editing, inline keyboards introduced, improved inline mode, basic administration tools. | [April 9, 2016](https://core.telegram.org/bots/api-changelog#april-9-2016) | [JSON](files/json/v200.json), [Postman](files/postman/v200.json), [YAML](files/yaml/v200.yaml) |
| 2.0.1 | Minor changes. | [May 6, 2016](https://core.telegram.org/bots/api-changelog#may-6-2016) | Not available. |
| 2.0.2 | Message consistency for bot in groups and supergroups. | [May 12, 2016](https://core.telegram.org/bots/api-changelog#may-12-2016) | Not available. |
| 2.1 | More administration tools, support for edited messages and mentions. | [May 22, 2016](https://core.telegram.org/bots/api-changelog#may-22-2016) | [JSON](files/json/v210.json), [Postman](files/postman/v210.json), [YAML](files/yaml/v210.yaml) |
| 2.1.1 | Added support for inline keyboards in groups. | [May 25, 2016](https://core.telegram.org/bots/api-changelog#may-25-2016) | [JSON](files/json/v211.json)\*, [Postman](files/postman/v211.json)\*, [YAML](files/yaml/v211.yaml)* |
| 2.2 | Gaming Platform, various changes. | [October 3, 2016](https://core.telegram.org/bots/api-changelog#october-3-2016) | [JSON](files/json/v220.json), [Postman](files/postman/v220.json), [YAML](files/yaml/v220.yaml) |
| 2.3 | Channel post updates, callback query cache, other changes. | [November 21, 2016](https://core.telegram.org/bots/api-changelog#november-21-2016) | [JSON](files/json/v230.json), [Postman](files/postman/v230.json), [YAML](files/yaml/v230.yaml) |
| 2.3.1 | Webhook improvements. | [December 4, 2016](https://core.telegram.org/bots/api-changelog#december-4-2016) | [JSON](files/json/v231.json), [Postman](files/postman/v231.json), [YAML](files/yaml/v231.yaml) |
| 3.0 | Payment Platform, video messages, language code. | [May 18, 2017](https://core.telegram.org/bots/api-changelog#may-18-2017) | [JSON](files/json/v300.json), [Postman](files/postman/v300.json), [YAML](files/yaml/v300.yaml) |
| 3.1 | ChatMember permissions, temporary bans, support for pinning and unpinning messages. | [June 30, 2017](https://core.telegram.org/bots/api-changelog#june-30-2017) | [JSON](files/json/v310.json), [Postman](files/postman/v310.json), [YAML](files/yaml/v310.yaml) |
| 3.2 | Support for sticker sets management. | [July 21, 2017](https://core.telegram.org/bots/api-changelog#july-21-2017) | [JSON](files/json/v320.json), [Postman](files/postman/v320.json), [YAML](files/yaml/v320.yaml) |
| 3.3 | Support for creating mentions, other minor changes. | [August 23, 2017](https://core.telegram.org/bots/api-changelog#august-23-2017) | [JSON](files/json/v330.json), [Postman](files/postman/v330.json), [YAML](files/yaml/v330.yaml) |
| 3.4 | Support for Live Location and group sticker sets management. | [October 11, 2017](https://core.telegram.org/bots/api-changelog#october-11-2017) | Not available. |
| 3.5 | Media albums, message pinning in channel. | [November 17, 2017](https://core.telegram.org/bots/api-changelog#november-17-2017) | [JSON](files/json/v350.json), [Postman](files/postman/v350.json), [YAML](files/yaml/v350.yaml) |
| 3.6 | Text formatting in captions, Login Widget support. | [February 13, 2018](https://core.telegram.org/bots/api-changelog#february-13-2018) | [JSON](files/json/v360.json), [Postman](files/postman/v360.json), [YAML](files/yaml/v360.yaml) |
| 4.0 | Telegram Passport, edit media content in messages, other major changes. | [July 26, 2018](https://core.telegram.org/bots/api-changelog#july-26-2018) | [JSON](files/json/v400.json), [Postman](files/postman/v400.json), [YAML](files/yaml/v400.yaml) |
| 4.1 | Minor changes for Telegram Passport. | [August 27, 2018](https://core.telegram.org/bots/api-changelog#august-27-2018) | [JSON](files/json/v410.json), [Postman](files/postman/v410.json), [YAML](files/yaml/v410.yaml) |
| 4.2 | Added Poll support, pin messages in basic groups, other major changes. | [April 14, 2019](https://core.telegram.org/bots/api-changelog#april-14-2019) | [JSON](files/json/v420.json), [Postman](files/postman/v420.json), [YAML](files/yaml/v420.yaml) |
| 4.3 | Seamless Telegram Login, ReplyMarkup included in Message object. | [May 31, 2019](https://core.telegram.org/bots/api-changelog#may-31-2019) | [JSON](files/json/v430.json), [Postman](files/postman/v430.json), [YAML](files/yaml/v430.yaml) |
| 4.4 | Support for animated stickers and default chat permissions. | [July 29, 2019](https://core.telegram.org/bots/api-changelog#july-29-2019) | [JSON](files/json/v440.json), [Postman](files/postman/v440.json), [YAML](files/yaml/v440.yaml) |
| 4.5 | MarkdownV2 support, nested Message entities, file unique ID, custom administrator title. | [December 31, 2019](https://core.telegram.org/bots/api-changelog#december-31-2019) | [JSON](files/json/v450.json), [Postman](files/postman/v450.json), [YAML](files/yaml/v450.yaml) |
| 4.6 | Polls 2.0, improved getMe. | [January 23, 2020](https://core.telegram.org/bots/api-changelog#january-23-2020) | [JSON](files/json/v460.json), [Postman](files/postman/v460.json), [YAML](files/yaml/v460.yaml) |
| 4.7 | Dice support, setMyCommands and getMyCommands, support for creating animated sticker packs. | [March 30, 2020](https://core.telegram.org/bots/api-changelog#march-30-2020) | [JSON](files/json/v470.json), [Postman](files/postman/v470.json), [YAML](files/yaml/v470.yaml) |
| 4.8 | Dart support for dice, explanations for quizzes, automatically close poll. | [April 24, 2020](https://core.telegram.org/bots/api-changelog#april-24-2020) | [JSON](files/json/v480.json), [Postman](files/postman/v480.json), [YAML](files/yaml/v480.yaml) |
| 4.9 | via_bot field in Message object, basketball support for dice. | [June 4, 2020](https://core.telegram.org/bots/api-changelog#june-4-2020) | [JSON](files/json/v490.json), [Postman](files/postman/v490.json), [YAML](files/yaml/v490.yaml) |
| 5.0 | Self-host Bot API, transfer bot ownership, other major changes. | [November 4, 2020](https://core.telegram.org/bots/api-changelog#november-4-2020) | [JSON](files/json/v500.json), [Postman](files/postman/v500.json), [YAML](files/yaml/v500.yaml) |
| 5.1 | New Update type: ChatMemberUpdated. Improved chat invite links, voice chats support, other major changes. | [March 9, 2021](https://core.telegram.org/bots/api-changelog#march-9-2021) | [JSON](files/json/v510.json), [Postman](files/postman/v510.json), [YAML](files/yaml/v510.yaml) |
| 5.2 | Payments 2.0, other minor changes. | [April 26, 2021](https://core.telegram.org/bots/api-changelog#april-26-2021) | [JSON](files/json/v520.json), [Postman](files/postman/v520.json), [YAML](files/yaml/v520.yaml) |
| 5.3 **(current)** | Scoped commands, ChatMember splitting | [June 25, 2021](https://core.telegram.org/bots/api-changelog#june-25-2021) | [JSON](files/json/v530.json), [Postman](files/postman/v530.json), [YAML](files/yaml/v530.yaml) |
| Version | Description | Release date | Custom | Postman | OpenAPI | Stubs |
|-------------------|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------------------------------------------|-------------------------------|
| 1.0 | First release. | [June 24, 2015](https://core.telegram.org/bots/api-changelog#june-24-2015) | [JSON](files/custom/json/v100.json), [YAML](files/custom/yaml/v100.yaml) | [JSON](files/postman/v100.json) | [JSON](files/openapi/json/v100.json), [YAML](files/openapi/yaml/v100.yaml) | [ZIP](files/stubs/v100.zip) |
| 1.1 | Minor changes. | [July 2015](https://core.telegram.org/bots/api-changelog#july-2015) | [JSON](files/custom/json/v110.json), [YAML](files/custom/yaml/v110.yaml) | [JSON](files/postman/v110.json) | [JSON](files/openapi/json/v110.json), [YAML](files/openapi/yaml/v110.yaml) | [ZIP](files/stubs/v110.zip) |
| 1.2 | Voice messages. | [August 15, 2015](https://core.telegram.org/bots/api-changelog#august-15-2015) | Not available. | Not available. | Not available. | Not available. |
| 1.3 | Support for self-signed certificates and webhook payload requests. | [August 29, 2015](https://core.telegram.org/bots/api-changelog#august-29-2015) | Not available. | Not available. | Not available. | Not available. |
| 1.4 | JSON requests, basic Markdown support. | [September 7, 2015](https://core.telegram.org/bots/api-changelog#september-7-2015) | [JSON](files/custom/json/v140.json), [YAML](files/custom/yaml/v140.yaml) | [JSON](files/postman/v140.json) | [JSON](files/openapi/json/v140.json), [YAML](files/openapi/yaml/v140.yaml) | [ZIP](files/stubs/v140.zip) |
| 1.5 | Download files and media sent by users. | [September 18, 2015](https://core.telegram.org/bots/api-changelog#september-18-2015) | [JSON](files/custom/json/v150.json), [YAML](files/custom/yaml/v150.yaml) | [JSON](files/postman/v150.json) | [JSON](files/openapi/json/v150.json), [YAML](files/openapi/yaml/v150.yaml) | [ZIP](files/stubs/v150.zip) |
| 1.6 | Introduced channel support for bots. | [October 8, 2015](https://core.telegram.org/bots/api-changelog#october-8-2015) | [JSON](files/custom/json/v160.json), [YAML](files/custom/yaml/v160.yaml) | [JSON](files/postman/v160.json) | [JSON](files/openapi/json/v160.json), [YAML](files/openapi/yaml/v160.yaml) | [ZIP](files/stubs/v160.zip) |
| 1.7 | Introduced supergroup support for bots. | [November 2015](https://core.telegram.org/bots/api-changelog#november-2015) | Not available. | Not available. | Not available. | Not available. |
| 1.8 | Inline mode support. | [January 4, 2016](https://core.telegram.org/bots/api-changelog#january-4-2016) | [JSON](files/custom/json/v180.json), [YAML](files/custom/yaml/v180.yaml) | [JSON](files/postman/v180.json) | [JSON](files/openapi/json/v180.json), [YAML](files/openapi/yaml/v180.yaml) | [ZIP](files/stubs/v180.zip) |
| 1.8.1 | Added ChosenInlineResult. | [January 14, 2016](https://core.telegram.org/bots/api-changelog#january-14-2016) | Not available. | Not available. | Not available. | Not available. |
| 1.8.2 | Added support for HTML-style formatting. | [January 20, 2016](https://core.telegram.org/bots/api-changelog#january-20-2016) | [JSON](files/custom/json/v182.json), [YAML](files/custom/yaml/v182.yaml) | [JSON](files/postman/v182.json) | [JSON](files/openapi/json/v182.json), [YAML](files/openapi/yaml/v182.yaml) | [ZIP](files/stubs/v182.zip) |
| 1.8.3 | Support for sending silent messages. | [February 20, 2016](https://core.telegram.org/bots/api-changelog#february-20-2016) | [JSON](files/custom/json/v183.json), [YAML](files/custom/yaml/v183.yaml) | [JSON](files/postman/v183.json) | [JSON](files/openapi/json/v183.json), [YAML](files/openapi/yaml/v183.yaml) | [ZIP](files/stubs/v183.zip) |
| 2.0 | Message editing, inline keyboards introduced, improved inline mode, basic administration tools. | [April 9, 2016](https://core.telegram.org/bots/api-changelog#april-9-2016) | [JSON](files/custom/json/v200.json), [YAML](files/custom/yaml/v200.yaml) | [JSON](files/postman/v200.json) | [JSON](files/openapi/json/v200.json), [YAML](files/openapi/yaml/v200.yaml) | [ZIP](files/stubs/v200.zip) |
| 2.0.1 | Minor changes. | [May 6, 2016](https://core.telegram.org/bots/api-changelog#may-6-2016) | Not available. | Not available. | Not available. | Not available. |
| 2.0.2 | Message consistency for bot in groups and supergroups. | [May 12, 2016](https://core.telegram.org/bots/api-changelog#may-12-2016) | Not available. | Not available. | Not available. | Not available. |
| 2.1 | More administration tools, support for edited messages and mentions. | [May 22, 2016](https://core.telegram.org/bots/api-changelog#may-22-2016) | [JSON](files/custom/json/v210.json), [YAML](files/custom/yaml/v210.yaml) | [JSON](files/postman/v210.json) | [JSON](files/openapi/json/v210.json), [YAML](files/openapi/yaml/v210.yaml) | [ZIP](files/stubs/v210.zip) |
| 2.1.1 | Added support for inline keyboards in groups. | [May 25, 2016](https://core.telegram.org/bots/api-changelog#may-25-2016) | [JSON](files/custom/json/v211.json)\*, [YAML](files/custom/yaml/v211.yaml)\* | [JSON](files/postman/v211.json)\* | [JSON](files/openapi/json/v211.json)\*, [YAML](files/openapi/yaml/v211.yaml)\* | [ZIP](files/stubs/v211.zip)\* |
| 2.2 | Gaming Platform, various changes. | [October 3, 2016](https://core.telegram.org/bots/api-changelog#october-3-2016) | [JSON](files/custom/json/v220.json), [YAML](files/custom/yaml/v220.yaml) | [JSON](files/postman/v220.json) | [JSON](files/openapi/json/v220.json), [YAML](files/openapi/yaml/v220.yaml) | [ZIP](files/stubs/v220.zip) |
| 2.3 | Channel post updates, callback query cache, other changes. | [November 21, 2016](https://core.telegram.org/bots/api-changelog#november-21-2016) | [JSON](files/custom/json/v230.json), [YAML](files/custom/yaml/v230.yaml) | [JSON](files/postman/v230.json) | [JSON](files/openapi/json/v230.json), [YAML](files/openapi/yaml/v230.yaml) | [ZIP](files/stubs/v230.zip) |
| 2.3.1 | Webhook improvements. | [December 4, 2016](https://core.telegram.org/bots/api-changelog#december-4-2016) | [JSON](files/custom/json/v231.json), [YAML](files/custom/yaml/v231.yaml) | [JSON](files/postman/v231.json) | [JSON](files/openapi/json/v231.json), [YAML](files/openapi/yaml/v231.yaml) | [ZIP](files/stubs/v231.zip) |
| 3.0 | Payment Platform, video messages, language code. | [May 18, 2017](https://core.telegram.org/bots/api-changelog#may-18-2017) | [JSON](files/custom/json/v300.json), [YAML](files/custom/yaml/v300.yaml) | [JSON](files/postman/v300.json) | [JSON](files/openapi/json/v300.json), [YAML](files/openapi/yaml/v300.yaml) | [ZIP](files/stubs/v300.zip) |
| 3.1 | ChatMember permissions, temporary bans, support for pinning and unpinning messages. | [June 30, 2017](https://core.telegram.org/bots/api-changelog#june-30-2017) | [JSON](files/custom/json/v310.json), [YAML](files/custom/yaml/v310.yaml) | [JSON](files/postman/v310.json) | [JSON](files/openapi/json/v310.json), [YAML](files/openapi/yaml/v310.yaml) | [ZIP](files/stubs/v310.zip) |
| 3.2 | Support for sticker sets management. | [July 21, 2017](https://core.telegram.org/bots/api-changelog#july-21-2017) | [JSON](files/custom/json/v320.json), [YAML](files/custom/yaml/v320.yaml) | [JSON](files/postman/v320.json) | [JSON](files/openapi/json/v320.json), [YAML](files/openapi/yaml/v320.yaml) | [ZIP](files/stubs/v320.zip) |
| 3.3 | Support for creating mentions, other minor changes. | [August 23, 2017](https://core.telegram.org/bots/api-changelog#august-23-2017) | [JSON](files/custom/json/v330.json), [YAML](files/custom/yaml/v330.yaml) | [JSON](files/postman/v330.json) | [JSON](files/openapi/json/v330.json), [YAML](files/openapi/yaml/v330.yaml) | [ZIP](files/stubs/v330.zip) |
| 3.4 | Support for Live Location and group sticker sets management. | [October 11, 2017](https://core.telegram.org/bots/api-changelog#october-11-2017) | Not available. | Not available. | Not available. | Not available. |
| 3.5 | Media albums, message pinning in channel. | [November 17, 2017](https://core.telegram.org/bots/api-changelog#november-17-2017) | [JSON](files/custom/json/v350.json), [YAML](files/custom/yaml/v350.yaml) | [JSON](files/postman/v350.json) | [JSON](files/openapi/json/v350.json), [YAML](files/openapi/yaml/v350.yaml) | [ZIP](files/stubs/v350.zip) |
| 3.6 | Text formatting in captions, Login Widget support. | [February 13, 2018](https://core.telegram.org/bots/api-changelog#february-13-2018) | [JSON](files/custom/json/v360.json), [YAML](files/custom/yaml/v360.yaml) | [JSON](files/postman/v360.json) | [JSON](files/openapi/json/v360.json), [YAML](files/openapi/yaml/v360.yaml) | [ZIP](files/stubs/v360.zip) |
| 4.0 | Telegram Passport, edit media content in messages, other major changes. | [July 26, 2018](https://core.telegram.org/bots/api-changelog#july-26-2018) | [JSON](files/custom/json/v400.json), [YAML](files/custom/yaml/v400.yaml) | [JSON](files/postman/v400.json) | [JSON](files/openapi/json/v400.json), [YAML](files/openapi/yaml/v400.yaml) | [ZIP](files/stubs/v400.zip) |
| 4.1 | Minor changes for Telegram Passport. | [August 27, 2018](https://core.telegram.org/bots/api-changelog#august-27-2018) | [JSON](files/custom/json/v410.json), [YAML](files/custom/yaml/v410.yaml) | [JSON](files/postman/v410.json) | [JSON](files/openapi/json/v410.json), [YAML](files/openapi/yaml/v410.yaml) | [ZIP](files/stubs/v410.zip) |
| 4.2 | Added Poll support, pin messages in basic groups, other major changes. | [April 14, 2019](https://core.telegram.org/bots/api-changelog#april-14-2019) | [JSON](files/custom/json/v420.json), [YAML](files/custom/yaml/v420.yaml) | [JSON](files/postman/v420.json) | [JSON](files/openapi/json/v420.json), [YAML](files/openapi/yaml/v420.yaml) | [ZIP](files/stubs/v420.zip) |
| 4.3 | Seamless Telegram Login, ReplyMarkup included in Message object. | [May 31, 2019](https://core.telegram.org/bots/api-changelog#may-31-2019) | [JSON](files/custom/json/v430.json), [YAML](files/custom/yaml/v430.yaml) | [JSON](files/postman/v430.json) | [JSON](files/openapi/json/v430.json), [YAML](files/openapi/yaml/v430.yaml) | [ZIP](files/stubs/v430.zip) |
| 4.4 | Support for animated stickers and default chat permissions. | [July 29, 2019](https://core.telegram.org/bots/api-changelog#july-29-2019) | [JSON](files/custom/json/v440.json), [YAML](files/custom/yaml/v440.yaml) | [JSON](files/postman/v440.json) | [JSON](files/openapi/json/v440.json), [YAML](files/openapi/yaml/v440.yaml) | [ZIP](files/stubs/v440.zip) |
| 4.5 | MarkdownV2 support, nested Message entities, file unique ID, custom administrator title. | [December 31, 2019](https://core.telegram.org/bots/api-changelog#december-31-2019) | [JSON](files/custom/json/v450.json), [YAML](files/custom/yaml/v450.yaml) | [JSON](files/postman/v450.json) | [JSON](files/openapi/json/v450.json), [YAML](files/openapi/yaml/v450.yaml) | [ZIP](files/stubs/v450.zip) |
| 4.6 | Polls 2.0, improved getMe. | [January 23, 2020](https://core.telegram.org/bots/api-changelog#january-23-2020) | [JSON](files/custom/json/v460.json), [YAML](files/custom/yaml/v460.yaml) | [JSON](files/postman/v460.json) | [JSON](files/openapi/json/v460.json), [YAML](files/openapi/yaml/v460.yaml) | [ZIP](files/stubs/v460.zip) |
| 4.7 | Dice support, setMyCommands and getMyCommands, support for creating animated sticker packs. | [March 30, 2020](https://core.telegram.org/bots/api-changelog#march-30-2020) | [JSON](files/custom/json/v470.json), [YAML](files/custom/yaml/v470.yaml) | [JSON](files/postman/v470.json) | [JSON](files/openapi/json/v470.json), [YAML](files/openapi/yaml/v470.yaml) | [ZIP](files/stubs/v470.zip) |
| 4.8 | Dart support for dice, explanations for quizzes, automatically close poll. | [April 24, 2020](https://core.telegram.org/bots/api-changelog#april-24-2020) | [JSON](files/custom/json/v480.json), [YAML](files/custom/yaml/v480.yaml) | [JSON](files/postman/v480.json) | [JSON](files/openapi/json/v480.json), [YAML](files/openapi/yaml/v480.yaml) | [ZIP](files/stubs/v480.zip) |
| 4.9 | via_bot field in Message object, basketball support for dice. | [June 4, 2020](https://core.telegram.org/bots/api-changelog#june-4-2020) | [JSON](files/custom/json/v490.json), [YAML](files/custom/yaml/v490.yaml) | [JSON](files/postman/v490.json) | [JSON](files/openapi/json/v490.json), [YAML](files/openapi/yaml/v490.yaml) | [ZIP](files/stubs/v490.zip) |
| 5.0 | Self-host Bot API, transfer bot ownership, other major changes. | [November 4, 2020](https://core.telegram.org/bots/api-changelog#november-4-2020) | [JSON](files/custom/json/v500.json), [YAML](files/custom/yaml/v500.yaml) | [JSON](files/postman/v500.json) | [JSON](files/openapi/json/v500.json), [YAML](files/openapi/yaml/v500.yaml) | [ZIP](files/stubs/v500.zip) |
| 5.1 | New Update type: ChatMemberUpdated. Improved chat invite links, voice chats support, other major changes. | [March 9, 2021](https://core.telegram.org/bots/api-changelog#march-9-2021) | [JSON](files/custom/json/v510.json), [YAML](files/custom/yaml/v510.yaml) | [JSON](files/postman/v510.json) | [JSON](files/openapi/json/v510.json), [YAML](files/openapi/yaml/v510.yaml) | [ZIP](files/stubs/v510.zip) |
| 5.2 | Payments 2.0, other minor changes. | [April 26, 2021](https://core.telegram.org/bots/api-changelog#april-26-2021) | [JSON](files/custom/json/v520.json), [YAML](files/custom/yaml/v520.yaml) | [JSON](files/postman/v520.json) | [JSON](files/openapi/json/v520.json), [YAML](files/openapi/yaml/v520.yaml) | [ZIP](files/stubs/v520.zip) |
| 5.3 | Scoped commands, ChatMember splitting. | [June 25, 2021](https://core.telegram.org/bots/api-changelog#june-25-2021) | [JSON](files/custom/json/v530.json), [YAML](files/custom/yaml/v530.yaml) | [JSON](files/postman/v530.json) | [JSON](files/openapi/json/v530.json), [YAML](files/openapi/yaml/v530.yaml) | [ZIP](files/stubs/v530.zip) |
| 5.4 **(current)** | Chat join requests, choose_sticker chat action. | [November 5, 2021](https://core.telegram.org/bots/api-changelog#november-5-2021) | [JSON](files/custom/json/v540.json), [YAML](files/custom/yaml/v540.yaml) | [JSON](files/postman/v540.json) | [JSON](files/openapi/json/v540.json), [YAML](files/openapi/yaml/v540.yaml) | [ZIP](files/stubs/v540.zip) |
*Unchanged from previous version.

View File

@ -1,5 +1,6 @@
{
"require": {
"sysbot/tgscraper": "^2.0"
"sysbot/tgscraper": "^3.0",
"sysbot/tgscraper-cache": "^1.0"
}
}

283
composer.lock generated
View File

@ -4,28 +4,29 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "473ff97f9dab907e416f0272a3fce91f",
"content-hash": "ab62448ac6c5e2a0fbc3c9a5d6b85e1f",
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.3.0",
"version": "7.4.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "7008573787b430c1c1f650e3722d9bba59967628"
"reference": "868b3571a039f0ebc11ac8f344f4080babe2cb94"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628",
"reference": "7008573787b430c1c1f650e3722d9bba59967628",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/868b3571a039f0ebc11ac8f344f4080babe2cb94",
"reference": "868b3571a039f0ebc11ac8f344f4080babe2cb94",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.4",
"guzzlehttp/psr7": "^1.7 || ^2.0",
"guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.8.3 || ^2.1",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0"
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2"
},
"provide": {
"psr/http-client-implementation": "1.0"
@ -35,7 +36,7 @@
"ext-curl": "*",
"php-http/client-integration-tests": "^3.0",
"phpunit/phpunit": "^8.5.5 || ^9.3.5",
"psr/log": "^1.1"
"psr/log": "^1.1 || ^2.0 || ^3.0"
},
"suggest": {
"ext-curl": "Required for CURL handler support",
@ -45,7 +46,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "7.3-dev"
"dev-master": "7.4-dev"
}
},
"autoload": {
@ -61,19 +62,43 @@
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Jeremy Lindblom",
"email": "jeremeamia@gmail.com",
"homepage": "https://github.com/jeremeamia"
},
{
"name": "George Mponos",
"email": "gmponos@gmail.com",
"homepage": "https://github.com/gmponos"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
},
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com",
"homepage": "https://sagikazarmark.hu"
"homepage": "https://github.com/sagikazarmark"
},
{
"name": "Tobias Schultze",
"email": "webmaster@tubo-world.de",
"homepage": "https://github.com/Tobion"
}
],
"description": "Guzzle is a PHP HTTP client library",
"homepage": "http://guzzlephp.org/",
"keywords": [
"client",
"curl",
@ -87,7 +112,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.3.0"
"source": "https://github.com/guzzle/guzzle/tree/7.4.0"
},
"funding": [
{
@ -99,28 +124,24 @@
"type": "github"
},
{
"url": "https://github.com/alexeyshockov",
"type": "github"
},
{
"url": "https://github.com/gmponos",
"type": "github"
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle",
"type": "tidelift"
}
],
"time": "2021-03-23T11:33:13+00:00"
"time": "2021-10-18T09:52:00+00:00"
},
{
"name": "guzzlehttp/promises",
"version": "1.4.1",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
"reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
"reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
"url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"shasum": ""
},
"require": {
@ -132,7 +153,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
"dev-master": "1.5-dev"
}
},
"autoload": {
@ -148,10 +169,25 @@
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
},
{
"name": "Tobias Schultze",
"email": "webmaster@tubo-world.de",
"homepage": "https://github.com/Tobion"
}
],
"description": "Guzzle promises library",
@ -160,22 +196,36 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
"source": "https://github.com/guzzle/promises/tree/1.4.1"
"source": "https://github.com/guzzle/promises/tree/1.5.1"
},
"time": "2021-03-07T09:25:29+00:00"
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
"type": "tidelift"
}
],
"time": "2021-10-22T20:56:57+00:00"
},
{
"name": "guzzlehttp/psr7",
"version": "1.8.2",
"version": "1.8.3",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "dc960a912984efb74d0a90222870c72c87f10c91"
"reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
"reference": "dc960a912984efb74d0a90222870c72c87f10c91",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
"reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
"shasum": ""
},
"require": {
@ -212,13 +262,34 @@
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "George Mponos",
"email": "gmponos@gmail.com",
"homepage": "https://github.com/gmponos"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
},
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com",
"homepage": "https://github.com/sagikazarmark"
},
{
"name": "Tobias Schultze",
"email": "webmaster@tubo-world.de",
"homepage": "https://github.com/Tobion"
}
],
@ -235,9 +306,23 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/1.8.2"
"source": "https://github.com/guzzle/psr7/tree/1.8.3"
},
"time": "2021-04-26T09:17:50+00:00"
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
"type": "tidelift"
}
],
"time": "2021-10-05T13:56:00+00:00"
},
{
"name": "myclabs/php-enum",
@ -301,27 +386,27 @@
},
{
"name": "nette/php-generator",
"version": "v3.5.4",
"version": "v3.6.4",
"source": {
"type": "git",
"url": "https://github.com/nette/php-generator.git",
"reference": "59bb35ed6e8da95854fbf7b7d47dce6156b42915"
"reference": "b8375ac20760c62b6816f8c2eaeabbbca305eed7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/php-generator/zipball/59bb35ed6e8da95854fbf7b7d47dce6156b42915",
"reference": "59bb35ed6e8da95854fbf7b7d47dce6156b42915",
"url": "https://api.github.com/repos/nette/php-generator/zipball/b8375ac20760c62b6816f8c2eaeabbbca305eed7",
"reference": "b8375ac20760c62b6816f8c2eaeabbbca305eed7",
"shasum": ""
},
"require": {
"nette/utils": "^3.1.2",
"php": ">=7.1"
"php": ">=7.2 <8.2"
},
"require-dev": {
"nette/tester": "^2.0",
"nikic/php-parser": "^4.4",
"nette/tester": "^2.4",
"nikic/php-parser": "^4.13",
"phpstan/phpstan": "^0.12",
"tracy/tracy": "^2.3"
"tracy/tracy": "^2.8"
},
"suggest": {
"nikic/php-parser": "to use ClassType::withBodiesFrom() & GlobalFunction::withBodyFrom()"
@ -329,7 +414,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.5-dev"
"dev-master": "3.6-dev"
}
},
"autoload": {
@ -353,7 +438,7 @@
"homepage": "https://nette.org/contributors"
}
],
"description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.0 features.",
"description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.1 features.",
"homepage": "https://nette.org",
"keywords": [
"code",
@ -363,26 +448,26 @@
],
"support": {
"issues": "https://github.com/nette/php-generator/issues",
"source": "https://github.com/nette/php-generator/tree/v3.5.4"
"source": "https://github.com/nette/php-generator/tree/v3.6.4"
},
"time": "2021-07-05T12:02:42+00:00"
"time": "2021-10-15T10:28:31+00:00"
},
{
"name": "nette/utils",
"version": "v3.2.2",
"version": "v3.2.5",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
"reference": "967cfc4f9a1acd5f1058d76715a424c53343c20c"
"reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/967cfc4f9a1acd5f1058d76715a424c53343c20c",
"reference": "967cfc4f9a1acd5f1058d76715a424c53343c20c",
"url": "https://api.github.com/repos/nette/utils/zipball/9cd80396ca58d7969ab44fc7afcf03624dfa526e",
"reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e",
"shasum": ""
},
"require": {
"php": ">=7.2 <8.1"
"php": ">=7.2 <8.2"
},
"conflict": {
"nette/di": "<3.0.6"
@ -448,9 +533,9 @@
],
"support": {
"issues": "https://github.com/nette/utils/issues",
"source": "https://github.com/nette/utils/tree/v3.2.2"
"source": "https://github.com/nette/utils/tree/v3.2.5"
},
"time": "2021-03-03T22:53:25+00:00"
"time": "2021-09-20T10:50:11+00:00"
},
{
"name": "paquettg/php-html-parser",
@ -691,20 +776,20 @@
},
{
"name": "psr/container",
"version": "1.1.1",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
"reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
"url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
"reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
"shasum": ""
},
"require": {
"php": ">=7.2.0"
"php": ">=7.4.0"
},
"type": "library",
"autoload": {
@ -733,9 +818,9 @@
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
"source": "https://github.com/php-fig/container/tree/1.1.1"
"source": "https://github.com/php-fig/container/tree/1.1.2"
},
"time": "2021-03-05T17:36:06+00:00"
"time": "2021-11-05T16:50:12+00:00"
},
{
"name": "psr/http-client",
@ -938,16 +1023,16 @@
},
{
"name": "symfony/console",
"version": "v5.3.6",
"version": "v5.3.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2"
"reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
"reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
"url": "https://api.github.com/repos/symfony/console/zipball/d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
"reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
"shasum": ""
},
"require": {
@ -1017,7 +1102,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.3.6"
"source": "https://github.com/symfony/console/tree/v5.3.10"
},
"funding": [
{
@ -1033,7 +1118,7 @@
"type": "tidelift"
}
],
"time": "2021-07-27T19:10:22+00:00"
"time": "2021-10-26T09:30:15+00:00"
},
{
"name": "symfony/deprecation-contracts",
@ -1669,16 +1754,16 @@
},
{
"name": "symfony/string",
"version": "v5.3.3",
"version": "v5.3.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1"
"reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
"reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
"url": "https://api.github.com/repos/symfony/string/zipball/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c",
"reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c",
"shasum": ""
},
"require": {
@ -1732,7 +1817,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v5.3.3"
"source": "https://github.com/symfony/string/tree/v5.3.10"
},
"funding": [
{
@ -1748,7 +1833,7 @@
"type": "tidelift"
}
],
"time": "2021-06-27T11:44:38+00:00"
"time": "2021-10-27T18:21:46+00:00"
},
{
"name": "symfony/yaml",
@ -1827,16 +1912,16 @@
},
{
"name": "sysbot/tgscraper",
"version": "2.1",
"version": "3.0.2",
"source": {
"type": "git",
"url": "https://github.com/Sysbot-org/tgscraper.git",
"reference": "137960dea2ee8cc3c6a457ed0aff00f8f328c18c"
"reference": "6298361b59b2433b1639a318bb28b0e7bd477490"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Sysbot-org/tgscraper/zipball/137960dea2ee8cc3c6a457ed0aff00f8f328c18c",
"reference": "137960dea2ee8cc3c6a457ed0aff00f8f328c18c",
"url": "https://api.github.com/repos/Sysbot-org/tgscraper/zipball/6298361b59b2433b1639a318bb28b0e7bd477490",
"reference": "6298361b59b2433b1639a318bb28b0e7bd477490",
"shasum": ""
},
"require": {
@ -1849,6 +1934,9 @@
"symfony/console": "^5.3",
"symfony/yaml": "^5.3"
},
"suggest": {
"sysbot/tgscraper-cache": "To speed up schema fetching and generation."
},
"bin": [
"bin/tgscraper"
],
@ -1873,9 +1961,50 @@
"description": "Utility to extract scheme from Telegram Bot API webpage.",
"support": {
"issues": "https://github.com/Sysbot-org/tgscraper/issues",
"source": "https://github.com/Sysbot-org/tgscraper/tree/2.1"
"source": "https://github.com/Sysbot-org/tgscraper/tree/3.0.2"
},
"time": "2021-07-31T15:01:46+00:00"
"time": "2021-11-08T14:57:52+00:00"
},
{
"name": "sysbot/tgscraper-cache",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/Sysbot-org/tgscraper-cache.git",
"reference": "e8e11068c63c780f784c5abd0622c80e3eeadff8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Sysbot-org/tgscraper-cache/zipball/e8e11068c63c780f784c5abd0622c80e3eeadff8",
"reference": "e8e11068c63c780f784c5abd0622c80e3eeadff8",
"shasum": ""
},
"require": {
"php": ">=8.0"
},
"type": "library",
"autoload": {
"psr-4": {
"TgScraper\\Cache\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0-or-later"
],
"authors": [
{
"name": "sys-001",
"email": "sys@sys001.ml",
"homepage": "https://sys001.ml",
"role": "Developer"
}
],
"description": "Utility to extract scheme from Telegram Bot API webpage.",
"support": {
"source": "https://github.com/Sysbot-org/tgscraper-cache/tree/1.0.1"
},
"time": "2021-08-23T10:49:44+00:00"
}
],
"packages-dev": [],

View File

@ -1,31 +1,52 @@
<?php
use Psr\Log\NullLogger;
use TgScraper\Common\Encoder;
use TgScraper\Constants\Versions;
use TgScraper\TgScraper;
require_once __DIR__ . '/vendor/autoload.php';
$logger = new NullLogger();
$versions = (new ReflectionClass(Versions::class))
->getConstants();
unset($versions['LATEST']);
$versionReplacer = function (string $ver) {
$this->version = $ver;
};
foreach ($versions as $version => $url) {
$filename = strtolower($version);
function rrmdir(string $directory): void
{
$files = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($directory, FilesystemIterator::SKIP_DOTS),
RecursiveIteratorIterator::CHILD_FIRST
);
foreach ($files as $fileInfo) {
$todo = ($fileInfo->isDir() ? 'rmdir' : 'unlink');
$todo($fileInfo->getRealPath());
}
rmdir($directory);
}
$versions = array_keys(
(new ReflectionClass(Versions::class))
->getConstants()['URLS']
);
$versions = array_diff($versions, ['latest']);
foreach ($versions as $version) {
$filename = 'v' . str_replace('.', '', $version);
echo $filename . PHP_EOL;
$generator = new \TgScraper\Generator($logger, url: $url);
// fix for older bot API versions
$rawVersion = str_split(str_replace('v', '', $filename));
$realVersion = sprintf('%s.%s.%s', $rawVersion[0] ?? '1', $rawVersion[1] ?? '0', $rawVersion[2] ?? '0');
$json = $generator->toJson();
$jsonData = json_decode($json, true);
$jsonData = ['version' => $realVersion] + $jsonData;
$generator = \TgScraper\Generator::fromJson($logger, json_encode($jsonData));
$json = $generator->toJson(JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
$postman = $generator->toPostman(JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
$yaml = $generator->toYaml();
file_put_contents("files/json/$filename.json", $json);
file_put_contents("files/postman/$filename.json", $postman);
file_put_contents("files/yaml/$filename.yaml", $yaml);
$generator = TgScraper::fromVersion($logger, $version);
$versionReplacer->call($generator, $version); // fix for older bot API versions
$custom = $generator->toArray();
$postman = $generator->toPostman();
$openapi = $generator->toOpenApi();
$generator->toStubs('tmp');
$zip = new PharData("files/stubs/$filename.zip");
$zip->buildFromDirectory('tmp');
rrmdir('tmp');
file_put_contents("files/custom/json/$filename.json", Encoder::toJson($custom, readable: true));
file_put_contents("files/custom/yaml/$filename.yaml", Encoder::toYaml($custom));
file_put_contents("files/postman/$filename.json", Encoder::toJson($postman, readable: true));
file_put_contents("files/openapi/json/$filename.json", Encoder::toJson($openapi, readable: true));
file_put_contents("files/openapi/yaml/$filename.yaml", Encoder::toYaml($openapi));
}

View File

@ -692,7 +692,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -700,7 +700,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -708,11 +708,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -726,18 +725,16 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -751,7 +748,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -759,7 +756,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -767,7 +764,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -775,7 +772,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -785,11 +782,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -803,7 +799,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -811,7 +807,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent — User or GroupChat id"
},
{
@ -819,11 +815,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -837,7 +832,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -846,7 +841,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -854,7 +849,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id)."
},
{
@ -862,7 +857,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -872,11 +867,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -890,7 +884,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -899,7 +893,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -907,7 +901,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -917,11 +911,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -935,7 +928,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -944,7 +937,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -952,7 +945,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -962,11 +955,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -980,7 +972,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -989,7 +981,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -997,7 +989,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1007,11 +999,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1025,7 +1016,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1034,7 +1025,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1042,7 +1033,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1052,11 +1043,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1070,7 +1060,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1078,7 +1068,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1086,7 +1076,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1094,7 +1084,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1104,11 +1094,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1122,7 +1111,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1130,11 +1119,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -1146,7 +1134,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -1154,7 +1142,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -1162,11 +1150,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]

View File

@ -692,7 +692,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -700,7 +700,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -708,11 +708,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -726,18 +725,16 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -751,7 +748,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -759,7 +756,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -767,7 +764,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -775,7 +772,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -785,11 +782,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -803,7 +799,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -811,7 +807,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent — User or GroupChat id"
},
{
@ -819,11 +815,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -837,7 +832,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -846,7 +841,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -854,7 +849,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id)."
},
{
@ -862,7 +857,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -872,11 +867,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -890,7 +884,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -899,7 +893,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -907,7 +901,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -915,7 +909,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -925,11 +919,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -943,7 +936,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -952,7 +945,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -960,7 +953,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -970,11 +963,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -988,7 +980,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -997,7 +989,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1005,7 +997,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1015,11 +1007,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1033,7 +1024,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1042,7 +1033,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1050,7 +1041,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1058,7 +1049,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id)."
},
{
@ -1066,7 +1057,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1076,11 +1067,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1094,7 +1084,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1102,7 +1092,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1110,7 +1100,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1118,7 +1108,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1128,11 +1118,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1146,7 +1135,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1154,11 +1143,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -1170,7 +1158,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -1178,7 +1166,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -1186,11 +1174,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]

View File

@ -755,7 +755,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -763,7 +763,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -771,11 +771,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -789,7 +788,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
},
{
@ -797,18 +796,16 @@
"types": [
"InputFile"
],
"required": false,
"optional": true,
"description": "Upload your public key certificate so that the root certificate in use can be checked"
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -822,7 +819,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -830,7 +827,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -838,7 +835,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot's message. For the moment, only Telegram for Android supports this."
},
{
@ -846,7 +843,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -854,7 +851,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -864,11 +861,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -882,7 +878,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -890,7 +886,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent — User or GroupChat id"
},
{
@ -898,11 +894,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -916,7 +911,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -925,7 +920,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -933,7 +928,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id)."
},
{
@ -941,7 +936,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -951,11 +946,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -969,7 +963,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -978,7 +972,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -986,7 +980,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of the audio in seconds"
},
{
@ -994,7 +988,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Performer"
},
{
@ -1002,7 +996,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Track name"
},
{
@ -1010,7 +1004,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1020,11 +1014,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1038,7 +1031,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1047,7 +1040,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -1055,7 +1048,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1065,11 +1058,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1083,7 +1075,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1092,7 +1084,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1100,7 +1092,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1110,11 +1102,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1128,7 +1119,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1137,7 +1128,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1145,7 +1136,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1153,7 +1144,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id)."
},
{
@ -1161,7 +1152,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1171,11 +1162,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1189,7 +1179,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1198,7 +1188,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1206,7 +1196,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -1214,7 +1204,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1224,11 +1214,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1242,7 +1231,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1250,7 +1239,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1258,7 +1247,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1266,7 +1255,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1276,11 +1265,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1294,7 +1282,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1302,11 +1290,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -1318,7 +1305,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -1326,7 +1313,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -1334,11 +1321,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]

View File

@ -786,7 +786,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -794,7 +794,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -802,11 +802,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -820,7 +819,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
},
{
@ -828,18 +827,16 @@
"types": [
"InputFile"
],
"required": false,
"optional": true,
"description": "Upload your public key certificate so that the root certificate in use can be checked"
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -853,7 +850,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -861,7 +858,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -869,7 +866,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot's message. For the moment, only Telegram for Android supports this."
},
{
@ -877,7 +874,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -885,7 +882,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -895,11 +892,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -913,7 +909,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -921,7 +917,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent — User or GroupChat id"
},
{
@ -929,11 +925,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -947,7 +942,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -956,7 +951,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -964,7 +959,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id)."
},
{
@ -972,7 +967,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -982,11 +977,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1000,7 +994,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1009,7 +1003,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1017,7 +1011,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of the audio in seconds"
},
{
@ -1025,7 +1019,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Performer"
},
{
@ -1033,7 +1027,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Track name"
},
{
@ -1041,7 +1035,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1051,11 +1045,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1069,7 +1062,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1078,7 +1071,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -1086,7 +1079,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1096,11 +1089,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1114,7 +1106,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1123,7 +1115,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1131,7 +1123,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1141,11 +1133,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1159,7 +1150,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1168,7 +1159,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1176,7 +1167,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1184,7 +1175,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id)."
},
{
@ -1192,7 +1183,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1202,11 +1193,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1220,7 +1210,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1229,7 +1219,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1237,7 +1227,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -1245,7 +1235,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1255,11 +1245,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1273,7 +1262,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1281,7 +1270,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1289,7 +1278,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1297,7 +1286,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1307,11 +1296,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1325,7 +1313,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier for the message recipient — User or GroupChat id"
},
{
@ -1333,11 +1321,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -1349,7 +1336,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -1357,7 +1344,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -1365,11 +1352,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]
@ -1383,11 +1369,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "File identifier to get info about"
}
],
"extended_by": [],
"return_types": [
"File"
]

View File

@ -817,7 +817,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -825,7 +825,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -833,11 +833,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -851,7 +850,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
},
{
@ -859,18 +858,16 @@
"types": [
"InputFile"
],
"required": false,
"optional": true,
"description": "Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details."
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -885,7 +882,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -893,7 +890,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -901,7 +898,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot's message. For the moment, only Telegram for Android supports this."
},
{
@ -909,7 +906,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -917,7 +914,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -927,11 +924,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -946,7 +942,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -955,7 +951,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)"
},
{
@ -963,11 +959,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -982,7 +977,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -991,7 +986,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -999,7 +994,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id)."
},
{
@ -1007,7 +1002,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1017,11 +1012,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1036,7 +1030,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1045,7 +1039,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1053,7 +1047,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of the audio in seconds"
},
{
@ -1061,7 +1055,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Performer"
},
{
@ -1069,7 +1063,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Track name"
},
{
@ -1077,7 +1071,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1087,11 +1081,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1106,7 +1099,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1115,7 +1108,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -1123,7 +1116,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1133,11 +1126,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1152,7 +1144,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1161,7 +1153,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1169,7 +1161,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1179,11 +1171,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1198,7 +1189,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1207,7 +1198,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1215,7 +1206,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1223,7 +1214,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id)."
},
{
@ -1231,7 +1222,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1241,11 +1232,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1260,7 +1250,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1269,7 +1259,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1277,7 +1267,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -1285,7 +1275,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1295,11 +1285,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1314,7 +1303,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1322,7 +1311,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1330,7 +1319,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1338,7 +1327,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1348,11 +1337,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1367,7 +1355,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1375,11 +1363,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -1391,7 +1378,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -1399,7 +1386,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -1407,11 +1394,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]
@ -1425,11 +1411,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "File identifier to get info about"
}
],
"extended_by": [],
"return_types": [
"File"
]

View File

@ -1415,7 +1415,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -1423,7 +1423,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -1431,11 +1431,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -1449,7 +1448,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
},
{
@ -1457,18 +1456,16 @@
"types": [
"InputFile"
],
"required": false,
"optional": true,
"description": "Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details."
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -1483,7 +1480,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1491,7 +1488,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -1499,7 +1496,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot's message."
},
{
@ -1507,7 +1504,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -1515,7 +1512,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1525,11 +1522,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1544,7 +1540,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1553,7 +1549,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)"
},
{
@ -1561,11 +1557,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1580,7 +1575,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1589,7 +1584,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -1597,7 +1592,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id), 0-200 characters."
},
{
@ -1605,7 +1600,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1615,11 +1610,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1634,7 +1628,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1643,7 +1637,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1651,7 +1645,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of the audio in seconds"
},
{
@ -1659,7 +1653,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Performer"
},
{
@ -1667,7 +1661,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Track name"
},
{
@ -1675,7 +1669,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1685,11 +1679,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1704,7 +1697,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1713,7 +1706,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -1721,7 +1714,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1731,11 +1724,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1750,7 +1742,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1759,7 +1751,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1767,7 +1759,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1777,11 +1769,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1796,7 +1787,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1805,7 +1796,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1813,7 +1804,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1821,7 +1812,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id), 0-200 characters."
},
{
@ -1829,7 +1820,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1839,11 +1830,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1858,7 +1848,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1867,7 +1857,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1875,7 +1865,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -1883,7 +1873,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1893,11 +1883,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1912,7 +1901,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1920,7 +1909,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1928,7 +1917,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1936,7 +1925,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1946,11 +1935,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1965,7 +1953,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1973,11 +1961,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -1989,7 +1976,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -1997,7 +1984,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -2005,11 +1992,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]
@ -2023,11 +2009,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "File identifier to get info about"
}
],
"extended_by": [],
"return_types": [
"File"
]
@ -2041,7 +2026,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the answered query"
},
{
@ -2049,7 +2034,7 @@
"types": [
"Array<InlineQueryResult>"
],
"required": true,
"optional": false,
"description": "A JSON-serialized array of results for the inline query"
},
{
@ -2057,7 +2042,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300."
},
{
@ -2065,7 +2050,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query"
},
{
@ -2073,11 +2058,10 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes."
}
],
"extended_by": [],
"return_types": [
"bool"
]

View File

@ -1454,7 +1454,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id."
},
{
@ -1462,7 +1462,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100"
},
{
@ -1470,11 +1470,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -1488,7 +1487,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
},
{
@ -1496,18 +1495,16 @@
"types": [
"InputFile"
],
"required": false,
"optional": true,
"description": "Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details."
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -1522,7 +1519,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1530,7 +1527,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -1538,7 +1535,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message."
},
{
@ -1546,7 +1543,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -1554,7 +1551,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1564,11 +1561,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1583,7 +1579,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1592,7 +1588,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)"
},
{
@ -1600,11 +1596,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1619,7 +1614,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1628,7 +1623,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -1636,7 +1631,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id), 0-200 characters."
},
{
@ -1644,7 +1639,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1654,11 +1649,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1673,7 +1667,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1682,7 +1676,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1690,7 +1684,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of the audio in seconds"
},
{
@ -1698,7 +1692,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Performer"
},
{
@ -1706,7 +1700,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Track name"
},
{
@ -1714,7 +1708,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1724,11 +1718,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1743,7 +1736,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1752,7 +1745,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -1760,7 +1753,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1770,11 +1763,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1789,7 +1781,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1798,7 +1790,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1806,7 +1798,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1816,11 +1808,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1835,7 +1826,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1844,7 +1835,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1852,7 +1843,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1860,7 +1851,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id), 0-200 characters."
},
{
@ -1868,7 +1859,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1878,11 +1869,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1897,7 +1887,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1906,7 +1896,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1914,7 +1904,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -1922,7 +1912,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1932,11 +1922,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1951,7 +1940,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1959,7 +1948,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -1967,7 +1956,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -1975,7 +1964,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1985,11 +1974,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -2004,7 +1992,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -2012,11 +2000,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -2028,7 +2015,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -2036,7 +2023,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -2044,11 +2031,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]
@ -2062,11 +2048,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "File identifier to get info about"
}
],
"extended_by": [],
"return_types": [
"File"
]
@ -2080,7 +2065,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the answered query"
},
{
@ -2088,7 +2073,7 @@
"types": [
"Array<InlineQueryResult>"
],
"required": true,
"optional": false,
"description": "A JSON-serialized array of results for the inline query"
},
{
@ -2096,7 +2081,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300."
},
{
@ -2104,7 +2089,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query"
},
{
@ -2112,11 +2097,10 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes."
}
],
"extended_by": [],
"return_types": [
"bool"
]

View File

@ -1454,7 +1454,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will forgotten."
},
{
@ -1462,7 +1462,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100."
},
{
@ -1470,11 +1470,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling"
}
],
"extended_by": [],
"return_types": [
"Array<Update>"
]
@ -1488,7 +1487,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "HTTPS url to send updates to. Use an empty string to remove webhook integration"
},
{
@ -1496,18 +1495,16 @@
"types": [
"InputFile"
],
"required": false,
"optional": true,
"description": "Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details."
}
],
"extended_by": [],
"return_types": []
},
{
"name": "getMe",
"description": "A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.",
"fields": [],
"extended_by": [],
"return_types": [
"User"
]
@ -1522,7 +1519,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1530,7 +1527,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Text of the message to be sent"
},
{
@ -1538,7 +1535,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message."
},
{
@ -1546,7 +1543,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Disables link previews for links in this message"
},
{
@ -1554,7 +1551,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1562,7 +1559,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1572,11 +1569,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1591,7 +1587,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1600,7 +1596,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)"
},
{
@ -1608,7 +1604,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1616,11 +1612,10 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique message identifier"
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1635,7 +1630,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1644,7 +1639,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data."
},
{
@ -1652,7 +1647,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Photo caption (may also be used when resending photos by file_id), 0-200 characters"
},
{
@ -1660,7 +1655,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1668,7 +1663,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1678,11 +1673,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1697,7 +1691,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1706,7 +1700,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1714,7 +1708,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of the audio in seconds"
},
{
@ -1722,7 +1716,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Performer"
},
{
@ -1730,7 +1724,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Track name"
},
{
@ -1738,7 +1732,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1746,7 +1740,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1756,11 +1750,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1775,7 +1768,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1784,7 +1777,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data."
},
{
@ -1792,7 +1785,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Document caption (may also be used when resending documents by file_id), 0-200 characters"
},
{
@ -1800,7 +1793,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1808,7 +1801,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1818,11 +1811,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1837,7 +1829,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1846,7 +1838,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data."
},
{
@ -1854,7 +1846,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1862,7 +1854,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1872,11 +1864,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1891,7 +1882,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1900,7 +1891,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data."
},
{
@ -1908,7 +1899,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent video in seconds"
},
{
@ -1916,7 +1907,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Video width"
},
{
@ -1924,7 +1915,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Video height"
},
{
@ -1932,7 +1923,7 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Video caption (may also be used when resending videos by file_id), 0-200 characters"
},
{
@ -1940,7 +1931,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -1948,7 +1939,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -1958,11 +1949,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -1977,7 +1967,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -1986,7 +1976,7 @@
"InputFile",
"string"
],
"required": true,
"optional": false,
"description": "Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data."
},
{
@ -1994,7 +1984,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Duration of sent audio in seconds"
},
{
@ -2002,7 +1992,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -2010,7 +2000,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -2020,11 +2010,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -2039,7 +2028,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -2047,7 +2036,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Latitude of location"
},
{
@ -2055,7 +2044,7 @@
"types": [
"float"
],
"required": true,
"optional": false,
"description": "Longitude of location"
},
{
@ -2063,7 +2052,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon."
},
{
@ -2071,7 +2060,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "If the message is a reply, ID of the original message"
},
{
@ -2081,11 +2070,10 @@
"ReplyKeyboardHide",
"ForceReply"
],
"required": false,
"optional": true,
"description": "Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user."
}
],
"extended_by": [],
"return_types": [
"Message"
]
@ -2100,7 +2088,7 @@
"int",
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
@ -2108,11 +2096,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data."
}
],
"extended_by": [],
"return_types": []
},
{
@ -2124,7 +2111,7 @@
"types": [
"int"
],
"required": true,
"optional": false,
"description": "Unique identifier of the target user"
},
{
@ -2132,7 +2119,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Sequential number of the first photo to be returned. By default, all photos are returned."
},
{
@ -2140,11 +2127,10 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100."
}
],
"extended_by": [],
"return_types": [
"UserProfilePhotos"
]
@ -2158,11 +2144,10 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "File identifier to get info about"
}
],
"extended_by": [],
"return_types": [
"File"
]
@ -2176,7 +2161,7 @@
"types": [
"string"
],
"required": true,
"optional": false,
"description": "Unique identifier for the answered query"
},
{
@ -2184,7 +2169,7 @@
"types": [
"Array<InlineQueryResult>"
],
"required": true,
"optional": false,
"description": "A JSON-serialized array of results for the inline query"
},
{
@ -2192,7 +2177,7 @@
"types": [
"int"
],
"required": false,
"optional": true,
"description": "The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300."
},
{
@ -2200,7 +2185,7 @@
"types": [
"bool"
],
"required": false,
"optional": true,
"description": "Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query"
},
{
@ -2208,11 +2193,10 @@
"types": [
"string"
],
"required": false,
"optional": true,
"description": "Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes."
}
],
"extended_by": [],
"return_types": [
"bool"
]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

11041
files/custom/json/v540.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -516,21 +516,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -541,15 +540,13 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -560,25 +557,25 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -586,9 +583,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -599,21 +595,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: from_chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent — User or GroupChat id'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -624,26 +619,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -651,9 +646,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -664,20 +658,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -685,9 +679,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -698,20 +691,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -719,9 +712,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -732,20 +724,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -753,9 +745,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -766,20 +757,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -787,9 +778,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -800,25 +790,25 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -826,9 +816,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -839,15 +828,14 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -857,20 +845,19 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos

View File

@ -516,21 +516,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -541,15 +540,13 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -560,25 +557,25 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -586,9 +583,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -599,21 +595,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: from_chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent — User or GroupChat id'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -624,26 +619,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -651,9 +646,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -664,26 +658,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -691,9 +685,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -704,20 +697,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -725,9 +718,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -738,20 +730,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -759,9 +751,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -772,32 +763,32 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -805,9 +796,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -818,25 +808,25 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -844,9 +834,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -857,15 +846,14 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -875,20 +863,19 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos

View File

@ -563,21 +563,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -588,21 +587,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -613,31 +610,31 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot''s message. For the moment, only Telegram for Android supports this.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -645,9 +642,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -658,21 +654,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: from_chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent — User or GroupChat id'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -683,26 +678,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -710,9 +705,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -723,38 +717,38 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -762,9 +756,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -775,20 +768,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -796,9 +789,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -809,20 +801,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -830,9 +822,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -843,32 +834,32 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -876,9 +867,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -889,26 +879,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -916,9 +906,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -929,25 +918,25 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -955,9 +944,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -968,15 +956,14 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -986,20 +973,19 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos

View File

@ -586,21 +586,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -611,21 +610,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -636,31 +633,31 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot''s message. For the moment, only Telegram for Android supports this.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -668,9 +665,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -681,21 +677,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: from_chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent — User or GroupChat id'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -706,26 +701,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -733,9 +728,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -746,38 +740,38 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -785,9 +779,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -798,20 +791,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -819,9 +812,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -832,20 +824,20 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -853,9 +845,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -866,32 +857,32 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -899,9 +890,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -912,26 +902,26 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -939,9 +929,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -952,25 +941,25 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -978,9 +967,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -991,15 +979,14 @@ methods:
name: chat_id
types:
- int
required: true
optional: false
description: 'Unique identifier for the message recipient — User or GroupChat id'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -1009,21 +996,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -1034,8 +1020,7 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File

View File

@ -609,21 +609,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -634,21 +633,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -660,31 +657,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot''s message. For the moment, only Telegram for Android supports this.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -692,9 +689,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -706,22 +702,21 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -733,26 +728,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -760,9 +755,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -774,38 +768,38 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -813,9 +807,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -827,20 +820,20 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -848,9 +841,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -862,20 +854,20 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -883,9 +875,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -897,32 +888,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id).'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -930,9 +921,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -944,26 +934,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -971,9 +961,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -985,25 +974,25 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1011,9 +1000,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1025,15 +1013,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -1043,21 +1030,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -1068,8 +1054,7 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File

View File

@ -1057,21 +1057,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -1082,21 +1081,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -1108,31 +1105,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown, if you want Telegram apps to show bold, italic and inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1140,9 +1137,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1154,22 +1150,21 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -1181,26 +1176,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id), 0-200 characters.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1208,9 +1203,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1222,38 +1216,38 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1261,9 +1255,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1275,20 +1268,20 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1296,9 +1289,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1310,20 +1302,20 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1331,9 +1323,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1345,32 +1336,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id), 0-200 characters.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1378,9 +1369,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1392,26 +1382,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1419,9 +1409,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1433,25 +1422,25 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1459,9 +1448,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1473,15 +1461,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -1491,21 +1478,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -1516,9 +1502,8 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File
-
@ -1529,32 +1514,31 @@ methods:
name: inline_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the answered query'
-
name: results
types:
- Array<InlineQueryResult>
required: true
optional: false
description: 'A JSON-serialized array of results for the inline query'
-
name: cache_time
types:
- int
required: false
optional: true
description: 'The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.'
-
name: is_personal
types:
- bool
required: false
optional: true
description: 'Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query'
-
name: next_offset
types:
- string
required: false
optional: true
description: 'Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes.'
extended_by: { }
return_types:
- bool

View File

@ -1086,21 +1086,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -1111,21 +1110,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -1137,31 +1134,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1169,9 +1166,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1183,22 +1179,21 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -1210,26 +1205,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id), 0-200 characters.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1237,9 +1232,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1251,38 +1245,38 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1290,9 +1284,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1304,20 +1297,20 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1325,9 +1318,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1339,20 +1331,20 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1360,9 +1352,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1374,32 +1365,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id), 0-200 characters.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1407,9 +1398,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1421,26 +1411,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1448,9 +1438,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1462,25 +1451,25 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1488,9 +1477,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1502,15 +1490,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -1520,21 +1507,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -1545,9 +1531,8 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File
-
@ -1558,32 +1543,31 @@ methods:
name: inline_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the answered query'
-
name: results
types:
- Array<InlineQueryResult>
required: true
optional: false
description: 'A JSON-serialized array of results for the inline query'
-
name: cache_time
types:
- int
required: false
optional: true
description: 'The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.'
-
name: is_personal
types:
- bool
required: false
optional: true
description: 'Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query'
-
name: next_offset
types:
- string
required: false
optional: true
description: 'Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes.'
extended_by: { }
return_types:
- bool

View File

@ -1086,21 +1086,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will forgotten.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -1111,21 +1110,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -1137,37 +1134,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1175,9 +1172,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1189,28 +1185,27 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -1222,32 +1217,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1255,9 +1250,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1269,44 +1263,44 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1314,9 +1308,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1328,32 +1321,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Document caption (may also be used when resending documents by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1361,9 +1354,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1375,26 +1367,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1402,9 +1394,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1416,50 +1407,50 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: width
types:
- int
required: false
optional: true
description: 'Video width'
-
name: height
types:
- int
required: false
optional: true
description: 'Video height'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1467,9 +1458,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1481,32 +1471,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1514,9 +1504,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1528,31 +1517,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -1560,9 +1549,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -1574,15 +1562,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -1592,21 +1579,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -1617,9 +1603,8 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File
-
@ -1630,32 +1615,31 @@ methods:
name: inline_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the answered query'
-
name: results
types:
- Array<InlineQueryResult>
required: true
optional: false
description: 'A JSON-serialized array of results for the inline query'
-
name: cache_time
types:
- int
required: false
optional: true
description: 'The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.'
-
name: is_personal
types:
- bool
required: false
optional: true
description: 'Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query'
-
name: next_offset
types:
- string
required: false
optional: true
description: 'Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes.'
extended_by: { }
return_types:
- bool

View File

@ -2129,21 +2129,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will forgotten.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -2154,21 +2153,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -2180,37 +2177,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2219,9 +2216,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2233,28 +2229,27 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -2266,32 +2261,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2300,9 +2295,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2314,44 +2308,44 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2360,9 +2354,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2374,32 +2367,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Document caption (may also be used when resending documents by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2408,9 +2401,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2422,26 +2414,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2450,9 +2442,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2464,50 +2455,50 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: width
types:
- int
required: false
optional: true
description: 'Video width'
-
name: height
types:
- int
required: false
optional: true
description: 'Video height'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2516,9 +2507,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2530,32 +2520,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2564,9 +2554,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2578,31 +2567,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2611,9 +2600,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2625,49 +2613,49 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of the venue'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of the venue'
-
name: title
types:
- string
required: true
optional: false
description: 'Name of the venue'
-
name: address
types:
- string
required: true
optional: false
description: 'Address of the venue'
-
name: foursquare_id
types:
- string
required: false
optional: true
description: 'Foursquare identifier of the venue'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2676,9 +2664,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2690,37 +2677,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: phone_number
types:
- string
required: true
optional: false
description: 'Contact''s phone number'
-
name: first_name
types:
- string
required: true
optional: false
description: 'Contact''s first name'
-
name: last_name
types:
- string
required: false
optional: true
description: 'Contact''s last name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2729,9 +2716,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2743,15 +2729,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -2761,21 +2746,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -2786,9 +2770,8 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File
-
@ -2800,15 +2783,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target group or username of the target supergroup (in the format @supergroupusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- bool
-
@ -2820,15 +2802,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target group or username of the target supergroup (in the format @supergroupusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- bool
-
@ -2839,21 +2820,20 @@ methods:
name: callback_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the query to be answered'
-
name: text
types:
- string
required: false
optional: true
description: 'Text of the notification. If not specified, nothing will be shown to the user'
-
name: show_alert
types:
- bool
required: false
optional: true
description: 'If true, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to false.'
extended_by: { }
return_types:
- bool
-
@ -2865,45 +2845,44 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: text
types:
- string
required: true
optional: false
description: 'New text of the message'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
-
@ -2915,33 +2894,32 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: caption
types:
- string
required: false
optional: true
description: 'New caption of the message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
-
@ -2953,27 +2931,26 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
-
@ -2984,44 +2961,43 @@ methods:
name: inline_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the answered query'
-
name: results
types:
- Array<InlineQueryResult>
required: true
optional: false
description: 'A JSON-serialized array of results for the inline query'
-
name: cache_time
types:
- int
required: false
optional: true
description: 'The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.'
-
name: is_personal
types:
- bool
required: false
optional: true
description: 'Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query'
-
name: next_offset
types:
- string
required: false
optional: true
description: 'Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes.'
-
name: switch_pm_text
types:
- string
required: false
optional: true
description: 'If passed, clients will display a button with specified text that switches the user to a private chat with the bot and sends the bot a start message with the parameter switch_pm_parameter'
-
name: switch_pm_parameter
types:
- string
required: false
optional: true
description: 'Parameter for the start message sent to the bot when user presses the switch buttonExample: An inline bot that sends YouTube videos can ask the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it displays a Connect your YouTube account button above the results, or even before showing any. The user presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that instructs the bot to return an oauth link. Once done, the bot can offer a switch_inline button so that the user can easily return to the chat where they wanted to use the bot''s inline capabilities.'
extended_by: { }
return_types:
- bool

View File

@ -2176,21 +2176,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will forgotten.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -2201,21 +2200,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -2227,37 +2224,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2266,9 +2263,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2280,28 +2276,27 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -2313,32 +2308,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2347,9 +2342,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2361,44 +2355,44 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2407,9 +2401,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2421,32 +2414,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Document caption (may also be used when resending documents by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2455,9 +2448,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2469,26 +2461,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2497,9 +2489,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2511,50 +2502,50 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: width
types:
- int
required: false
optional: true
description: 'Video width'
-
name: height
types:
- int
required: false
optional: true
description: 'Video height'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2563,9 +2554,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2577,32 +2567,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2611,9 +2601,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2625,31 +2614,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2658,9 +2647,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2672,49 +2660,49 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of the venue'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of the venue'
-
name: title
types:
- string
required: true
optional: false
description: 'Name of the venue'
-
name: address
types:
- string
required: true
optional: false
description: 'Address of the venue'
-
name: foursquare_id
types:
- string
required: false
optional: true
description: 'Foursquare identifier of the venue'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2723,9 +2711,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2737,37 +2724,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: phone_number
types:
- string
required: true
optional: false
description: 'Contact''s phone number'
-
name: first_name
types:
- string
required: true
optional: false
description: 'Contact''s first name'
-
name: last_name
types:
- string
required: false
optional: true
description: 'Contact''s last name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2776,9 +2763,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2790,15 +2776,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -2808,21 +2793,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -2833,9 +2817,8 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File
-
@ -2847,15 +2830,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target group or username of the target supergroup (in the format @supergroupusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- bool
-
@ -2867,9 +2849,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- bool
-
@ -2881,15 +2862,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target group or username of the target supergroup (in the format @supergroupusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- bool
-
@ -2901,9 +2881,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- Chat
-
@ -2915,9 +2894,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- Array<ChatMember>
-
@ -2929,9 +2907,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- int
-
@ -2943,15 +2920,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- ChatMember
-
@ -2962,21 +2938,20 @@ methods:
name: callback_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the query to be answered'
-
name: text
types:
- string
required: false
optional: true
description: 'Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters'
-
name: show_alert
types:
- bool
required: false
optional: true
description: 'If true, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to false.'
extended_by: { }
return_types:
- bool
-
@ -2988,45 +2963,44 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: text
types:
- string
required: true
optional: false
description: 'New text of the message'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
- bool
@ -3039,33 +3013,32 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: caption
types:
- string
required: false
optional: true
description: 'New caption of the message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
- bool
@ -3078,27 +3051,26 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
- bool
@ -3110,44 +3082,43 @@ methods:
name: inline_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the answered query'
-
name: results
types:
- Array<InlineQueryResult>
required: true
optional: false
description: 'A JSON-serialized array of results for the inline query'
-
name: cache_time
types:
- int
required: false
optional: true
description: 'The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.'
-
name: is_personal
types:
- bool
required: false
optional: true
description: 'Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query'
-
name: next_offset
types:
- string
required: false
optional: true
description: 'Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes.'
-
name: switch_pm_text
types:
- string
required: false
optional: true
description: 'If passed, clients will display a button with specified text that switches the user to a private chat with the bot and sends the bot a start message with the parameter switch_pm_parameter'
-
name: switch_pm_parameter
types:
- string
required: false
optional: true
description: 'Parameter for the start message sent to the bot when user presses the switch buttonExample: An inline bot that sends YouTube videos can ask the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it displays a Connect your YouTube account button above the results, or even before showing any. The user presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that instructs the bot to return an oauth link. Once done, the bot can offer a switch_inline button so that the user can easily return to the chat where they wanted to use the bot''s inline capabilities.'
extended_by: { }
return_types:
- bool

View File

@ -2176,21 +2176,20 @@ methods:
name: offset
types:
- int
required: false
optional: true
description: 'Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will forgotten.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of updates to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
-
name: timeout
types:
- int
required: false
optional: true
description: 'Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling'
extended_by: { }
return_types:
- Array<Update>
-
@ -2201,21 +2200,19 @@ methods:
name: url
types:
- string
required: false
optional: true
description: 'HTTPS url to send updates to. Use an empty string to remove webhook integration'
-
name: certificate
types:
- InputFile
required: false
optional: true
description: 'Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.'
extended_by: { }
return_types: { }
-
name: getMe
description: 'A simple method for testing your bot''s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.'
fields: { }
extended_by: { }
return_types:
- User
-
@ -2227,37 +2224,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: text
types:
- string
required: true
optional: false
description: 'Text of the message to be sent'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2266,9 +2263,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2280,28 +2276,27 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: from_chat_id
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: message_id
types:
- int
required: true
optional: false
description: 'Unique message identifier'
extended_by: { }
return_types:
- Message
-
@ -2313,32 +2308,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: photo
types:
- InputFile
- string
required: true
optional: false
description: 'Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload a new photo using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Photo caption (may also be used when resending photos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2347,9 +2342,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2361,44 +2355,44 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: audio
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of the audio in seconds'
-
name: performer
types:
- string
required: false
optional: true
description: Performer
-
name: title
types:
- string
required: false
optional: true
description: 'Track name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2407,9 +2401,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2421,32 +2414,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: document
types:
- InputFile
- string
required: true
optional: false
description: 'File to send. You can either pass a file_id as String to resend a file that is already on the Telegram servers, or upload a new file using multipart/form-data.'
-
name: caption
types:
- string
required: false
optional: true
description: 'Document caption (may also be used when resending documents by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2455,9 +2448,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2469,26 +2461,26 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: sticker
types:
- InputFile
- string
required: true
optional: false
description: 'Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2497,9 +2489,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2511,50 +2502,50 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: video
types:
- InputFile
- string
required: true
optional: false
description: 'Video to send. You can either pass a file_id as String to resend a video that is already on the Telegram servers, or upload a new video file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent video in seconds'
-
name: width
types:
- int
required: false
optional: true
description: 'Video width'
-
name: height
types:
- int
required: false
optional: true
description: 'Video height'
-
name: caption
types:
- string
required: false
optional: true
description: 'Video caption (may also be used when resending videos by file_id), 0-200 characters'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2563,9 +2554,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2577,32 +2567,32 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: voice
types:
- InputFile
- string
required: true
optional: false
description: 'Audio file to send. You can either pass a file_id as String to resend an audio that is already on the Telegram servers, or upload a new audio file using multipart/form-data.'
-
name: duration
types:
- int
required: false
optional: true
description: 'Duration of sent audio in seconds'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2611,9 +2601,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2625,31 +2614,31 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of location'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of location'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2658,9 +2647,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2672,49 +2660,49 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: latitude
types:
- float
required: true
optional: false
description: 'Latitude of the venue'
-
name: longitude
types:
- float
required: true
optional: false
description: 'Longitude of the venue'
-
name: title
types:
- string
required: true
optional: false
description: 'Name of the venue'
-
name: address
types:
- string
required: true
optional: false
description: 'Address of the venue'
-
name: foursquare_id
types:
- string
required: false
optional: true
description: 'Foursquare identifier of the venue'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2723,9 +2711,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2737,37 +2724,37 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: phone_number
types:
- string
required: true
optional: false
description: 'Contact''s phone number'
-
name: first_name
types:
- string
required: true
optional: false
description: 'Contact''s first name'
-
name: last_name
types:
- string
required: false
optional: true
description: 'Contact''s last name'
-
name: disable_notification
types:
- bool
required: false
optional: true
description: 'Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.'
-
name: reply_to_message_id
types:
- int
required: false
optional: true
description: 'If the message is a reply, ID of the original message'
-
name: reply_markup
@ -2776,9 +2763,8 @@ methods:
- ReplyKeyboardMarkup
- ReplyKeyboardHide
- ForceReply
required: false
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide keyboard or to force a reply from the user.'
extended_by: { }
return_types:
- Message
-
@ -2790,15 +2776,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: action
types:
- string
required: true
optional: false
description: 'Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.'
extended_by: { }
return_types: { }
-
name: getUserProfilePhotos
@ -2808,21 +2793,20 @@ methods:
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
-
name: offset
types:
- int
required: false
optional: true
description: 'Sequential number of the first photo to be returned. By default, all photos are returned.'
-
name: limit
types:
- int
required: false
optional: true
description: 'Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.'
extended_by: { }
return_types:
- UserProfilePhotos
-
@ -2833,9 +2817,8 @@ methods:
name: file_id
types:
- string
required: true
optional: false
description: 'File identifier to get info about'
extended_by: { }
return_types:
- File
-
@ -2847,15 +2830,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target group or username of the target supergroup (in the format @supergroupusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- bool
-
@ -2867,9 +2849,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- bool
-
@ -2881,15 +2862,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target group or username of the target supergroup (in the format @supergroupusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- bool
-
@ -2901,9 +2881,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- Chat
-
@ -2915,9 +2894,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- Array<ChatMember>
-
@ -2929,9 +2907,8 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
extended_by: { }
return_types:
- int
-
@ -2943,15 +2920,14 @@ methods:
types:
- int
- string
required: true
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)'
-
name: user_id
types:
- int
required: true
optional: false
description: 'Unique identifier of the target user'
extended_by: { }
return_types:
- ChatMember
-
@ -2962,21 +2938,20 @@ methods:
name: callback_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the query to be answered'
-
name: text
types:
- string
required: false
optional: true
description: 'Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters'
-
name: show_alert
types:
- bool
required: false
optional: true
description: 'If true, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to false.'
extended_by: { }
return_types:
- bool
-
@ -2988,45 +2963,44 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: text
types:
- string
required: true
optional: false
description: 'New text of the message'
-
name: parse_mode
types:
- string
required: false
optional: true
description: 'Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot''s message.'
-
name: disable_web_page_preview
types:
- bool
required: false
optional: true
description: 'Disables link previews for links in this message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
- bool
@ -3039,33 +3013,32 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: caption
types:
- string
required: false
optional: true
description: 'New caption of the message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
- bool
@ -3078,27 +3051,26 @@ methods:
types:
- int
- string
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_id
types:
- int
required: false
optional: true
description: 'Required if inline_message_id is not specified. Unique identifier of the sent message'
-
name: inline_message_id
types:
- string
required: false
optional: true
description: 'Required if chat_id and message_id are not specified. Identifier of the inline message'
-
name: reply_markup
types:
- InlineKeyboardMarkup
required: false
optional: true
description: 'A JSON-serialized object for an inline keyboard.'
extended_by: { }
return_types:
- Message
- bool
@ -3110,44 +3082,43 @@ methods:
name: inline_query_id
types:
- string
required: true
optional: false
description: 'Unique identifier for the answered query'
-
name: results
types:
- Array<InlineQueryResult>
required: true
optional: false
description: 'A JSON-serialized array of results for the inline query'
-
name: cache_time
types:
- int
required: false
optional: true
description: 'The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.'
-
name: is_personal
types:
- bool
required: false
optional: true
description: 'Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query'
-
name: next_offset
types:
- string
required: false
optional: true
description: 'Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you dont support pagination. Offset length cant exceed 64 bytes.'
-
name: switch_pm_text
types:
- string
required: false
optional: true
description: 'If passed, clients will display a button with specified text that switches the user to a private chat with the bot and sends the bot a start message with the parameter switch_pm_parameter'
-
name: switch_pm_parameter
types:
- string
required: false
optional: true
description: 'Parameter for the start message sent to the bot when user presses the switch buttonExample: An inline bot that sends YouTube videos can ask the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it displays a Connect your YouTube account button above the results, or even before showing any. The user presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that instructs the bot to return an oauth link. Once done, the bot can offer a switch_inline button so that the user can easily return to the chat where they wanted to use the bot''s inline capabilities.'
extended_by: { }
return_types:
- bool

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

8238
files/custom/yaml/v540.yaml Normal file

File diff suppressed because it is too large Load Diff

2406
files/openapi/json/v100.json Normal file

File diff suppressed because it is too large Load Diff

2430
files/openapi/json/v110.json Normal file

File diff suppressed because it is too large Load Diff

2684
files/openapi/json/v140.json Normal file

File diff suppressed because it is too large Load Diff

2799
files/openapi/json/v150.json Normal file

File diff suppressed because it is too large Load Diff

3034
files/openapi/json/v160.json Normal file

File diff suppressed because it is too large Load Diff

3478
files/openapi/json/v180.json Normal file

File diff suppressed because it is too large Load Diff

3501
files/openapi/json/v182.json Normal file

File diff suppressed because it is too large Load Diff

3609
files/openapi/json/v183.json Normal file

File diff suppressed because it is too large Load Diff

5768
files/openapi/json/v200.json Normal file

File diff suppressed because it is too large Load Diff

6425
files/openapi/json/v210.json Normal file

File diff suppressed because it is too large Load Diff

6425
files/openapi/json/v211.json Normal file

File diff suppressed because it is too large Load Diff

7218
files/openapi/json/v220.json Normal file

File diff suppressed because it is too large Load Diff

7208
files/openapi/json/v230.json Normal file

File diff suppressed because it is too large Load Diff

7281
files/openapi/json/v231.json Normal file

File diff suppressed because it is too large Load Diff

8466
files/openapi/json/v300.json Normal file

File diff suppressed because it is too large Load Diff

9796
files/openapi/json/v310.json Normal file

File diff suppressed because it is too large Load Diff

10615
files/openapi/json/v320.json Normal file

File diff suppressed because it is too large Load Diff

10625
files/openapi/json/v330.json Normal file

File diff suppressed because it is too large Load Diff

11445
files/openapi/json/v350.json Normal file

File diff suppressed because it is too large Load Diff

11580
files/openapi/json/v360.json Normal file

File diff suppressed because it is too large Load Diff

12753
files/openapi/json/v400.json Normal file

File diff suppressed because it is too large Load Diff

12847
files/openapi/json/v410.json Normal file

File diff suppressed because it is too large Load Diff

13258
files/openapi/json/v420.json Normal file

File diff suppressed because it is too large Load Diff

13286
files/openapi/json/v430.json Normal file

File diff suppressed because it is too large Load Diff

13432
files/openapi/json/v440.json Normal file

File diff suppressed because it is too large Load Diff

13628
files/openapi/json/v450.json Normal file

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More