Package org.drinkless.tdlib

# Class TdApi.AddLoginPasskey

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Passkey>
org.drinkless.tdlib.TdApi.AddLoginPasskey

Enclosing class:
  `TdApi`

public static class TdApi.AddLoginPasskey extends TdApi.Function<TdApi.Passkey>
Adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey.

Returns `Passkey`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function

  `TdApi.Function.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `byte[]`
  `attestationObject`
  Passkey attestation object.
  `String`
  `clientData`
  JSON-encoded client data.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AddLoginPasskey()`
  Default constructor for a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey.
  `AddLoginPasskey(String clientData, byte[] attestationObject)`
  Creates a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Function

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### clientData

    public String clientData
    JSON-encoded client data.

  - ### attestationObject

    public byte[] attestationObject
    Passkey attestation object.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### AddLoginPasskey

    public AddLoginPasskey()
    Default constructor for a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey.

    Returns `Passkey`

  - ### AddLoginPasskey

    public AddLoginPasskey(String clientData, byte[] attestationObject)
    Creates a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey.

    Returns `Passkey`

    Parameters:
      `clientData` - JSON-encoded client data.
      `attestationObject` - Passkey attestation object.

- ## 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.Function<TdApi.Passkey>`
    Returns:
      this.CONSTRUCTOR