Class: TD::Types::DeviceToken::FirebaseCloudMessaging
- Inherits:
-
TD::Types::DeviceToken
- Object
- Dry::Struct
- Base
- TD::Types::DeviceToken
- TD::Types::DeviceToken::FirebaseCloudMessaging
- Defined in:
- lib/tdlib/types/device_token/firebase_cloud_messaging.rb
Overview
A token for Firebase Cloud Messaging.
Instance Attribute Summary collapse
-
#encrypt ⇒ Boolean
True, if push notifications should be additionally encrypted.
-
#token ⇒ TD::Types::String?
Device registration token; may be empty to de-register a device.
Method Summary
Methods inherited from Base
Instance Attribute Details
#encrypt ⇒ Boolean
True, if push notifications should be additionally encrypted.
6 7 8 |
# File 'lib/tdlib/types/device_token/firebase_cloud_messaging.rb', line 6 def encrypt @encrypt end |
#token ⇒ TD::Types::String?
Device registration token; may be empty to de-register a device.
6 7 8 |
# File 'lib/tdlib/types/device_token/firebase_cloud_messaging.rb', line 6 def token @token end |