Class TdApi.PassportRequiredElement

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PassportRequiredElement
Enclosing class:
TdApi

public static class TdApi.PassportRequiredElement extends TdApi.Object
Contains a description of the required Telegram Passport element that was requested by a service.
  • Field Details

    • suitableElements

      public TdApi.PassportSuitableElement[] suitableElements
      List of Telegram Passport elements any of which is enough to provide.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PassportRequiredElement

      public PassportRequiredElement()
      Contains a description of the required Telegram Passport element that was requested by a service.
    • PassportRequiredElement

      public PassportRequiredElement(TdApi.PassportSuitableElement[] suitableElements)
      Contains a description of the required Telegram Passport element that was requested by a service.
      Parameters:
      suitableElements - List of Telegram Passport elements any of which is enough to provide.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR