This commit is contained in:
sys-001 2022-04-16 14:32:51 +00:00
parent 8a33922271
commit d86ddbd07e
5 changed files with 2488 additions and 311 deletions

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

View File

@ -3,7 +3,7 @@
"name": "Telegram Bot API",
"description": "Auto-generated Postman collection by TGScraper.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"version": "5.7.0"
"version": "6.0.0"
},
"variable": {
"key": "token",
@ -29,7 +29,8 @@
"key": "limit",
"disabled": true,
"description": "Optional. Limits the number of updates to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
"type": "text"
"type": "text",
"value": "100"
},
{
"key": "timeout",
@ -90,7 +91,8 @@
"key": "max_connections",
"disabled": true,
"description": "Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100. Defaults to 40. Use lower values to limit the load on your bot's server, and higher values to increase your bot's throughput.",
"type": "text"
"type": "text",
"value": "40"
},
{
"key": "allowed_updates",
@ -1680,13 +1682,15 @@
"key": "is_anonymous",
"disabled": true,
"description": "Optional. True, if the poll needs to be anonymous, defaults to True",
"type": "text"
"type": "text",
"value": "1"
},
{
"key": "type",
"disabled": true,
"description": "Optional. Poll type, “quiz” or “regular”, defaults to “regular”",
"type": "text"
"type": "text",
"value": "regular"
},
{
"key": "allows_multiple_answers",
@ -1800,8 +1804,9 @@
{
"key": "emoji",
"disabled": true,
"description": "Optional. Emoji on which the dice throw animation is based. Currently, must be one of “”, “”, “”, “”, “”, or “”. Dice can have values 1-6 for “”, “” and “”, values 1-5 for “” and “”, and values 1-64 for “”. Defaults to “”",
"type": "text"
"description": "Optional. Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, “🏀”, “⚽”, “🎳”, or “🎰”. Dice can have values 1-6 for “🎲”, “🎯” and “🎳”, values 1-5 for “🏀” and “⚽”, and values 1-64 for “🎰”. Defaults to “🎲”",
"type": "text",
"value": "🎲"
},
{
"key": "disable_notification",
@ -1911,7 +1916,8 @@
"key": "limit",
"disabled": true,
"description": "Optional. Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
"type": "text"
"type": "text",
"value": "100"
}
]
},
@ -2153,9 +2159,9 @@
"type": "text"
},
{
"key": "can_manage_voice_chats",
"key": "can_manage_video_chats",
"disabled": true,
"description": "Optional. Pass True, if the administrator can manage voice chats",
"description": "Optional. Pass True, if the administrator can manage video chats",
"type": "text"
},
{
@ -3172,7 +3178,8 @@
"key": "scope",
"disabled": true,
"description": "Optional. A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.",
"type": "text"
"type": "text",
"value": "BotCommandScopeDefault"
},
{
"key": "language_code",
@ -3209,7 +3216,8 @@
"key": "scope",
"disabled": true,
"description": "Optional. A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.",
"type": "text"
"type": "text",
"value": "BotCommandScopeDefault"
},
{
"key": "language_code",
@ -3246,7 +3254,8 @@
"key": "scope",
"disabled": true,
"description": "Optional. A JSON-serialized object, describing scope of users. Defaults to BotCommandScopeDefault.",
"type": "text"
"type": "text",
"value": "BotCommandScopeDefault"
},
{
"key": "language_code",
@ -3272,6 +3281,143 @@
"description": "Use this method to get the current list of the bot's commands for the given scope and user language. Returns Array of BotCommand on success. If commands aren't set, an empty list is returned."
}
},
{
"name": "setChatMenuButton",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": true,
"description": "Optional. Unique identifier for the target private chat. If not specified, default bot's menu button will be changed",
"type": "text"
},
{
"key": "menu_button",
"disabled": true,
"description": "Optional. A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault",
"type": "text",
"value": "MenuButtonDefault"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/setChatMenuButton",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"setChatMenuButton"
]
},
"description": "Use this method to change the bot's menu button in a private chat, or the default menu button. Returns True on success."
}
},
{
"name": "getChatMenuButton",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": true,
"description": "Optional. Unique identifier for the target private chat. If not specified, default bot's menu button will be returned",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/getChatMenuButton",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"getChatMenuButton"
]
},
"description": "Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success."
}
},
{
"name": "setMyDefaultAdministratorRights",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "rights",
"disabled": true,
"description": "Optional. A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared.",
"type": "text"
},
{
"key": "for_channels",
"disabled": true,
"description": "Optional. Pass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed.",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/setMyDefaultAdministratorRights",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"setMyDefaultAdministratorRights"
]
},
"description": "Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are are free to modify the list before adding the bot. Returns True on success."
}
},
{
"name": "getMyDefaultAdministratorRights",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "for_channels",
"disabled": true,
"description": "Optional. Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned.",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/getMyDefaultAdministratorRights",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"getMyDefaultAdministratorRights"
]
},
"description": "Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success."
}
},
{
"name": "editMessageText",
"request": {
@ -3747,7 +3893,7 @@
{
"key": "name",
"disabled": false,
"description": "Required. Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in “_by_<bot username>”. <bot_username> is case insensitive. 1-64 characters.",
"description": "Required. Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in \"_by_<bot_username>\". <bot_username> is case insensitive. 1-64 characters.",
"type": "text"
},
{
@ -4011,7 +4157,8 @@
"key": "cache_time",
"disabled": true,
"description": "Optional. The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.",
"type": "text"
"type": "text",
"value": "300"
},
{
"key": "is_personal",
@ -4055,6 +4202,43 @@
"description": "Use this method to send answers to an inline query. On success, True is returned.No more than 50 results per query are allowed."
}
},
{
"name": "answerWebAppQuery",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "web_app_query_id",
"disabled": false,
"description": "Required. Unique identifier for the query to be answered",
"type": "text"
},
{
"key": "result",
"disabled": false,
"description": "Required. A JSON-serialized object describing the message to be sent",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/answerWebAppQuery",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"answerWebAppQuery"
]
},
"description": "Use this method to set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated. On success, a SentWebAppMessage object is returned."
}
},
{
"name": "sendInvoice",
"request": {