mirror of
https://github.com/Sysbot-org/tgscraper.git
synced 2024-11-26 21:46:47 +01:00
deploy: 9d0cdff59b
This commit is contained in:
parent
b4484663b5
commit
ed594e537f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"info": {
|
||||
"title": "Telegram Bot API",
|
||||
"description": "Auto-generated OpenAPI schema by TGScraper.",
|
||||
"version": "7.2.0"
|
||||
"version": "7.3.0"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
@ -357,6 +357,46 @@
|
||||
"is_forum": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChatFullInfo": {
|
||||
"description": "This object contains full information about a chat.",
|
||||
"required": [
|
||||
"id",
|
||||
"type",
|
||||
"accent_color_id",
|
||||
"max_reaction_count"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"first_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_forum": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"accent_color_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"max_reaction_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"photo": {
|
||||
"$ref": "#/components/schemas/ChatPhoto"
|
||||
@ -388,9 +428,6 @@
|
||||
"$ref": "#/components/schemas/ReactionType"
|
||||
}
|
||||
},
|
||||
"accent_color_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"background_custom_emoji_id": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -705,6 +742,9 @@
|
||||
"boost_added": {
|
||||
"$ref": "#/components/schemas/ChatBoostAdded"
|
||||
},
|
||||
"chat_background_set": {
|
||||
"$ref": "#/components/schemas/ChatBackground"
|
||||
},
|
||||
"forum_topic_created": {
|
||||
"$ref": "#/components/schemas/ForumTopicCreated"
|
||||
},
|
||||
@ -1382,12 +1422,39 @@
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"text_entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MessageEntity"
|
||||
}
|
||||
},
|
||||
"voter_count": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"InputPollOption": {
|
||||
"description": "This object contains information about one answer option in a poll to send.",
|
||||
"required": [
|
||||
"text"
|
||||
],
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"text_parse_mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"text_entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MessageEntity"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PollAnswer": {
|
||||
"description": "This object represents an answer of a user in a non-anonymous poll.",
|
||||
"required": [
|
||||
@ -1432,6 +1499,12 @@
|
||||
"question": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MessageEntity"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@ -1594,6 +1667,204 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundFill": {
|
||||
"description": "This object describes the way a background is filled based on the selected colors. Currently, it can be one of",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundFillSolid"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundFillGradient"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundFillFreeformGradient"
|
||||
}
|
||||
]
|
||||
},
|
||||
"BackgroundFillSolid": {
|
||||
"description": "The background is filled using the selected color.",
|
||||
"required": [
|
||||
"type",
|
||||
"color"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"color": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundFillGradient": {
|
||||
"description": "The background is a gradient fill.",
|
||||
"required": [
|
||||
"type",
|
||||
"top_color",
|
||||
"bottom_color",
|
||||
"rotation_angle"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"top_color": {
|
||||
"type": "integer"
|
||||
},
|
||||
"bottom_color": {
|
||||
"type": "integer"
|
||||
},
|
||||
"rotation_angle": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundFillFreeformGradient": {
|
||||
"description": "The background is a freeform gradient that rotates after every message in the chat.",
|
||||
"required": [
|
||||
"type",
|
||||
"colors"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"colors": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundType": {
|
||||
"description": "This object describes the type of a background. Currently, it can be one of",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundTypeFill"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundTypeWallpaper"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundTypePattern"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/BackgroundTypeChatTheme"
|
||||
}
|
||||
]
|
||||
},
|
||||
"BackgroundTypeFill": {
|
||||
"description": "The background is automatically filled based on the selected colors.",
|
||||
"required": [
|
||||
"type",
|
||||
"fill",
|
||||
"dark_theme_dimming"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"fill": {
|
||||
"$ref": "#/components/schemas/BackgroundFill"
|
||||
},
|
||||
"dark_theme_dimming": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundTypeWallpaper": {
|
||||
"description": "The background is a wallpaper in the JPEG format.",
|
||||
"required": [
|
||||
"type",
|
||||
"document",
|
||||
"dark_theme_dimming"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"document": {
|
||||
"$ref": "#/components/schemas/Document"
|
||||
},
|
||||
"dark_theme_dimming": {
|
||||
"type": "integer"
|
||||
},
|
||||
"is_blurred": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"is_moving": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundTypePattern": {
|
||||
"description": "The background is a PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.",
|
||||
"required": [
|
||||
"type",
|
||||
"document",
|
||||
"fill",
|
||||
"intensity"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"document": {
|
||||
"$ref": "#/components/schemas/Document"
|
||||
},
|
||||
"fill": {
|
||||
"$ref": "#/components/schemas/BackgroundFill"
|
||||
},
|
||||
"intensity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"is_inverted": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"is_moving": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BackgroundTypeChatTheme": {
|
||||
"description": "The background is taken directly from a built-in chat theme.",
|
||||
"required": [
|
||||
"type",
|
||||
"theme_name"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"theme_name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChatBackground": {
|
||||
"description": "This object represents a chat background.",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"$ref": "#/components/schemas/BackgroundType"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ForumTopicCreated": {
|
||||
"description": "This object represents a service message about a new forum topic created in the chat.",
|
||||
"required": [
|
||||
@ -1642,7 +1913,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"SharedUser": {
|
||||
"description": "This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUser button.",
|
||||
"description": "This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button.",
|
||||
"required": [
|
||||
"user_id"
|
||||
],
|
||||
@ -1967,7 +2238,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"ReplyKeyboardMarkup": {
|
||||
"description": "This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).",
|
||||
"description": "This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). Not supported in channels and for messages sent on behalf of a Telegram Business account.",
|
||||
"required": [
|
||||
"keyboard"
|
||||
],
|
||||
@ -2061,7 +2332,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"KeyboardButtonRequestChat": {
|
||||
"description": "This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the сhat if appropriate More about requesting chats »",
|
||||
"description": "This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats ».",
|
||||
"required": [
|
||||
"request_id",
|
||||
"chat_is_channel"
|
||||
@ -2113,7 +2384,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"ReplyKeyboardRemove": {
|
||||
"description": "Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup).",
|
||||
"description": "Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup). Not supported in channels and for messages sent on behalf of a Telegram Business account.",
|
||||
"required": [
|
||||
"remove_keyboard"
|
||||
],
|
||||
@ -2260,7 +2531,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"ForceReply": {
|
||||
"description": "Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode.",
|
||||
"description": "Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a Telegram Business account.",
|
||||
"required": [
|
||||
"force_reply"
|
||||
],
|
||||
@ -2434,6 +2705,9 @@
|
||||
"invite_link": {
|
||||
"$ref": "#/components/schemas/ChatInviteLink"
|
||||
},
|
||||
"via_join_request": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"via_chat_folder_invite_link": {
|
||||
"type": "boolean"
|
||||
}
|
||||
@ -2776,7 +3050,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Birthdate": {
|
||||
"description": "",
|
||||
"description": "Describes the birthdate of a user.",
|
||||
"required": [
|
||||
"day",
|
||||
"month"
|
||||
@ -2795,7 +3069,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"BusinessIntro": {
|
||||
"description": "",
|
||||
"description": "Contains information about the start page settings of a Telegram Business account.",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
@ -2810,7 +3084,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"BusinessLocation": {
|
||||
"description": "",
|
||||
"description": "Contains information about the location of a Telegram Business account.",
|
||||
"required": [
|
||||
"address"
|
||||
],
|
||||
@ -2825,7 +3099,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"BusinessOpeningHoursInterval": {
|
||||
"description": "",
|
||||
"description": "Describes an interval of time during which a business is open.",
|
||||
"required": [
|
||||
"opening_minute",
|
||||
"closing_minute"
|
||||
@ -2841,7 +3115,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"BusinessOpeningHours": {
|
||||
"description": "",
|
||||
"description": "Describes the opening hours of a business.",
|
||||
"required": [
|
||||
"time_zone_name",
|
||||
"opening_hours"
|
||||
@ -9327,7 +9601,7 @@
|
||||
}
|
||||
},
|
||||
"/sendVoice": {
|
||||
"description": "Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.",
|
||||
"description": "Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.",
|
||||
"post": {
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
@ -10981,10 +11255,19 @@
|
||||
"question": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_parse_mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MessageEntity"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/components/schemas/InputPollOption"
|
||||
}
|
||||
},
|
||||
"is_anonymous": {
|
||||
@ -11078,10 +11361,19 @@
|
||||
"question": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_parse_mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MessageEntity"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/components/schemas/InputPollOption"
|
||||
}
|
||||
},
|
||||
"is_anonymous": {
|
||||
@ -11175,10 +11467,19 @@
|
||||
"question": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_parse_mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"question_entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MessageEntity"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/components/schemas/InputPollOption"
|
||||
}
|
||||
},
|
||||
"is_anonymous": {
|
||||
@ -15133,7 +15434,7 @@
|
||||
}
|
||||
},
|
||||
"/getChat": {
|
||||
"description": "Use this method to get up to date information about the chat. Returns a Chat object on success.",
|
||||
"description": "Use this method to get up-to-date information about the chat. Returns a ChatFullInfo object on success.",
|
||||
"post": {
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
@ -15214,7 +15515,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result": {
|
||||
"$ref": "#/components/schemas/Chat"
|
||||
"$ref": "#/components/schemas/ChatFullInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -19652,6 +19953,9 @@
|
||||
"longitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"live_period": {
|
||||
"type": "integer"
|
||||
},
|
||||
"horizontal_accuracy": {
|
||||
"type": "number"
|
||||
},
|
||||
@ -19697,6 +20001,9 @@
|
||||
"longitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"live_period": {
|
||||
"type": "integer"
|
||||
},
|
||||
"horizontal_accuracy": {
|
||||
"type": "number"
|
||||
},
|
||||
@ -19742,6 +20049,9 @@
|
||||
"longitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"live_period": {
|
||||
"type": "integer"
|
||||
},
|
||||
"horizontal_accuracy": {
|
||||
"type": "number"
|
||||
},
|
||||
|
@ -2,7 +2,7 @@ openapi: 3.0.0
|
||||
info:
|
||||
title: 'Telegram Bot API'
|
||||
description: 'Auto-generated OpenAPI schema by TGScraper.'
|
||||
version: 7.2.0
|
||||
version: 7.3.0
|
||||
servers:
|
||||
-
|
||||
url: 'https://api.telegram.org/bot{token}'
|
||||
@ -236,6 +236,34 @@ components:
|
||||
is_forum:
|
||||
type: boolean
|
||||
default: true
|
||||
type: object
|
||||
ChatFullInfo:
|
||||
description: 'This object contains full information about a chat.'
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
- accent_color_id
|
||||
- max_reaction_count
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
type:
|
||||
type: string
|
||||
title:
|
||||
type: string
|
||||
username:
|
||||
type: string
|
||||
first_name:
|
||||
type: string
|
||||
last_name:
|
||||
type: string
|
||||
is_forum:
|
||||
type: boolean
|
||||
default: true
|
||||
accent_color_id:
|
||||
type: integer
|
||||
max_reaction_count:
|
||||
type: integer
|
||||
photo:
|
||||
$ref: '#/components/schemas/ChatPhoto'
|
||||
active_usernames:
|
||||
@ -256,8 +284,6 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ReactionType'
|
||||
accent_color_id:
|
||||
type: integer
|
||||
background_custom_emoji_id:
|
||||
type: string
|
||||
profile_accent_color_id:
|
||||
@ -474,6 +500,8 @@ components:
|
||||
$ref: '#/components/schemas/ProximityAlertTriggered'
|
||||
boost_added:
|
||||
$ref: '#/components/schemas/ChatBoostAdded'
|
||||
chat_background_set:
|
||||
$ref: '#/components/schemas/ChatBackground'
|
||||
forum_topic_created:
|
||||
$ref: '#/components/schemas/ForumTopicCreated'
|
||||
forum_topic_edited:
|
||||
@ -937,9 +965,27 @@ components:
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
text_entities:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MessageEntity'
|
||||
voter_count:
|
||||
type: integer
|
||||
type: object
|
||||
InputPollOption:
|
||||
description: 'This object contains information about one answer option in a poll to send.'
|
||||
required:
|
||||
- text
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
text_parse_mode:
|
||||
type: string
|
||||
text_entities:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MessageEntity'
|
||||
type: object
|
||||
PollAnswer:
|
||||
description: 'This object represents an answer of a user in a non-anonymous poll.'
|
||||
required:
|
||||
@ -973,6 +1019,10 @@ components:
|
||||
type: string
|
||||
question:
|
||||
type: string
|
||||
question_entities:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MessageEntity'
|
||||
options:
|
||||
type: array
|
||||
items:
|
||||
@ -1082,6 +1132,143 @@ components:
|
||||
boost_count:
|
||||
type: integer
|
||||
type: object
|
||||
BackgroundFill:
|
||||
description: 'This object describes the way a background is filled based on the selected colors. Currently, it can be one of'
|
||||
anyOf:
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundFillSolid'
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundFillGradient'
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundFillFreeformGradient'
|
||||
BackgroundFillSolid:
|
||||
description: 'The background is filled using the selected color.'
|
||||
required:
|
||||
- type
|
||||
- color
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
color:
|
||||
type: integer
|
||||
type: object
|
||||
BackgroundFillGradient:
|
||||
description: 'The background is a gradient fill.'
|
||||
required:
|
||||
- type
|
||||
- top_color
|
||||
- bottom_color
|
||||
- rotation_angle
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
top_color:
|
||||
type: integer
|
||||
bottom_color:
|
||||
type: integer
|
||||
rotation_angle:
|
||||
type: integer
|
||||
type: object
|
||||
BackgroundFillFreeformGradient:
|
||||
description: 'The background is a freeform gradient that rotates after every message in the chat.'
|
||||
required:
|
||||
- type
|
||||
- colors
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
colors:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
type: object
|
||||
BackgroundType:
|
||||
description: 'This object describes the type of a background. Currently, it can be one of'
|
||||
anyOf:
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundTypeFill'
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundTypeWallpaper'
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundTypePattern'
|
||||
-
|
||||
$ref: '#/components/schemas/BackgroundTypeChatTheme'
|
||||
BackgroundTypeFill:
|
||||
description: 'The background is automatically filled based on the selected colors.'
|
||||
required:
|
||||
- type
|
||||
- fill
|
||||
- dark_theme_dimming
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
fill:
|
||||
$ref: '#/components/schemas/BackgroundFill'
|
||||
dark_theme_dimming:
|
||||
type: integer
|
||||
type: object
|
||||
BackgroundTypeWallpaper:
|
||||
description: 'The background is a wallpaper in the JPEG format.'
|
||||
required:
|
||||
- type
|
||||
- document
|
||||
- dark_theme_dimming
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
document:
|
||||
$ref: '#/components/schemas/Document'
|
||||
dark_theme_dimming:
|
||||
type: integer
|
||||
is_blurred:
|
||||
type: boolean
|
||||
default: true
|
||||
is_moving:
|
||||
type: boolean
|
||||
default: true
|
||||
type: object
|
||||
BackgroundTypePattern:
|
||||
description: 'The background is a PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.'
|
||||
required:
|
||||
- type
|
||||
- document
|
||||
- fill
|
||||
- intensity
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
document:
|
||||
$ref: '#/components/schemas/Document'
|
||||
fill:
|
||||
$ref: '#/components/schemas/BackgroundFill'
|
||||
intensity:
|
||||
type: integer
|
||||
is_inverted:
|
||||
type: boolean
|
||||
default: true
|
||||
is_moving:
|
||||
type: boolean
|
||||
default: true
|
||||
type: object
|
||||
BackgroundTypeChatTheme:
|
||||
description: 'The background is taken directly from a built-in chat theme.'
|
||||
required:
|
||||
- type
|
||||
- theme_name
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
theme_name:
|
||||
type: string
|
||||
type: object
|
||||
ChatBackground:
|
||||
description: 'This object represents a chat background.'
|
||||
required:
|
||||
- type
|
||||
properties:
|
||||
type:
|
||||
$ref: '#/components/schemas/BackgroundType'
|
||||
type: object
|
||||
ForumTopicCreated:
|
||||
description: 'This object represents a service message about a new forum topic created in the chat.'
|
||||
required:
|
||||
@ -1116,7 +1303,7 @@ components:
|
||||
description: 'This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.'
|
||||
type: object
|
||||
SharedUser:
|
||||
description: 'This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUser button.'
|
||||
description: 'This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button.'
|
||||
required:
|
||||
- user_id
|
||||
properties:
|
||||
@ -1338,7 +1525,7 @@ components:
|
||||
type: string
|
||||
type: object
|
||||
ReplyKeyboardMarkup:
|
||||
description: 'This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).'
|
||||
description: 'This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). Not supported in channels and for messages sent on behalf of a Telegram Business account.'
|
||||
required:
|
||||
- keyboard
|
||||
properties:
|
||||
@ -1401,7 +1588,7 @@ components:
|
||||
type: boolean
|
||||
type: object
|
||||
KeyboardButtonRequestChat:
|
||||
description: 'This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the сhat if appropriate More about requesting chats »'
|
||||
description: 'This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats ».'
|
||||
required:
|
||||
- request_id
|
||||
- chat_is_channel
|
||||
@ -1436,7 +1623,7 @@ components:
|
||||
type: string
|
||||
type: object
|
||||
ReplyKeyboardRemove:
|
||||
description: 'Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup).'
|
||||
description: 'Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup). Not supported in channels and for messages sent on behalf of a Telegram Business account.'
|
||||
required:
|
||||
- remove_keyboard
|
||||
properties:
|
||||
@ -1535,7 +1722,7 @@ components:
|
||||
type: string
|
||||
type: object
|
||||
ForceReply:
|
||||
description: "Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode."
|
||||
description: "Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a Telegram Business account."
|
||||
required:
|
||||
- force_reply
|
||||
properties:
|
||||
@ -1659,6 +1846,8 @@ components:
|
||||
$ref: '#/components/schemas/ChatMember'
|
||||
invite_link:
|
||||
$ref: '#/components/schemas/ChatInviteLink'
|
||||
via_join_request:
|
||||
type: boolean
|
||||
via_chat_folder_invite_link:
|
||||
type: boolean
|
||||
type: object
|
||||
@ -1899,7 +2088,7 @@ components:
|
||||
type: boolean
|
||||
type: object
|
||||
Birthdate:
|
||||
description: ''
|
||||
description: 'Describes the birthdate of a user.'
|
||||
required:
|
||||
- day
|
||||
- month
|
||||
@ -1912,7 +2101,7 @@ components:
|
||||
type: integer
|
||||
type: object
|
||||
BusinessIntro:
|
||||
description: ''
|
||||
description: 'Contains information about the start page settings of a Telegram Business account.'
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
@ -1922,7 +2111,7 @@ components:
|
||||
$ref: '#/components/schemas/Sticker'
|
||||
type: object
|
||||
BusinessLocation:
|
||||
description: ''
|
||||
description: 'Contains information about the location of a Telegram Business account.'
|
||||
required:
|
||||
- address
|
||||
properties:
|
||||
@ -1932,7 +2121,7 @@ components:
|
||||
$ref: '#/components/schemas/Location'
|
||||
type: object
|
||||
BusinessOpeningHoursInterval:
|
||||
description: ''
|
||||
description: 'Describes an interval of time during which a business is open.'
|
||||
required:
|
||||
- opening_minute
|
||||
- closing_minute
|
||||
@ -1943,7 +2132,7 @@ components:
|
||||
type: integer
|
||||
type: object
|
||||
BusinessOpeningHours:
|
||||
description: ''
|
||||
description: 'Describes the opening hours of a business.'
|
||||
required:
|
||||
- time_zone_name
|
||||
- opening_hours
|
||||
@ -6218,7 +6407,7 @@ paths:
|
||||
default:
|
||||
$ref: '#/components/responses/UnknownError'
|
||||
/sendVoice:
|
||||
description: 'Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.'
|
||||
description: 'Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.'
|
||||
post:
|
||||
requestBody:
|
||||
required: true
|
||||
@ -7276,10 +7465,16 @@ paths:
|
||||
type: integer
|
||||
question:
|
||||
type: string
|
||||
question_parse_mode:
|
||||
type: string
|
||||
question_entities:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MessageEntity'
|
||||
options:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
$ref: '#/components/schemas/InputPollOption'
|
||||
is_anonymous:
|
||||
type: boolean
|
||||
default: true
|
||||
@ -7340,10 +7535,16 @@ paths:
|
||||
type: integer
|
||||
question:
|
||||
type: string
|
||||
question_parse_mode:
|
||||
type: string
|
||||
question_entities:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MessageEntity'
|
||||
options:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
$ref: '#/components/schemas/InputPollOption'
|
||||
is_anonymous:
|
||||
type: boolean
|
||||
default: true
|
||||
@ -7404,10 +7605,16 @@ paths:
|
||||
type: integer
|
||||
question:
|
||||
type: string
|
||||
question_parse_mode:
|
||||
type: string
|
||||
question_entities:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MessageEntity'
|
||||
options:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
$ref: '#/components/schemas/InputPollOption'
|
||||
is_anonymous:
|
||||
type: boolean
|
||||
default: true
|
||||
@ -9880,7 +10087,7 @@ paths:
|
||||
default:
|
||||
$ref: '#/components/responses/UnknownError'
|
||||
/getChat:
|
||||
description: 'Use this method to get up to date information about the chat. Returns a Chat object on success.'
|
||||
description: 'Use this method to get up-to-date information about the chat. Returns a ChatFullInfo object on success.'
|
||||
post:
|
||||
requestBody:
|
||||
required: true
|
||||
@ -9934,7 +10141,7 @@ paths:
|
||||
type: object
|
||||
properties:
|
||||
result:
|
||||
$ref: '#/components/schemas/Chat'
|
||||
$ref: '#/components/schemas/ChatFullInfo'
|
||||
400:
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
401:
|
||||
@ -12682,6 +12889,8 @@ paths:
|
||||
type: number
|
||||
longitude:
|
||||
type: number
|
||||
live_period:
|
||||
type: integer
|
||||
horizontal_accuracy:
|
||||
type: number
|
||||
heading:
|
||||
@ -12711,6 +12920,8 @@ paths:
|
||||
type: number
|
||||
longitude:
|
||||
type: number
|
||||
live_period:
|
||||
type: integer
|
||||
horizontal_accuracy:
|
||||
type: number
|
||||
heading:
|
||||
@ -12740,6 +12951,8 @@ paths:
|
||||
type: number
|
||||
longitude:
|
||||
type: number
|
||||
live_period:
|
||||
type: integer
|
||||
horizontal_accuracy:
|
||||
type: number
|
||||
heading:
|
||||
|
@ -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": "7.2.0"
|
||||
"version": "7.3.0"
|
||||
},
|
||||
"variable": {
|
||||
"key": "token",
|
||||
@ -327,7 +327,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -540,7 +540,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -704,7 +704,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -819,7 +819,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -922,7 +922,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1049,7 +1049,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1170,7 +1170,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1267,7 +1267,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1285,7 +1285,7 @@
|
||||
"sendVoice"
|
||||
]
|
||||
},
|
||||
"description": "Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future."
|
||||
"description": "Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future."
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -1358,7 +1358,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1492,7 +1492,7 @@
|
||||
{
|
||||
"key": "live_period",
|
||||
"disabled": true,
|
||||
"description": "Optional. Period in seconds for which the location will be updated (see Live Locations, should be between 60 and 86400.",
|
||||
"description": "Optional. Period in seconds during which the location will be updated (see Live Locations, should be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely.",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
@ -1528,7 +1528,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1643,7 +1643,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1734,7 +1734,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1786,10 +1786,22 @@
|
||||
"description": "Required. Poll question, 1-300 characters",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "question_parse_mode",
|
||||
"disabled": true,
|
||||
"description": "Optional. Mode for parsing entities in the question. See formatting options for more details. Currently, only custom emoji entities are allowed",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "question_entities",
|
||||
"disabled": true,
|
||||
"description": "Optional. A JSON-serialized list of special entities that appear in the poll question. It can be specified instead of question_parse_mode",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "options",
|
||||
"disabled": false,
|
||||
"description": "Required. A JSON-serialized list of answer options, 2-10 strings 1-100 characters each",
|
||||
"description": "Required. A JSON-serialized list of 2-10 answer options",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
@ -1833,7 +1845,7 @@
|
||||
{
|
||||
"key": "explanation_entities",
|
||||
"disabled": true,
|
||||
"description": "Optional. A JSON-serialized list of special entities that appear in the poll explanation, which can be specified instead of parse_mode",
|
||||
"description": "Optional. A JSON-serialized list of special entities that appear in the poll explanation. It can be specified instead of explanation_parse_mode",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
@ -1875,7 +1887,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -1949,7 +1961,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -2366,7 +2378,7 @@
|
||||
{
|
||||
"key": "can_edit_stories",
|
||||
"disabled": true,
|
||||
"description": "Optional. Pass True if the administrator can edit stories posted by other users",
|
||||
"description": "Optional. Pass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
@ -3147,7 +3159,7 @@
|
||||
"getChat"
|
||||
]
|
||||
},
|
||||
"description": "Use this method to get up to date information about the chat. Returns a Chat object on success."
|
||||
"description": "Use this method to get up-to-date information about the chat. Returns a ChatFullInfo object on success."
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -4595,6 +4607,12 @@
|
||||
"description": "Required. Longitude of new location",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "live_period",
|
||||
"disabled": true,
|
||||
"description": "Optional. New period in seconds during which the location can be updated, starting from the message send date. If 0x7FFFFFFF is specified, then the location can be updated forever. Otherwise, the new value must not exceed the current live_period by more than a day, and the live location expiration date must remain within the next 90 days. If not specified, then live_period remains unchanged",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "horizontal_accuracy",
|
||||
"disabled": true,
|
||||
@ -4910,7 +4928,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account.",
|
||||
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -6134,7 +6152,7 @@
|
||||
{
|
||||
"key": "reply_markup",
|
||||
"disabled": true,
|
||||
"description": "Optional. A JSON-serialized object for an inline keyboard. If empty, one 'Play game_title' button will be shown. If not empty, the first button must launch the game. Not supported for messages sent on behalf of a business account.",
|
||||
"description": "Optional. A JSON-serialized object for an inline keyboard. If empty, one 'Play game_title' button will be shown. If not empty, the first button must launch the game.",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user