Class TdApi.InputPassportElementError

  • Enclosing class:
    TdApi

    public static class TdApi.InputPassportElementError
    extends TdApi.Object
    Contains the description of an error in a Telegram Passport element; for bots only.
    • Constructor Detail

      • InputPassportElementError

        public InputPassportElementError()
        Contains the description of an error in a Telegram Passport element; for bots only.
      • InputPassportElementError

        public InputPassportElementError​(TdApi.PassportElementType type,
                                         String message,
                                         TdApi.InputPassportElementErrorSource source)
        Contains the description of an error in a Telegram Passport element; for bots only.
        Parameters:
        type - Type of Telegram Passport element that has the error.
        message - Error message.
        source - Error source.