From a41a286c1e5e8dd116de53cf322e8d3d1ee564ab Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 3 Sep 2022 11:26:18 +0000 Subject: [PATCH] Update content of files --- .../api/custom-emojis.html | 118 ++++++++++++++++++ .../corefork.telegram.org/api/stickers.html | 38 +++++- 2 files changed, 151 insertions(+), 5 deletions(-) create mode 100644 data/web/corefork.telegram.org/api/custom-emojis.html diff --git a/data/web/corefork.telegram.org/api/custom-emojis.html b/data/web/corefork.telegram.org/api/custom-emojis.html new file mode 100644 index 0000000000..28eb794f3a --- /dev/null +++ b/data/web/corefork.telegram.org/api/custom-emojis.html @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/api/stickers.html b/data/web/corefork.telegram.org/api/stickers.html index d3c7e76725..5bfab363f2 100644 --- a/data/web/corefork.telegram.org/api/stickers.html +++ b/data/web/corefork.telegram.org/api/stickers.html @@ -61,10 +61,38 @@ document#8fd4c4d8 flags:# id:long…"> inputStickerSetDice#e67f520e emoticon:string = InputStickerSet; inputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet; inputStickerSetPremiumGifts#c88b3b02 = InputStickerSet; -

Stickers are contained in document constructors attached to messages, and always have an attribute of type documentAttributeSticker.

-

The documentAttributeSticker contains information about the associated stickerset, the emoji that represents the sticker,

-

Image stickers

-

Image stickers are simple

+

Stickers can be contained in document constructors attached to messages, and always have an attribute of type documentAttributeSticker.

+

The documentAttributeSticker attribute contains information about the associated stickerset, the emoji that represents the sticker, and more.

+

There are multiple available sticker types:

+

Static stickers

+

Static stickers are WebP images with the following specs:

+ +

They're identified by mime_type field of the associated document, always equal to image/webp.

+

See here » for tips on how to create the perfect static sticker, and here » for info on how to upload it using the API.

+

Animated stickers

+

Animated stickers are vector +They're identified by mime_type field of the associated document, always equal to application/x-tgsticker.

+

See here » for tips on how to create the perfect animated sticker, and here » for info on how to upload it using the API.

+

Video stickers

+

Video stickers are VP9 videos with the following specs:

+ +

They're identified by mime_type field of the associated document, always equal to video/webm.

+

See here » for tips on how to create the perfect video sticker, and here » for info on how to upload it using the API.

+

Sticker previews

+

Like all files, stickers have a set of previews that should be handled as described in the file docs ».

Mask stickers

inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia;
 inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia;
@@ -123,7 +151,7 @@ This field is actually used to allow associating more than one emoji to a sticke
 stickerSetFullCovered#1aed5ee5 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = StickerSetCovered;

Certain parts of the API may return partial StickerSetCovered constructors instead of full document constructors for every sticker in the set: