This commit is contained in:
sys-001 2022-01-31 23:23:10 +00:00
parent 290e3787f9
commit ec16a92691
5 changed files with 155 additions and 43 deletions

View File

@ -1,5 +1,5 @@
{
"version": "5.6.0",
"version": "5.7.0",
"types": [
{
"name": "Update",
@ -3576,6 +3576,14 @@
"optional": false,
"description": "True, if the sticker is animated"
},
{
"name": "is_video",
"types": [
"bool"
],
"optional": false,
"description": "True, if the sticker is a video sticker"
},
{
"name": "thumb",
"types": [
@ -3647,6 +3655,14 @@
"optional": false,
"description": "True, if the sticker set contains animated stickers"
},
{
"name": "is_video",
"types": [
"bool"
],
"optional": false,
"description": "True, if the sticker set contains video stickers"
},
{
"name": "contains_masks",
"types": [
@ -3669,7 +3685,7 @@
"PhotoSize"
],
"optional": true,
"description": "Optional. Sticker set thumbnail in the .WEBP or .TGS format"
"description": "Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format"
}
],
"extended_by": []
@ -7308,7 +7324,7 @@
"bool"
],
"optional": true,
"description": "Protects the contents of sent messages from forwarding and saving"
"description": "Protects the contents of the sent message from forwarding and saving"
},
{
"name": "reply_to_message_id",
@ -9152,7 +9168,7 @@
"string"
],
"optional": false,
"description": "Unique identifier for the target group or username of the target supergroup or channel (in the format @username)"
"description": "Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)"
},
{
"name": "user_id",
@ -10393,7 +10409,7 @@
},
{
"name": "sendSticker",
"description": "Use this method to send static .WEBP or animated .TGS stickers. On success, the sent Message is returned.",
"description": "Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned.",
"fields": [
{
"name": "chat_id",
@ -10505,7 +10521,7 @@
},
{
"name": "createNewStickerSet",
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker or tgs_sticker. Returns True on success.",
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Returns True on success.",
"fields": [
{
"name": "user_id",
@ -10546,7 +10562,15 @@
"InputFile"
],
"optional": true,
"description": "TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements"
"description": "TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements"
},
{
"name": "webm_sticker",
"types": [
"InputFile"
],
"optional": true,
"description": "WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements"
},
{
"name": "emojis",
@ -10579,7 +10603,7 @@
},
{
"name": "addStickerToSet",
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker or tgs_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.",
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.",
"fields": [
{
"name": "user_id",
@ -10612,7 +10636,15 @@
"InputFile"
],
"optional": true,
"description": "TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements"
"description": "TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements"
},
{
"name": "webm_sticker",
"types": [
"InputFile"
],
"optional": true,
"description": "WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements"
},
{
"name": "emojis",
@ -10679,7 +10711,7 @@
},
{
"name": "setStickerSetThumb",
"description": "Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Returns True on success.",
"description": "Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Video thumbnails can be set only for video sticker sets only. Returns True on success.",
"fields": [
{
"name": "name",
@ -10704,7 +10736,7 @@
"string"
],
"optional": true,
"description": "A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/animated_stickers#technical-requirements for animated sticker technical requirements. 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 upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnail can't be uploaded via HTTP URL."
"description": "A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#animated-sticker-requirements for animated sticker technical requirements, or a WEBM video with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#video-sticker-requirements for video sticker technical requirements. 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 upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnails can't be uploaded via HTTP URL."
}
],
"return_types": [

View File

@ -1,4 +1,4 @@
version: 5.6.0
version: 5.7.0
types:
-
name: Update
@ -2673,6 +2673,12 @@ types:
- bool
optional: false
description: 'True, if the sticker is animated'
-
name: is_video
types:
- bool
optional: false
description: 'True, if the sticker is a video sticker'
-
name: thumb
types:
@ -2726,6 +2732,12 @@ types:
- bool
optional: false
description: 'True, if the sticker set contains animated stickers'
-
name: is_video
types:
- bool
optional: false
description: 'True, if the sticker set contains video stickers'
-
name: contains_masks
types:
@ -2743,7 +2755,7 @@ types:
types:
- PhotoSize
optional: true
description: 'Optional. Sticker set thumbnail in the .WEBP or .TGS format'
description: 'Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format'
extended_by: { }
-
name: MaskPosition
@ -5465,7 +5477,7 @@ methods:
types:
- bool
optional: true
description: 'Protects the contents of sent messages from forwarding and saving'
description: 'Protects the contents of the sent message from forwarding and saving'
-
name: reply_to_message_id
types:
@ -6851,7 +6863,7 @@ methods:
- int
- string
optional: false
description: 'Unique identifier for the target group or username of the target supergroup or channel (in the format @username)'
description: 'Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)'
-
name: user_id
types:
@ -7762,7 +7774,7 @@ methods:
- bool
-
name: sendSticker
description: 'Use this method to send static .WEBP or animated .TGS stickers. On success, the sent Message is returned.'
description: 'Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned.'
fields:
-
name: chat_id
@ -7845,7 +7857,7 @@ methods:
- File
-
name: createNewStickerSet
description: 'Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker or tgs_sticker. Returns True on success.'
description: 'Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Returns True on success.'
fields:
-
name: user_id
@ -7877,7 +7889,13 @@ methods:
types:
- InputFile
optional: true
description: 'TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements'
description: 'TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements'
-
name: webm_sticker
types:
- InputFile
optional: true
description: 'WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements'
-
name: emojis
types:
@ -7900,7 +7918,7 @@ methods:
- bool
-
name: addStickerToSet
description: 'Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker or tgs_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.'
description: 'Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.'
fields:
-
name: user_id
@ -7926,7 +7944,13 @@ methods:
types:
- InputFile
optional: true
description: 'TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements'
description: 'TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements'
-
name: webm_sticker
types:
- InputFile
optional: true
description: 'WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements'
-
name: emojis
types:
@ -7973,7 +7997,7 @@ methods:
- bool
-
name: setStickerSetThumb
description: 'Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Returns True on success.'
description: 'Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Video thumbnails can be set only for video sticker sets only. Returns True on success.'
fields:
-
name: name
@ -7993,7 +8017,7 @@ methods:
- InputFile
- string
optional: true
description: 'A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/animated_stickers#technical-requirements for animated sticker technical requirements. 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 upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnail can''t be uploaded via HTTP URL.'
description: 'A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#animated-sticker-requirements for animated sticker technical requirements, or a WEBM video with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#video-sticker-requirements for video sticker technical requirements. 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 upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnails can''t be uploaded via HTTP URL.'
return_types:
- bool
-

View File

@ -3,7 +3,7 @@
"info": {
"title": "Telegram Bot API",
"description": "Auto-generated OpenAPI schema by TGScraper.",
"version": "5.6.0"
"version": "5.7.0"
},
"servers": [
{
@ -2149,7 +2149,8 @@
"file_unique_id",
"width",
"height",
"is_animated"
"is_animated",
"is_video"
],
"properties": {
"file_id": {
@ -2167,6 +2168,9 @@
"is_animated": {
"type": "boolean"
},
"is_video": {
"type": "boolean"
},
"thumb": {
"$ref": "#/components/schemas/PhotoSize"
},
@ -2191,6 +2195,7 @@
"name",
"title",
"is_animated",
"is_video",
"contains_masks",
"stickers"
],
@ -2204,6 +2209,9 @@
"is_animated": {
"type": "boolean"
},
"is_video": {
"type": "boolean"
},
"contains_masks": {
"type": "boolean"
},
@ -15052,7 +15060,7 @@
}
},
"/sendSticker": {
"description": "Use this method to send static .WEBP or animated .TGS stickers. On success, the sent Message is returned.",
"description": "Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned.",
"post": {
"requestBody": {
"required": true,
@ -15493,7 +15501,7 @@
}
},
"/createNewStickerSet": {
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker or tgs_sticker. Returns True on success.",
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Returns True on success.",
"post": {
"requestBody": {
"required": true,
@ -15530,6 +15538,9 @@
"tgs_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"webm_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"emojis": {
"type": "string"
},
@ -15574,6 +15585,9 @@
"tgs_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"webm_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"emojis": {
"type": "string"
},
@ -15618,6 +15632,9 @@
"tgs_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"webm_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"emojis": {
"type": "string"
},
@ -15683,7 +15700,7 @@
}
},
"/addStickerToSet": {
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker or tgs_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.",
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.",
"post": {
"requestBody": {
"required": true,
@ -15716,6 +15733,9 @@
"tgs_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"webm_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"emojis": {
"type": "string"
},
@ -15753,6 +15773,9 @@
"tgs_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"webm_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"emojis": {
"type": "string"
},
@ -15790,6 +15813,9 @@
"tgs_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"webm_sticker": {
"$ref": "#/components/schemas/InputFile"
},
"emojis": {
"type": "string"
},
@ -16058,7 +16084,7 @@
}
},
"/setStickerSetThumb": {
"description": "Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Returns True on success.",
"description": "Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Video thumbnails can be set only for video sticker sets only. Returns True on success.",
"post": {
"requestBody": {
"required": true,

View File

@ -2,7 +2,7 @@ openapi: 3.0.0
info:
title: 'Telegram Bot API'
description: 'Auto-generated OpenAPI schema by TGScraper.'
version: 5.6.0
version: 5.7.0
servers:
-
url: 'https://api.telegram.org/bot{token}'
@ -1458,6 +1458,7 @@ components:
- width
- height
- is_animated
- is_video
properties:
file_id:
type: string
@ -1469,6 +1470,8 @@ components:
type: integer
is_animated:
type: boolean
is_video:
type: boolean
thumb:
$ref: '#/components/schemas/PhotoSize'
emoji:
@ -1486,6 +1489,7 @@ components:
- name
- title
- is_animated
- is_video
- contains_masks
- stickers
properties:
@ -1495,6 +1499,8 @@ components:
type: string
is_animated:
type: boolean
is_video:
type: boolean
contains_masks:
type: boolean
stickers:
@ -9675,7 +9681,7 @@ paths:
default:
$ref: '#/components/responses/UnknownError'
/sendSticker:
description: 'Use this method to send static .WEBP or animated .TGS stickers. On success, the sent Message is returned.'
description: 'Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned.'
post:
requestBody:
required: true
@ -9951,7 +9957,7 @@ paths:
default:
$ref: '#/components/responses/UnknownError'
/createNewStickerSet:
description: 'Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker or tgs_sticker. Returns True on success.'
description: 'Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Returns True on success.'
post:
requestBody:
required: true
@ -9979,6 +9985,8 @@ paths:
type: string
tgs_sticker:
$ref: '#/components/schemas/InputFile'
webm_sticker:
$ref: '#/components/schemas/InputFile'
emojis:
type: string
contains_masks:
@ -10008,6 +10016,8 @@ paths:
type: string
tgs_sticker:
$ref: '#/components/schemas/InputFile'
webm_sticker:
$ref: '#/components/schemas/InputFile'
emojis:
type: string
contains_masks:
@ -10037,6 +10047,8 @@ paths:
type: string
tgs_sticker:
$ref: '#/components/schemas/InputFile'
webm_sticker:
$ref: '#/components/schemas/InputFile'
emojis:
type: string
contains_masks:
@ -10074,7 +10086,7 @@ paths:
default:
$ref: '#/components/responses/UnknownError'
/addStickerToSet:
description: 'Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker or tgs_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.'
description: 'Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.'
post:
requestBody:
required: true
@ -10099,6 +10111,8 @@ paths:
type: string
tgs_sticker:
$ref: '#/components/schemas/InputFile'
webm_sticker:
$ref: '#/components/schemas/InputFile'
emojis:
type: string
mask_position:
@ -10123,6 +10137,8 @@ paths:
type: string
tgs_sticker:
$ref: '#/components/schemas/InputFile'
webm_sticker:
$ref: '#/components/schemas/InputFile'
emojis:
type: string
mask_position:
@ -10147,6 +10163,8 @@ paths:
type: string
tgs_sticker:
$ref: '#/components/schemas/InputFile'
webm_sticker:
$ref: '#/components/schemas/InputFile'
emojis:
type: string
mask_position:
@ -10311,7 +10329,7 @@ paths:
default:
$ref: '#/components/responses/UnknownError'
/setStickerSetThumb:
description: 'Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Returns True on success.'
description: 'Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Video thumbnails can be set only for video sticker sets only. Returns True on success.'
post:
requestBody:
required: true

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.6.0"
"version": "5.7.0"
},
"variable": {
"key": "token",
@ -295,7 +295,7 @@
{
"key": "protect_content",
"disabled": true,
"description": "Optional. Protects the contents of sent messages from forwarding and saving",
"description": "Optional. Protects the contents of the sent message from forwarding and saving",
"type": "text"
},
{
@ -2021,7 +2021,7 @@
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target group or username of the target supergroup or channel (in the format @username)",
"description": "Required. Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)",
"type": "text"
},
{
@ -3660,7 +3660,7 @@
"sendSticker"
]
},
"description": "Use this method to send static .WEBP or animated .TGS stickers. On success, the sent Message is returned."
"description": "Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned."
}
},
{
@ -3765,7 +3765,13 @@
{
"key": "tgs_sticker",
"disabled": true,
"description": "Optional. TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements",
"description": "Optional. TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements",
"type": "text"
},
{
"key": "webm_sticker",
"disabled": true,
"description": "Optional. WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements",
"type": "text"
},
{
@ -3801,7 +3807,7 @@
"createNewStickerSet"
]
},
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker or tgs_sticker. Returns True on success."
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Returns True on success."
}
},
{
@ -3832,7 +3838,13 @@
{
"key": "tgs_sticker",
"disabled": true,
"description": "Optional. TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements",
"description": "Optional. TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements",
"type": "text"
},
{
"key": "webm_sticker",
"disabled": true,
"description": "Optional. WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements",
"type": "text"
},
{
@ -3862,7 +3874,7 @@
"addStickerToSet"
]
},
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker or tgs_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success."
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success."
}
},
{
@ -3955,7 +3967,7 @@
{
"key": "thumb",
"disabled": true,
"description": "Optional. A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/animated_stickers#technical-requirements for animated sticker technical requirements. 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 upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnail can't be uploaded via HTTP URL.",
"description": "Optional. A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#animated-sticker-requirements for animated sticker technical requirements, or a WEBM video with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#video-sticker-requirements for video sticker technical requirements. 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 upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnails can't be uploaded via HTTP URL.",
"type": "text"
}
]
@ -3973,7 +3985,7 @@
"setStickerSetThumb"
]
},
"description": "Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Returns True on success."
"description": "Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Video thumbnails can be set only for video sticker sets only. Returns True on success."
}
},
{