Adding new code-generator (Butcher) (#1069)

* Re-generate types

* Re-generate methods (only attributes)

* Added enums

* Base init generator

* Added butcher configs

* Fixed tests, bump butcher

* Added changelog

* Added enum docs

* Added templates for docs index

* Re-generate bot class, remove deprecated methods
This commit is contained in:
Alex Root Junior 2022-11-21 01:06:55 +02:00 committed by GitHub
parent c7779abc50
commit d034c1ba9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
387 changed files with 32036 additions and 3144 deletions

View file

@ -0,0 +1,75 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Stickers",
"anchor": "stickers"
},
"object": {
"anchor": "stickerset",
"name": "StickerSet",
"description": "This object represents a sticker set.",
"html_description": "<p>This object represents a sticker set.</p>",
"rst_description": "This object represents a sticker set.",
"annotations": [
{
"type": "String",
"description": "Sticker set name",
"html_description": "<td>Sticker set name</td>",
"rst_description": "Sticker set name\n",
"name": "name",
"required": true
},
{
"type": "String",
"description": "Sticker set title",
"html_description": "<td>Sticker set title</td>",
"rst_description": "Sticker set title\n",
"name": "title",
"required": true
},
{
"type": "String",
"description": "Type of stickers in the set, currently one of 'regular', 'mask', 'custom_emoji'",
"html_description": "<td>Type of stickers in the set, currently one of &#8220;regular&#8221;, &#8220;mask&#8221;, &#8220;custom_emoji&#8221;</td>",
"rst_description": "Type of stickers in the set, currently one of 'regular', 'mask', 'custom_emoji'\n",
"name": "sticker_type",
"required": true
},
{
"type": "Boolean",
"description": "True, if the sticker set contains animated stickers",
"html_description": "<td><em>True</em>, if the sticker set contains <a href=\"https://telegram.org/blog/animated-stickers\">animated stickers</a></td>",
"rst_description": ":code:`True`, if the sticker set contains `animated stickers <https://telegram.org/blog/animated-stickers>`_\n",
"name": "is_animated",
"required": true
},
{
"type": "Boolean",
"description": "True, if the sticker set contains video stickers",
"html_description": "<td><em>True</em>, if the sticker set contains <a href=\"https://telegram.org/blog/video-stickers-better-reactions\">video stickers</a></td>",
"rst_description": ":code:`True`, if the sticker set contains `video stickers <https://telegram.org/blog/video-stickers-better-reactions>`_\n",
"name": "is_video",
"required": true
},
{
"type": "Array of Sticker",
"description": "List of all set stickers",
"html_description": "<td>List of all set stickers</td>",
"rst_description": "List of all set stickers\n",
"name": "stickers",
"required": true
},
{
"type": "PhotoSize",
"description": "Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format",
"html_description": "<td><em>Optional</em>. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format</td>",
"rst_description": "*Optional*. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format\n",
"name": "thumb",
"required": false
}
],
"category": "types"
}
}