Class: TD::Types::DeviceToken::SimplePush

Inherits:
TD::Types::DeviceToken show all
Defined in:
lib/tdlib/types/device_token/simple_push.rb

Overview

A token for Simple Push API for Firefox OS.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#endpointTD::Types::String?

Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device.

Returns:

  • (TD::Types::String, nil)

    the current value of endpoint



6
7
8
# File 'lib/tdlib/types/device_token/simple_push.rb', line 6

def endpoint
  @endpoint
end