Class TdApi.DeviceTokenSimplePush

Enclosing class:
TdApi

public static class TdApi.DeviceTokenSimplePush extends TdApi.DeviceToken
A token for Simple Push API for Firefox OS.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
  • Constructor Summary

    Constructors
    Constructor
    Description
    A token for Simple Push API for Firefox OS.
    A token for Simple Push API for Firefox OS.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • endpoint

      public String endpoint
      Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • DeviceTokenSimplePush

      public DeviceTokenSimplePush()
      A token for Simple Push API for Firefox OS.
    • DeviceTokenSimplePush

      public DeviceTokenSimplePush(String endpoint)
      A token for Simple Push API for Firefox OS.
      Parameters:
      endpoint - Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR