public static class TdApi.DeviceTokenHuaweiPush extends TdApi.DeviceToken
| 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 |
|---|
DeviceTokenHuaweiPush()
A token for HUAWEI Push Service.
|
DeviceTokenHuaweiPush(java.lang.String token,
boolean encrypt)
A token for HUAWEI Push Service.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String token
public boolean encrypt
public static final int CONSTRUCTOR
public DeviceTokenHuaweiPush()
public DeviceTokenHuaweiPush(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()
TdApi.ObjectgetConstructor in class TdApi.Object