Class TdApi.PassportElementError

  • Enclosing class:
    TdApi

    public static class TdApi.PassportElementError
    extends TdApi.Object
    Contains the description of an error in a Telegram Passport element.
    • Constructor Detail

      • PassportElementError

        public PassportElementError()
        Contains the description of an error in a Telegram Passport element.
      • PassportElementError

        public PassportElementError​(TdApi.PassportElementType type,
                                    String message,
                                    TdApi.PassportElementErrorSource source)
        Contains the description of an error in a Telegram Passport element.
        Parameters:
        type - Type of the Telegram Passport element which has the error.
        message - Error message.
        source - Error source.