Class: Telegrammer::DataTypes::ChosenInlineResult
- Defined in:
- lib/telegrammer/data_types/chosen_inline_result.rb
Overview
Telegram ChosenInlineResult data type
See more at core.telegram.org/bots/api#choseninlineresult
Instance Attribute Summary collapse
-
#from ⇒ Telegrammer::DataTypes::User
The user that chose the result.
-
#query ⇒ String
The query that was used to obtain the result.
-
#result_id ⇒ String
The unique identifier for the result that was chosen.
Instance Attribute Details
#from ⇒ Telegrammer::DataTypes::User
The user that chose the result.
10 11 12 |
# File 'lib/telegrammer/data_types/chosen_inline_result.rb', line 10 def from @from end |
#query ⇒ String
The query that was used to obtain the result.
10 11 12 |
# File 'lib/telegrammer/data_types/chosen_inline_result.rb', line 10 def query @query end |
#result_id ⇒ String
The unique identifier for the result that was chosen.
10 11 12 |
# File 'lib/telegrammer/data_types/chosen_inline_result.rb', line 10 def result_id @result_id end |