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
51
.butcher/types/ShippingQuery/entity.json
Normal file
51
.butcher/types/ShippingQuery/entity.json
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"meta": {
|
||||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Payments",
|
||||
"anchor": "payments"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "shippingquery",
|
||||
"name": "ShippingQuery",
|
||||
"description": "This object contains information about an incoming shipping query.",
|
||||
"html_description": "<p>This object contains information about an incoming shipping query.</p>",
|
||||
"rst_description": "This object contains information about an incoming shipping query.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Unique query identifier",
|
||||
"html_description": "<td>Unique query identifier</td>",
|
||||
"rst_description": "Unique query identifier\n",
|
||||
"name": "id",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "User",
|
||||
"description": "User who sent the query",
|
||||
"html_description": "<td>User who sent the query</td>",
|
||||
"rst_description": "User who sent the query\n",
|
||||
"name": "from",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Bot specified invoice payload",
|
||||
"html_description": "<td>Bot specified invoice payload</td>",
|
||||
"rst_description": "Bot specified invoice payload\n",
|
||||
"name": "invoice_payload",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "ShippingAddress",
|
||||
"description": "User specified shipping address",
|
||||
"html_description": "<td>User specified shipping address</td>",
|
||||
"rst_description": "User specified shipping address\n",
|
||||
"name": "shipping_address",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue