Class: TD::Types::InlineQueryResults
- 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
-
#inline_query_id ⇒ Integer
Unique identifier of the inline query.
-
#next_offset ⇒ TD::Types::String
The offset for the next request.
-
#results ⇒ Array<TD::Types::InlineQueryResult>
Results of the query.
-
#switch_pm_parameter ⇒ TD::Types::String
Parameter for the bot start message.
-
#switch_pm_text ⇒ TD::Types::String
If non-empty, this text should be shown on the button, which opens a private chat with the bot and sends the bot a start message with the switch_pm_parameter.
Method Summary
Methods inherited from Base
Instance Attribute Details
#inline_query_id ⇒ Integer
Unique identifier of the inline query.
12 13 14 |
# File 'lib/tdlib/types/inline_query_results.rb', line 12 def inline_query_id @inline_query_id end |
#next_offset ⇒ TD::Types::String
The offset for the next request. If empty, there are no more results.
12 13 14 |
# File 'lib/tdlib/types/inline_query_results.rb', line 12 def next_offset @next_offset end |
#results ⇒ Array<TD::Types::InlineQueryResult>
Results of the query.
12 13 14 |
# File 'lib/tdlib/types/inline_query_results.rb', line 12 def results @results end |
#switch_pm_parameter ⇒ TD::Types::String
Parameter for the bot start message.
12 13 14 |
# File 'lib/tdlib/types/inline_query_results.rb', line 12 def switch_pm_parameter @switch_pm_parameter end |
#switch_pm_text ⇒ TD::Types::String
If non-empty, this text should be shown on the button, which opens a private chat with the bot and sends the bot a start message with the switch_pm_parameter.
12 13 14 |
# File 'lib/tdlib/types/inline_query_results.rb', line 12 def switch_pm_text @switch_pm_text end |