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

#data ⇒ String

JSON-serialized query data.

Returns:

  • (String) —

    the current value of data



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

def data
  @data
end

#id ⇒ Integer

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

#timeout ⇒ Integer

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