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,18 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Inline mode",
"anchor": "inline-mode"
},
"object": {
"anchor": "inputmessagecontent",
"name": "InputMessageContent",
"description": "This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:\n - InputTextMessageContent\n - InputLocationMessageContent\n - InputVenueMessageContent\n - InputContactMessageContent\n - InputInvoiceMessageContent",
"html_description": "<p>This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:</p><ul>\n<li><a href=\"#inputtextmessagecontent\">InputTextMessageContent</a></li>\n<li><a href=\"#inputlocationmessagecontent\">InputLocationMessageContent</a></li>\n<li><a href=\"#inputvenuemessagecontent\">InputVenueMessageContent</a></li>\n<li><a href=\"#inputcontactmessagecontent\">InputContactMessageContent</a></li>\n<li><a href=\"#inputinvoicemessagecontent\">InputInvoiceMessageContent</a></li>\n</ul>",
"rst_description": "This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:\n\n - :class:`aiogram.types.input_text_message_content.InputTextMessageContent`\n - :class:`aiogram.types.input_location_message_content.InputLocationMessageContent`\n - :class:`aiogram.types.input_venue_message_content.InputVenueMessageContent`\n - :class:`aiogram.types.input_contact_message_content.InputContactMessageContent`\n - :class:`aiogram.types.input_invoice_message_content.InputInvoiceMessageContent`",
"annotations": [],
"category": "types"
}
}

View file

@ -0,0 +1,2 @@
bases:
- MutableTelegramObject