public static class TdApi.DeviceTokenWebPush extends TdApi.DeviceToken
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
authBase64url
Base64url-encoded authentication secret.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
endpoint
Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
|
java.lang.String |
p256dhBase64url
Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.
|
| Constructor and Description |
|---|
DeviceTokenWebPush()
A token for web Push API.
|
DeviceTokenWebPush(java.lang.String endpoint,
java.lang.String p256dhBase64url,
java.lang.String authBase64url)
A token for web Push API.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String endpoint
public java.lang.String p256dhBase64url
public java.lang.String authBase64url
public static final int CONSTRUCTOR
public DeviceTokenWebPush()
public DeviceTokenWebPush(java.lang.String endpoint,
java.lang.String p256dhBase64url,
java.lang.String authBase64url)
endpoint - Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.p256dhBase64url - Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.authBase64url - Base64url-encoded authentication secret.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object