Sha256: e42b60e37c02de5a592d6c99c61a5c5e7d5307b45a53652c93884e46e77afef1

Contents?: true

Size: 617 Bytes

Versions: 4

Compression:

Stored size: 617 Bytes

Contents

module TD::Types
  # A token for web Push API.
  #
  # @attr endpoint [String, nil] Absolute URL exposed by the push service where the application server can send push
  #   messages; may be empty to de-register a device.
  # @attr p256dh_base64url [String] Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.
  # @attr auth_base64url [String] Base64url-encoded authentication secret.
  class DeviceToken::WebPush < DeviceToken
    attribute :endpoint, TD::Types::String.optional.default(nil)
    attribute :p256dh_base64url, TD::Types::String
    attribute :auth_base64url, TD::Types::String
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/device_token/web_push.rb
tdlib-ruby-2.2.0 lib/tdlib/types/device_token/web_push.rb
tdlib-ruby-2.1.0 lib/tdlib/types/device_token/web_push.rb
tdlib-ruby-2.0.0 lib/tdlib/types/device_token/web_push.rb