Package it.tdlight.jni
Class TdApi.GetPushReceiverId
- Enclosing class:
- TdApi
public static class TdApi.GetPushReceiverId extends TdApi.Function<TdApi.PushReceiverId>
Returns a globally unique push
notification subscription identifier
for identification of an account,
which has received a push notification.
Can be called synchronously.
Returns PushReceiverId
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
payload
JSON-encoded push notification payload. -
Constructor Summary
Constructors Constructor Description GetPushReceiverId()
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.GetPushReceiverId(DataInput input)
GetPushReceiverId(String payload)
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
payload
JSON-encoded push notification payload. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetPushReceiverId
public GetPushReceiverId()Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification. Can be called synchronously.Returns
PushReceiverId
-
GetPushReceiverId
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification. Can be called synchronously.Returns
PushReceiverId
- Parameters:
payload
- String JSON-encoded push notification payload.
-
GetPushReceiverId
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-