Sha256: 1bf159c63283499c63bce760cf0c0ac953650aa0815b1d64093405ad40b13061

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

module TD::Types
  # Represents a data needed to subscribe for push notifications.
  # To use specific push notification service, you must specify the correct application platform and upload valid
  #   server authentication data at https://my.telegram.org.
  class DeviceToken < Base
    %w[
      google_cloud_messaging
      apple_push
      apple_push_vo_ip
      windows_push
      microsoft_push
      microsoft_push_vo_ip
      web_push
      simple_push
      ubuntu_push
      black_berry_push
      tizen_push
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/device_token/#{type}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/device_token.rb