Class: TD::Types::Update::NewCustomQuery

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/new_custom_query.rb

Overview

A new incoming query; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dataTD::Types::String

JSON-serialized query data.

Returns:

  • (TD::Types::String)

    the current value of data



7
8
9
# File 'lib/tdlib/types/update/new_custom_query.rb', line 7

def data
  @data
end

#idInteger

The query identifier.

Returns:

  • (Integer)

    the current value of id



7
8
9
# File 'lib/tdlib/types/update/new_custom_query.rb', line 7

def id
  @id
end

#timeoutInteger

Query timeout.

Returns:

  • (Integer)

    the current value of timeout



7
8
9
# File 'lib/tdlib/types/update/new_custom_query.rb', line 7

def timeout
  @timeout
end