Module tdlight.api

Class TdApi.GetPushReceiverId

Enclosing class:
TdApi

public static final 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:
  • 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
      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

      Throws:
      IOException
  • Method Details