class
TD::InlineQueryResults
- TD::InlineQueryResults
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/inline_query_results.crConstructors
- .new(inline_query_id : String, next_offset : String, results : Array(TD::InlineQueryResult), switch_pm_text : String, switch_pm_parameter : String)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #inline_query_id : String
- #inline_query_id=(inline_query_id : String)
- #next_offset : String
- #next_offset=(next_offset : String)
- #object_type : String
- #object_type=(object_type : String)
- #results : Array(TD::InlineQueryResult)
- #results=(results : Array(TD::InlineQueryResult))
- #switch_pm_parameter : String
- #switch_pm_parameter=(switch_pm_parameter : String)
- #switch_pm_text : String
- #switch_pm_text=(switch_pm_text : String)
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(inline_query_id : String, next_offset : String, results : Array(TD::InlineQueryResult), switch_pm_text : String, switch_pm_parameter : String)
#