Class: TD::Types::StatisticalGraph::Data

Inherits:
TD::Types::StatisticalGraph show all
Defined in:
lib/tdlib/types/statistical_graph/data.rb

Overview

A graph data.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#json_dataTD::Types::String

Graph data in JSON format.

Returns:

  • (TD::Types::String)

    the current value of json_data



6
7
8
# File 'lib/tdlib/types/statistical_graph/data.rb', line 6

def json_data
  @json_data
end

#zoom_tokenTD::Types::String

If non-empty, a token which can be used to receive a zoomed in graph.

Returns:

  • (TD::Types::String)

    the current value of zoom_token



6
7
8
# File 'lib/tdlib/types/statistical_graph/data.rb', line 6

def zoom_token
  @zoom_token
end