mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed subtypes and union types generation, new enums added (#1213)
* Fixed subtypes and union types generation, new enums added * Added changes description
This commit is contained in:
parent
a7b92bb050
commit
31c11c31e0
115 changed files with 680 additions and 359 deletions
10
.butcher/enums/EncryptedPassportElement.yml
Normal file
10
.butcher/enums/EncryptedPassportElement.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
name: EncryptedPassportElement
|
||||
description: |
|
||||
This object represents type of encrypted passport element.
|
||||
|
||||
Source: https://core.telegram.org/bots/api#encryptedpassportelement
|
||||
parse:
|
||||
entity: EncryptedPassportElement
|
||||
category: types
|
||||
attribute: type
|
||||
regexp: "'([a-z_]+)'"
|
||||
18
.butcher/enums/PassportElementErrorType.yml
Normal file
18
.butcher/enums/PassportElementErrorType.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: PassportElementErrorType
|
||||
description: |
|
||||
This object represents a passport element error type.
|
||||
|
||||
Source: https://core.telegram.org/bots/api#passportelementerror
|
||||
multi_parse:
|
||||
attribute: source
|
||||
regexp: 'must be ([a-z_]+)'
|
||||
entities:
|
||||
- PassportElementErrorDataField
|
||||
- PassportElementErrorFrontSide
|
||||
- PassportElementErrorReverseSide
|
||||
- PassportElementErrorSelfie
|
||||
- PassportElementErrorFile
|
||||
- PassportElementErrorFiles
|
||||
- PassportElementErrorTranslationFile
|
||||
- PassportElementErrorTranslationFiles
|
||||
- PassportElementErrorUnspecified
|
||||
Loading…
Add table
Add a link
Reference in a new issue