Class: TD::Types::DeviceToken::ApplePush

Inherits:
TD::Types::DeviceToken show all
Defined in:
lib/tdlib/types/device_token/apple_push.rb

Overview

A token for Apple Push Notification service.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#device_tokenTD::Types::String?

Device token; may be empty to de-register a device.

Returns:

  • (TD::Types::String, nil)

    the current value of device_token



6
7
8
# File 'lib/tdlib/types/device_token/apple_push.rb', line 6

def device_token
  @device_token
end

#is_app_sandboxBoolean

True, if App Sandbox is enabled.

Returns:

  • (Boolean)

    the current value of is_app_sandbox



6
7
8
# File 'lib/tdlib/types/device_token/apple_push.rb', line 6

def is_app_sandbox
  @is_app_sandbox
end