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 Details

    • payload

      public String 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

      public GetPushReceiverId​(String payload)
      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

      public GetPushReceiverId​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details