mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 02:52:12 +00:00
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:
parent
c7779abc50
commit
d034c1ba9f
387 changed files with 32036 additions and 3144 deletions
18
.butcher/types/InlineQueryResult/entity.json
Normal file
18
.butcher/types/InlineQueryResult/entity.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"meta": {
|
||||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Inline mode",
|
||||
"anchor": "inline-mode"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "inlinequeryresult",
|
||||
"name": "InlineQueryResult",
|
||||
"description": "This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:\n - InlineQueryResultCachedAudio\n - InlineQueryResultCachedDocument\n - InlineQueryResultCachedGif\n - InlineQueryResultCachedMpeg4Gif\n - InlineQueryResultCachedPhoto\n - InlineQueryResultCachedSticker\n - InlineQueryResultCachedVideo\n - InlineQueryResultCachedVoice\n - InlineQueryResultArticle\n - InlineQueryResultAudio\n - InlineQueryResultContact\n - InlineQueryResultGame\n - InlineQueryResultDocument\n - InlineQueryResultGif\n - InlineQueryResultLocation\n - InlineQueryResultMpeg4Gif\n - InlineQueryResultPhoto\n - InlineQueryResultVenue\n - InlineQueryResultVideo\n - InlineQueryResultVoice\nNote: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public.",
|
||||
"html_description": "<p>This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:</p><ul>\n<li><a href=\"#inlinequeryresultcachedaudio\">InlineQueryResultCachedAudio</a></li>\n<li><a href=\"#inlinequeryresultcacheddocument\">InlineQueryResultCachedDocument</a></li>\n<li><a href=\"#inlinequeryresultcachedgif\">InlineQueryResultCachedGif</a></li>\n<li><a href=\"#inlinequeryresultcachedmpeg4gif\">InlineQueryResultCachedMpeg4Gif</a></li>\n<li><a href=\"#inlinequeryresultcachedphoto\">InlineQueryResultCachedPhoto</a></li>\n<li><a href=\"#inlinequeryresultcachedsticker\">InlineQueryResultCachedSticker</a></li>\n<li><a href=\"#inlinequeryresultcachedvideo\">InlineQueryResultCachedVideo</a></li>\n<li><a href=\"#inlinequeryresultcachedvoice\">InlineQueryResultCachedVoice</a></li>\n<li><a href=\"#inlinequeryresultarticle\">InlineQueryResultArticle</a></li>\n<li><a href=\"#inlinequeryresultaudio\">InlineQueryResultAudio</a></li>\n<li><a href=\"#inlinequeryresultcontact\">InlineQueryResultContact</a></li>\n<li><a href=\"#inlinequeryresultgame\">InlineQueryResultGame</a></li>\n<li><a href=\"#inlinequeryresultdocument\">InlineQueryResultDocument</a></li>\n<li><a href=\"#inlinequeryresultgif\">InlineQueryResultGif</a></li>\n<li><a href=\"#inlinequeryresultlocation\">InlineQueryResultLocation</a></li>\n<li><a href=\"#inlinequeryresultmpeg4gif\">InlineQueryResultMpeg4Gif</a></li>\n<li><a href=\"#inlinequeryresultphoto\">InlineQueryResultPhoto</a></li>\n<li><a href=\"#inlinequeryresultvenue\">InlineQueryResultVenue</a></li>\n<li><a href=\"#inlinequeryresultvideo\">InlineQueryResultVideo</a></li>\n<li><a href=\"#inlinequeryresultvoice\">InlineQueryResultVoice</a></li>\n</ul><p><strong>Note:</strong> All URLs passed in inline query results will be available to end users and therefore must be assumed to be <strong>public</strong>.</p>",
|
||||
"rst_description": "This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:\n\n - :class:`aiogram.types.inline_query_result_cached_audio.InlineQueryResultCachedAudio`\n - :class:`aiogram.types.inline_query_result_cached_document.InlineQueryResultCachedDocument`\n - :class:`aiogram.types.inline_query_result_cached_gif.InlineQueryResultCachedGif`\n - :class:`aiogram.types.inline_query_result_cached_mpeg4_gif.InlineQueryResultCachedMpeg4Gif`\n - :class:`aiogram.types.inline_query_result_cached_photo.InlineQueryResultCachedPhoto`\n - :class:`aiogram.types.inline_query_result_cached_sticker.InlineQueryResultCachedSticker`\n - :class:`aiogram.types.inline_query_result_cached_video.InlineQueryResultCachedVideo`\n - :class:`aiogram.types.inline_query_result_cached_voice.InlineQueryResultCachedVoice`\n - :class:`aiogram.types.inline_query_result_article.InlineQueryResultArticle`\n - :class:`aiogram.types.inline_query_result_audio.InlineQueryResultAudio`\n - :class:`aiogram.types.inline_query_result_contact.InlineQueryResultContact`\n - :class:`aiogram.types.inline_query_result_game.InlineQueryResultGame`\n - :class:`aiogram.types.inline_query_result_document.InlineQueryResultDocument`\n - :class:`aiogram.types.inline_query_result_gif.InlineQueryResultGif`\n - :class:`aiogram.types.inline_query_result_location.InlineQueryResultLocation`\n - :class:`aiogram.types.inline_query_result_mpeg4_gif.InlineQueryResultMpeg4Gif`\n - :class:`aiogram.types.inline_query_result_photo.InlineQueryResultPhoto`\n - :class:`aiogram.types.inline_query_result_venue.InlineQueryResultVenue`\n - :class:`aiogram.types.inline_query_result_video.InlineQueryResultVideo`\n - :class:`aiogram.types.inline_query_result_voice.InlineQueryResultVoice`\n\n**Note:** All URLs passed in inline query results will be available to end users and therefore must be assumed to be **public**.",
|
||||
"annotations": [],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
2
.butcher/types/InlineQueryResult/replace.yml
Normal file
2
.butcher/types/InlineQueryResult/replace.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
bases:
|
||||
- MutableTelegramObject
|
||||
Loading…
Add table
Add a link
Reference in a new issue