Package it.tdlight.jni
Class TdApi.PushReceiverId
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushReceiverId
- Enclosing class:
- TdApi
public static class TdApi.PushReceiverId extends TdApi.Object
Contains a globally unique push receiver
identifier, which can be used to
identify which account has received
a push notification.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
id
The globally unique identifier of push notification subscription. -
Constructor Summary
Constructors Constructor Description PushReceiverId()
Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.PushReceiverId(long id)
Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.PushReceiverId(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idThe globally unique identifier of push notification subscription. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PushReceiverId
public PushReceiverId()Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification. -
PushReceiverId
public PushReceiverId(long id)Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.- Parameters:
id
- long The globally unique identifier of push notification subscription.
-
PushReceiverId
- 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()
-