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
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 ClassesModifier and TypeClassDescriptionstatic @interfaceDescribes possible values returned by getConstructor(). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Constructor Details
-
DeviceToken
public DeviceToken()Default class constructor.
-
-
Method Details
-
getConstructor
public abstract int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- identifier uniquely determining type of the object.
-