public static class TdApi.ProcessPushNotification extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function