public static class TdApi.ProcessPushNotification extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
payload
JSON-encoded push notification payload with all fields sent by the server, and "google.sentTime" and "google.notification.sound" fields added.
|
| Constructor and Description |
|---|
ProcessPushNotification()
Default constructor for a function, which handles a push notification.
|
ProcessPushNotification(java.lang.String payload)
Creates a function, which handles a push notification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String payload
public static final int CONSTRUCTOR
public ProcessPushNotification()
Returns Ok
public ProcessPushNotification(java.lang.String payload)
Returns Ok
payload - JSON-encoded push notification payload with all fields sent by the server, and "google.sentTime" and "google.notification.sound" fields added.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object