Class TdApi.GetAllPassportElements

Enclosing class:
TdApi

public static class TdApi.GetAllPassportElements extends TdApi.Function<TdApi.PassportElements>
Returns all available Telegram Passport elements.

Returns PassportElements

  • Field Details

    • password

      public String password
      The 2-step verification password of the current user.
    • CONSTRUCTOR

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

    • GetAllPassportElements

      public GetAllPassportElements()
      Default constructor for a function, which returns all available Telegram Passport elements.

      Returns PassportElements

    • GetAllPassportElements

      public GetAllPassportElements(String password)
      Creates a function, which returns all available Telegram Passport elements.

      Returns PassportElements

      Parameters:
      password - The 2-step verification password of the current user.
  • Method Details