Show / Hide Table of Contents

Class PassportElementErrorFile

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.

Inheritance
System.Object
PassportElementError
PassportElementErrorFile
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 PassportElementErrorFile : PassportElementError

Properties

| Improve this Doc View Source

FileHash

Base64-encoded file hash

Declaration
[JsonProperty(PropertyName = "file_hash", Required = Required.Always)]
public string FileHash { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Message

Error message

Declaration
[JsonProperty(PropertyName = "message", Required = Required.Always)]
public override string Message { get; set; }
Property Value
Type Description
System.String
Overrides
PassportElementError.Message
| Improve this Doc View Source

Source

Error source, must be file

Declaration
[JsonProperty(PropertyName = "source", Required = Required.Always)]
public override string Source { get; set; }
Property Value
Type Description
System.String
Overrides
PassportElementError.Source
| Improve this Doc View Source

Type

The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”

Declaration
public override EncryptedPassportElementType Type { get; set; }
Property Value
Type Description
EncryptedPassportElementType
Overrides
PassportElementError.Type
  • Improve this Doc
  • View Source
Back to top Generated by DocFX