Package org.drinkless.tdlib

# Class TdApi.DeviceToken

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DeviceToken

Direct Known Subclasses:
  `TdApi.DeviceTokenApplePush`, `TdApi.DeviceTokenApplePushVoIP`, `TdApi.DeviceTokenBlackBerryPush`, `TdApi.DeviceTokenFirebaseCloudMessaging`, `TdApi.DeviceTokenHuaweiPush`, `TdApi.DeviceTokenMicrosoftPush`, `TdApi.DeviceTokenMicrosoftPushVoIP`, `TdApi.DeviceTokenSimplePush`, `TdApi.DeviceTokenTizenPush`, `TdApi.DeviceTokenUbuntuPush`, `TdApi.DeviceTokenWebPush`, `TdApi.DeviceTokenWindowsPush`

Enclosing class:
  TdApi

public abstract static class TdApi.DeviceToken extends TdApi.Object
This class is an abstract base class. Represents a data needed to subscribe for push notifications through registerDevice method. To use specific push notification service, the correct application platform must be specified and a valid server authentication data must be uploaded at https://my.telegram.org.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static @interface`
  `TdApi.DeviceToken.Constructors`
  Describes possible values returned by getConstructor().

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DeviceToken()`
  Default class constructor.

- ## Method Summary

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

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

  `toString`

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

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

- ## Constructor Details

  - ### DeviceToken

    public DeviceToken()
    Default class constructor.

- ## Method Details

  - ### getConstructor

    public abstract 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:
      identifier uniquely determining type of the object.