Class: TD::Types::DeviceToken::WebPush
- Inherits:
-
TD::Types::DeviceToken
- Object
- Dry::Struct
- Base
- TD::Types::DeviceToken
- TD::Types::DeviceToken::WebPush
- Defined in:
- lib/tdlib/types/device_token/web_push.rb
Overview
A token for web Push API.
Instance Attribute Summary collapse
-
#auth_base64url ⇒ TD::Types::String
Base64url-encoded authentication secret.
-
#endpoint ⇒ TD::Types::String?
Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device.
-
#p256dh_base64url ⇒ TD::Types::String
Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.
Method Summary
Methods inherited from Base
Instance Attribute Details
#auth_base64url ⇒ TD::Types::String
Base64url-encoded authentication secret.
8 9 10 |
# File 'lib/tdlib/types/device_token/web_push.rb', line 8 def auth_base64url @auth_base64url end |
#endpoint ⇒ TD::Types::String?
Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device.
8 9 10 |
# File 'lib/tdlib/types/device_token/web_push.rb', line 8 def endpoint @endpoint end |
#p256dh_base64url ⇒ TD::Types::String
Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.
8 9 10 |
# File 'lib/tdlib/types/device_token/web_push.rb', line 8 def p256dh_base64url @p256dh_base64url end |