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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    JSON-encoded push notification payload.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
    Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
    Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    int
     
    void
     

    Methods inherited from class it.tdlight.jni.TdApi.Function

    toString

    Methods inherited from class it.tdlight.jni.TdApi.Object

    serialize

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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