Class: TD::Types::DeviceToken

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/device_token.rb

Overview

Represents a data needed to subscribe for push notifications through registerDevice method. To use specific push notification service, the correct application platform must be specified and a valid server

authentication data must be uploaded at https://my.telegram.org.

Defined Under Namespace

Classes: ApplePush, ApplePushVoIP, BlackBerryPush, FirebaseCloudMessaging, HuaweiPush, MicrosoftPush, MicrosoftPushVoIP, SimplePush, TizenPush, UbuntuPush, WebPush, WindowsPush

Method Summary

Methods inherited from Base

#to_hash, #to_json