Class: TD::Types::InlineQueryResults

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/inline_query_results.rb

Overview

Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#buttonTD::Types::InlineQueryResultsButton?

Button to be shown above inline query results; may be null.

Returns:



10
11
12
# File 'lib/tdlib/types/inline_query_results.rb', line 10

def button
  @button
end

#inline_query_idInteger

Unique identifier of the inline query.

Returns:

  • (Integer)

    the current value of inline_query_id



10
11
12
# File 'lib/tdlib/types/inline_query_results.rb', line 10

def inline_query_id
  @inline_query_id
end

#next_offsetTD::Types::String

The offset for the next request. If empty, then there are no more results.

Returns:

  • (TD::Types::String)

    the current value of next_offset



10
11
12
# File 'lib/tdlib/types/inline_query_results.rb', line 10

def next_offset
  @next_offset
end

#resultsArray<TD::Types::InlineQueryResult>

Results of the query.

Returns:



10
11
12
# File 'lib/tdlib/types/inline_query_results.rb', line 10

def results
  @results
end