Class TdApi.DeviceTokenApplePushVoIP
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.DeviceToken
dev.voroby.springframework.telegram.client.TdApi.DeviceTokenApplePushVoIP
- Enclosing class:
- TdApi
A token for Apple Push Notification service VoIP notifications.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Device token; may be empty to deregister a device.boolean
True, if push notifications must be additionally encrypted.boolean
True, if App Sandbox is enabled. -
Constructor Summary
ConstructorDescriptionA token for Apple Push Notification service VoIP notifications.DeviceTokenApplePushVoIP
(String deviceToken, boolean isAppSandbox, boolean encrypt) A token for Apple Push Notification service VoIP notifications. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
deviceToken
Device token; may be empty to deregister a device. -
isAppSandbox
public boolean isAppSandboxTrue, if App Sandbox is enabled. -
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
-
DeviceTokenApplePushVoIP
public DeviceTokenApplePushVoIP()A token for Apple Push Notification service VoIP notifications. -
DeviceTokenApplePushVoIP
A token for Apple Push Notification service VoIP notifications.- Parameters:
deviceToken
- Device token; may be empty to deregister a device.isAppSandbox
- True, if App Sandbox is enabled.encrypt
- True, if push notifications must be additionally encrypted.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-