mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +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/InputMessageContent/entity.json
Normal file
18
.butcher/types/InputMessageContent/entity.json
Normal 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"
|
||||
}
|
||||
}
|
||||
2
.butcher/types/InputMessageContent/replace.yml
Normal file
2
.butcher/types/InputMessageContent/replace.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
bases:
|
||||
- MutableTelegramObject
|
||||
Loading…
Add table
Add a link
Reference in a new issue