public static class TdApi.DeviceTokenFirebaseCloudMessaging extends TdApi.DeviceToken
TdApi.DeviceToken.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
encrypt
True, if push notifications must be additionally encrypted.
|
java.lang.String |
token
Device registration token; may be empty to deregister a device.
|
Constructor and Description |
---|
DeviceTokenFirebaseCloudMessaging()
A token for Firebase Cloud Messaging.
|
DeviceTokenFirebaseCloudMessaging(java.lang.String token,
boolean encrypt)
A token for Firebase Cloud Messaging.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String token
public boolean encrypt
public static final int CONSTRUCTOR
public DeviceTokenFirebaseCloudMessaging()
public DeviceTokenFirebaseCloudMessaging(java.lang.String token, boolean encrypt)
token
- Device registration token; may be empty to deregister a device.encrypt
- True, if push notifications must be additionally encrypted.public int getConstructor()
getConstructor
in class TdApi.DeviceToken