mirror of
https://github.com/lukaszraczylo/go-telegram.git
synced 2026-07-07 23:34:41 +00:00
chore(api): regenerate from Telegram Bot API v10.1
This commit is contained in:
committed by
github-actions[bot]
parent
140ea13bde
commit
dcf591f49f
+45
-45
@@ -8401,7 +8401,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Identifier of the join request query. If present, then the bot must call sendChatJoinRequestWebApp or directly call answerChatJoinRequestQuery within 10 seconds."
|
||||
"doc": "Optional. Identifier of the join request query; for bots assigned to process join request only. If present, then the bot must call sendChatJoinRequestWebApp or directly call answerChatJoinRequestQuery within 10 seconds."
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -11543,7 +11543,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be animation",
|
||||
"doc": "Type of the media, must be animation",
|
||||
"enum_values": [
|
||||
"animation"
|
||||
]
|
||||
@@ -11556,7 +11556,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Thumbnail",
|
||||
@@ -11565,7 +11565,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -11661,7 +11661,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be audio",
|
||||
"doc": "Type of the media, must be audio",
|
||||
"enum_values": [
|
||||
"audio"
|
||||
]
|
||||
@@ -11674,7 +11674,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Thumbnail",
|
||||
@@ -11683,7 +11683,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -11761,7 +11761,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be document",
|
||||
"doc": "Type of the media, must be document",
|
||||
"enum_values": [
|
||||
"document"
|
||||
]
|
||||
@@ -11774,7 +11774,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Thumbnail",
|
||||
@@ -11783,7 +11783,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -11843,7 +11843,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be link",
|
||||
"doc": "Type of the media, must be link",
|
||||
"enum_values": [
|
||||
"link"
|
||||
]
|
||||
@@ -11872,7 +11872,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be live_photo",
|
||||
"doc": "Type of the media, must be live_photo",
|
||||
"enum_values": [
|
||||
"live_photo"
|
||||
]
|
||||
@@ -11885,7 +11885,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
"doc": "Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
},
|
||||
{
|
||||
"name": "Photo",
|
||||
@@ -11895,7 +11895,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
"doc": "The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -11964,7 +11964,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be location",
|
||||
"doc": "Type of the media, must be location",
|
||||
"enum_values": [
|
||||
"location"
|
||||
]
|
||||
@@ -12012,7 +12012,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be photo",
|
||||
"doc": "Type of the media, must be photo",
|
||||
"enum_values": [
|
||||
"photo"
|
||||
]
|
||||
@@ -12025,7 +12025,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -12094,7 +12094,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be sticker",
|
||||
"doc": "Type of the media, must be sticker",
|
||||
"enum_values": [
|
||||
"sticker"
|
||||
]
|
||||
@@ -12107,7 +12107,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a .WEBP sticker from the Internet, or pass “attach://<file_attach_name>” to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a .WEBP sticker from the Internet, or pass \"attach://<file_attach_name>\" to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Emoji",
|
||||
@@ -12132,7 +12132,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be venue",
|
||||
"doc": "Type of the media, must be venue",
|
||||
"enum_values": [
|
||||
"venue"
|
||||
]
|
||||
@@ -12227,7 +12227,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Type of the result, must be video",
|
||||
"doc": "Type of the media, must be video",
|
||||
"enum_values": [
|
||||
"video"
|
||||
]
|
||||
@@ -12240,7 +12240,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Thumbnail",
|
||||
@@ -12249,7 +12249,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Cover",
|
||||
@@ -12258,7 +12258,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "Optional. Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "StartTimestamp",
|
||||
@@ -12398,7 +12398,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
"doc": "Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
},
|
||||
{
|
||||
"name": "Photo",
|
||||
@@ -12408,7 +12408,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
"doc": "The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported."
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -12437,7 +12437,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -12466,7 +12466,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Thumbnail",
|
||||
@@ -12475,7 +12475,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Cover",
|
||||
@@ -12484,7 +12484,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Optional. Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "Optional. Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "StartTimestamp",
|
||||
@@ -12566,7 +12566,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The static profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "The static profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -12595,7 +12595,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "MainFrameTimestamp",
|
||||
@@ -12641,7 +12641,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The photo to post as a story. The photo must be of the size 1080x1920 and must not exceed 10 MB. The photo can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "The photo to post as a story. The photo must be of the size 1080x1920 and must not exceed 10 MB. The photo can't be reused and can only be uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -12670,7 +12670,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The video to post as a story. The video must be of the size 720x1280, streamable, encoded with H.265 codec, with key frames added each second in the MPEG4 format, and must not exceed 30 MB. The video can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the video was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "The video to post as a story. The video must be of the size 720x1280, streamable, encoded with H.265 codec, with key frames added each second in the MPEG4 format, and must not exceed 30 MB. The video can't be reused and can only be uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the video was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Duration",
|
||||
@@ -12981,7 +12981,7 @@
|
||||
"name": "string"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "The added sticker. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new file using multipart/form-data under <file_attach_name> name. Animated and video stickers can't be uploaded via HTTP URL. More information on Sending Files »"
|
||||
"doc": "The added sticker. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new file using multipart/form-data under <file_attach_name> name. Animated and video stickers can't be uploaded via HTTP URL. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Format",
|
||||
@@ -14879,7 +14879,7 @@
|
||||
},
|
||||
{
|
||||
"name": "RichBlockPhoto",
|
||||
"doc": "A block with a photo, corresponding to the HTML tag <photo>.",
|
||||
"doc": "A block with a photo, corresponding to the HTML tag <img>.",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Type",
|
||||
@@ -21342,7 +21342,7 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "DisableNotification",
|
||||
@@ -21486,7 +21486,7 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -21701,7 +21701,7 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Cover",
|
||||
@@ -21713,7 +21713,7 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"doc": "Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
"doc": "Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://<file_attach_name>\" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "StartTimestamp",
|
||||
@@ -21955,7 +21955,7 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "Caption",
|
||||
@@ -22346,7 +22346,7 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
"doc": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://<file_attach_name>\" if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »"
|
||||
},
|
||||
{
|
||||
"name": "DisableNotification",
|
||||
@@ -23857,7 +23857,7 @@
|
||||
"name": "int64"
|
||||
},
|
||||
"required": true,
|
||||
"doc": "Unique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated."
|
||||
"doc": "Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated."
|
||||
},
|
||||
{
|
||||
"name": "Text",
|
||||
@@ -25053,7 +25053,7 @@
|
||||
},
|
||||
{
|
||||
"name": "sendChatJoinRequestWebApp",
|
||||
"doc": "Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Returns True on success.",
|
||||
"doc": "Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Call answerChatJoinRequestQuery to resolve the join request query based on the user interaction with the Mini App. Returns True on success.",
|
||||
"params": [
|
||||
{
|
||||
"name": "ChatJoinRequestQueryID",
|
||||
@@ -29549,7 +29549,7 @@
|
||||
"kind": "primitive",
|
||||
"name": "string"
|
||||
},
|
||||
"doc": "Unique identifier of the business connection on behalf of which the message will be sent"
|
||||
"doc": "Unique identifier of the business connection on behalf of which the message will be sent. Bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages."
|
||||
},
|
||||
{
|
||||
"name": "ChatID",
|
||||
|
||||
Reference in New Issue
Block a user