Class TdApi.GetPushReceiverId
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.PushReceiverId>
dev.voroby.springframework.telegram.client.TdApi.GetPushReceiverId
- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.JSON-encoded push notification payload. -
Constructor Summary
ConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
payload
JSON-encoded push notification payload. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-