Package org.drinkless.tdlib
Class TdApi.GetPushReceiverId
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetPushReceiverId
-
- Enclosing class:
- TdApi
public static class TdApi.GetPushReceiverId extends TdApi.Function
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 intCONSTRUCTORIdentifier uniquely determining type of the object.StringpayloadJSON-encoded push notification payload.
-
Constructor Summary
Constructors Constructor Description GetPushReceiverId()Default constructor for a function, which returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.GetPushReceiverId(String payload)Creates a function, which returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
payload
public String payload
JSON-encoded push notification payload.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetPushReceiverId
public GetPushReceiverId()
Default constructor for a function, which 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
public GetPushReceiverId(String payload)
Creates a function, which 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- JSON-encoded push notification payload.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-