Class: TD::Types::DeviceToken::ApplePushVoIP
- Inherits:
-
TD::Types::DeviceToken
- Object
- Dry::Struct
- Base
- TD::Types::DeviceToken
- TD::Types::DeviceToken::ApplePushVoIP
- 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
-
#device_token ⇒ TD::Types::String?
Device token; may be empty to de-register a device.
-
#encrypt ⇒ Boolean
True, if push notifications should be additionally encrypted.
-
#is_app_sandbox ⇒ Boolean
True, if App Sandbox is enabled.
Method Summary
Methods inherited from Base
Instance Attribute Details
#device_token ⇒ TD::Types::String?
Device token; may be empty to de-register a device.
7 8 9 |
# File 'lib/tdlib/types/device_token/apple_push_vo_ip.rb', line 7 def device_token @device_token end |
#encrypt ⇒ Boolean
True, if push notifications should be additionally encrypted.
7 8 9 |
# File 'lib/tdlib/types/device_token/apple_push_vo_ip.rb', line 7 def encrypt @encrypt end |
#is_app_sandbox ⇒ Boolean
True, if App Sandbox is enabled.
7 8 9 |
# File 'lib/tdlib/types/device_token/apple_push_vo_ip.rb', line 7 def is_app_sandbox @is_app_sandbox end |