Class: TD::Types::DeviceToken::ApplePushVoIP

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

Overview

A token for Apple Push Notification service VoIP notifications.

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



7
8
9
# File 'lib/tdlib/types/device_token/apple_push_vo_ip.rb', line 7

def device_token
  @device_token
end

#encryptBoolean

True, if push notifications should be additionally encrypted.

Returns:

  • (Boolean)

    the current value of encrypt



7
8
9
# File 'lib/tdlib/types/device_token/apple_push_vo_ip.rb', line 7

def encrypt
  @encrypt
end

#is_app_sandboxBoolean

True, if App Sandbox is enabled.

Returns:

  • (Boolean)

    the current value of is_app_sandbox



7
8
9
# File 'lib/tdlib/types/device_token/apple_push_vo_ip.rb', line 7

def is_app_sandbox
  @is_app_sandbox
end