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, you must specify the correct application platform and upload valid server authentication data at https://my.telegram.org.

Defined Under Namespace

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

Method Summary

Methods inherited from Base

#to_hash, #to_json