Package org.drinkless.tdlib
Class TdApi.DeviceTokenHuaweiPush
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DeviceToken
org.drinkless.tdlib.TdApi.DeviceTokenHuaweiPush
- Enclosing class:
- TdApi
A token for HUAWEI Push Service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if push notifications must be additionally encrypted.Device registration token; may be empty to deregister a device. -
Constructor Summary
ConstructorsConstructorDescriptionA token for HUAWEI Push Service.DeviceTokenHuaweiPush(String token, boolean encrypt) A token for HUAWEI Push Service. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
token
Device registration token; may be empty to deregister a device. -
encrypt
public boolean encryptTrue, if push notifications must be additionally encrypted. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DeviceTokenHuaweiPush
public DeviceTokenHuaweiPush()A token for HUAWEI Push Service. -
DeviceTokenHuaweiPush
A token for HUAWEI Push Service.- Parameters:
token- Device registration token; may be empty to deregister a device.encrypt- True, if push notifications must be additionally encrypted.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-