Module tdlight.api

Class TdApi.DeviceTokenHuaweiPush

Enclosing class:
TdApi

public static final class TdApi.DeviceTokenHuaweiPush extends TdApi.DeviceToken
A token for HUAWEI Push Service.
  • Field Details

    • token

      public String token
      Device registration token; may be empty to deregister a device.
    • encrypt

      public boolean encrypt
      True, if push notifications must be additionally encrypted.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • DeviceTokenHuaweiPush

      public DeviceTokenHuaweiPush()
      A token for HUAWEI Push Service.
    • DeviceTokenHuaweiPush

      public DeviceTokenHuaweiPush(String token, boolean encrypt)
      A token for HUAWEI Push Service.
      Parameters:
      token - String Device registration token; may be empty to deregister a device.
      encrypt - boolean True, if push notifications must be additionally encrypted.
    • DeviceTokenHuaweiPush

      public DeviceTokenHuaweiPush(DataInput input) throws IOException
      A token for HUAWEI Push Service.
      Throws:
      IOException
  • Method Details