class TD::InlineQueryResults

Included Modules

Defined in:

telegram/types/inline_query_results.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def inline_query_id : String #

def inline_query_id=(inline_query_id : String) #

def next_offset : String #

def next_offset=(next_offset : String) #

def object_type : String #

def object_type=(object_type : String) #

def results : Array(TD::InlineQueryResult) #

def results=(results : Array(TD::InlineQueryResult)) #

def switch_pm_parameter : String #

def switch_pm_parameter=(switch_pm_parameter : String) #

def switch_pm_text : String #

def switch_pm_text=(switch_pm_text : String) #