Package org.drinkless.tdlib
Class TdApi.DeviceTokenSimplePush
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.DeviceToken
-
- org.drinkless.tdlib.TdApi.DeviceTokenSimplePush
-
- Enclosing class:
- TdApi
public static class TdApi.DeviceTokenSimplePush extends TdApi.DeviceToken
A token for Simple Push API for Firefox OS.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringendpointAbsolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
-
Constructor Summary
Constructors Constructor Description DeviceTokenSimplePush()A token for Simple Push API for Firefox OS.DeviceTokenSimplePush(String endpoint)A token for Simple Push API for Firefox OS.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
endpoint
public String endpoint
Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeviceTokenSimplePush
public DeviceTokenSimplePush()
A token for Simple Push API for Firefox OS.
-
DeviceTokenSimplePush
public DeviceTokenSimplePush(String endpoint)
A token for Simple Push API for Firefox OS.- Parameters:
endpoint- Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-