Class PassportElementErrorTranslationFiles
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.TelegramPassport
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class PassportElementErrorTranslationFiles : PassportElementError
Properties
| Improve this Doc View SourceFileHashes
List of Base64-encoded file hashes
Declaration
[JsonProperty(PropertyName = "file_hashes", Required = Required.Always)]
public string[] FileHashes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Message
Error message
Declaration
[JsonProperty(PropertyName = "message", Required = Required.Always)]
public override string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceSource
Error source, must be translation_files
Declaration
[JsonProperty(PropertyName = "source", Required = Required.Always)]
public override string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceType
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
Declaration
public override EncryptedPassportElementType Type { get; set; }
Property Value
Type | Description |
---|---|
EncryptedPassportElementType |