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
43
.butcher/types/EncryptedCredentials/entity.json
Normal file
43
.butcher/types/EncryptedCredentials/entity.json
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"meta": {
|
||||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Telegram Passport",
|
||||
"anchor": "telegram-passport"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "encryptedcredentials",
|
||||
"name": "EncryptedCredentials",
|
||||
"description": "Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.",
|
||||
"html_description": "<p>Describes data required for decrypting and authenticating <a href=\"#encryptedpassportelement\">EncryptedPassportElement</a>. See the <a href=\"/passport#receiving-information\">Telegram Passport Documentation</a> for a complete description of the data decryption and authentication processes.</p>",
|
||||
"rst_description": "Describes data required for decrypting and authenticating :class:`aiogram.types.encrypted_passport_element.EncryptedPassportElement`. See the `Telegram Passport Documentation <https://core.telegram.org/passport#receiving-information>`_ for a complete description of the data decryption and authentication processes.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication",
|
||||
"html_description": "<td>Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for <a href=\"#encryptedpassportelement\">EncryptedPassportElement</a> decryption and authentication</td>",
|
||||
"rst_description": "Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for :class:`aiogram.types.encrypted_passport_element.EncryptedPassportElement` decryption and authentication\n",
|
||||
"name": "data",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Base64-encoded data hash for data authentication",
|
||||
"html_description": "<td>Base64-encoded data hash for data authentication</td>",
|
||||
"rst_description": "Base64-encoded data hash for data authentication\n",
|
||||
"name": "hash",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption",
|
||||
"html_description": "<td>Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption</td>",
|
||||
"rst_description": "Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption\n",
|
||||
"name": "secret",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue