Class: TD::Types::DeviceToken::ApplePush
- Inherits:
-
TD::Types::DeviceToken
- Object
- Dry::Struct
- Base
- TD::Types::DeviceToken
- TD::Types::DeviceToken::ApplePush
- Defined in:
- lib/tdlib/types/device_token/apple_push.rb
Overview
A token for Apple Push Notification service.
Instance Attribute Summary collapse
-
#device_token ⇒ TD::Types::String?
Device token; may be empty to de-register a device.
-
#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.
6 7 8 |
# File 'lib/tdlib/types/device_token/apple_push.rb', line 6 def device_token @device_token end |
#is_app_sandbox ⇒ Boolean
True, if App Sandbox is enabled.
6 7 8 |
# File 'lib/tdlib/types/device_token/apple_push.rb', line 6 def is_app_sandbox @is_app_sandbox end |