mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
In EncryptedMessageElementKind::translation: Vec<_> -> Option<Vec<_>>
This commit is contained in:
parent
fc68705d71
commit
b7e0a1c7d1
1 changed files with 9 additions and 9 deletions
|
@ -17,50 +17,50 @@ pub enum EncryptedPassportElementKind {
|
||||||
data: String,
|
data: String,
|
||||||
front_side: PassportFile,
|
front_side: PassportFile,
|
||||||
selfie: PassportFile,
|
selfie: PassportFile,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
DriverLicense {
|
DriverLicense {
|
||||||
data: String,
|
data: String,
|
||||||
front_side: PassportFile,
|
front_side: PassportFile,
|
||||||
reverse_side: PassportFile,
|
reverse_side: PassportFile,
|
||||||
selfie: PassportFile,
|
selfie: PassportFile,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
IdentityCard {
|
IdentityCard {
|
||||||
data: String,
|
data: String,
|
||||||
front_side: PassportFile,
|
front_side: PassportFile,
|
||||||
reverse_side: PassportFile,
|
reverse_side: PassportFile,
|
||||||
selfie: PassportFile,
|
selfie: PassportFile,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
InternalPassport {
|
InternalPassport {
|
||||||
data: String,
|
data: String,
|
||||||
front_side: PassportFile,
|
front_side: PassportFile,
|
||||||
selfie: PassportFile,
|
selfie: PassportFile,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
Address {
|
Address {
|
||||||
data: String
|
data: String
|
||||||
},
|
},
|
||||||
UtilityBill {
|
UtilityBill {
|
||||||
files: Vec<PassportFile>,
|
files: Vec<PassportFile>,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
BankStatement {
|
BankStatement {
|
||||||
files: Vec<PassportFile>,
|
files: Vec<PassportFile>,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
RentalAgreement {
|
RentalAgreement {
|
||||||
files: Vec<PassportFile>,
|
files: Vec<PassportFile>,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
PassportRegistration {
|
PassportRegistration {
|
||||||
files: Vec<PassportFile>,
|
files: Vec<PassportFile>,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
TemporaryRegistration {
|
TemporaryRegistration {
|
||||||
files: Vec<PassportFile>,
|
files: Vec<PassportFile>,
|
||||||
translation: Vec<PassportFile>
|
translation: Option<Vec<PassportFile>>
|
||||||
},
|
},
|
||||||
PhoneNumber { phone_number: String },
|
PhoneNumber { phone_number: String },
|
||||||
Email { email: String }
|
Email { email: String }
|
||||||
|
|
Loading…
Reference in a new issue