Module tdlight.api

Class TdApi.DeviceToken

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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

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.
  • Constructor Details

    • DeviceToken

      public DeviceToken()
      Default class constructor.