Sha256: 1f2a9283f2500fccdb43411c519521e1793ba05b2dbefd0135b3994a0c83fb33

Contents?: true

Size: 650 Bytes

Versions: 2

Compression:

Stored size: 650 Bytes

Contents

module TD::Types
  # A token for web Push API.
  #
  # @attr endpoint [TD::Types::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 [TD::Types::String] Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.
  # @attr auth_base64url [TD::Types::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

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/device_token/web_push.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/device_token/web_push.rb