Class: Telegrammer::DataTypes::InlineQuery
- Defined in:
- lib/telegrammer/data_types/inline_query.rb
Overview
Telegram InlineQuery data type
See more at core.telegram.org/bots/api#inlinequery
Instance Attribute Summary collapse
-
#from ⇒ Telegrammer::DataTypes::User
Sender.
-
#id ⇒ String
Unique identifier for this query.
-
#offset ⇒ String
Offset of the results to be returned, can be controlled by the bot.
-
#query ⇒ String
Text of the query.
Instance Attribute Details
#from ⇒ Telegrammer::DataTypes::User
Sender
11 12 13 |
# File 'lib/telegrammer/data_types/inline_query.rb', line 11 def from @from end |
#id ⇒ String
Unique identifier for this query
11 12 13 |
# File 'lib/telegrammer/data_types/inline_query.rb', line 11 def id @id end |
#offset ⇒ String
Offset of the results to be returned, can be controlled by the bot
11 12 13 |
# File 'lib/telegrammer/data_types/inline_query.rb', line 11 def offset @offset end |
#query ⇒ String
Text of the query
11 12 13 |
# File 'lib/telegrammer/data_types/inline_query.rb', line 11 def query @query end |