Sha256: a0aad5e499692f9e911d5bb578788f95038d5bf316353dc450c123d20fb10d61

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

module TD::Types
  # A token for Firebase Cloud Messaging.
  #
  # @attr token [String, nil] Device registration token; may be empty to de-register a device.
  # @attr encrypt [Boolean] True, if push notifications should be additionally encrypted.
  class DeviceToken::FirebaseCloudMessaging < DeviceToken
    attribute :token, TD::Types::String.optional.default(nil)
    attribute :encrypt, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

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