Show / Hide Table of Contents

Class PassportElementError

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of: PassportElementErrorDataField, PassportElementErrorFrontSide, PassportElementErrorReverseSide, PassportElementErrorSelfie, PassportElementErrorFile, PassportElementErrorFiles, PassportElementErrorTranslationFile, PassportElementErrorTranslationFiles, PassportElementErrorUnspecified

Inheritance
System.Object
PassportElementError
PassportElementErrorDataField
PassportElementErrorFile
PassportElementErrorFiles
PassportElementErrorFrontSide
PassportElementErrorReverseSide
PassportElementErrorSelfie
PassportElementErrorTranslationFile
PassportElementErrorTranslationFiles
PassportElementErrorUnspecified
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
public abstract class PassportElementError

Properties

| Improve this Doc View Source

Message

Error message

Declaration
public abstract string Message { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Source

Error source

Declaration
public abstract string Source { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

The section of the user's Telegram Passport which has the error

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