Class 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 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.