class
TD::InputInlineQueryResult::Photo
Included Modules
- JSON::Serializable
Defined in:
telegram/types/input_inline_query_result/photo.crConstructors
- .new(id : String, title : String, description : String, thumbnail_url : String, photo_url : String, photo_width : Int32, photo_height : Int32, reply_markup : TD::ReplyMarkup, input_message_content : TD::InputMessageContent)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #description : String
- #description=(description : String)
- #id : String
- #id=(id : String)
- #input_message_content : TD::InputMessageContent
- #input_message_content=(input_message_content : TD::InputMessageContent)
- #object_type : String
- #object_type=(object_type : String)
- #photo_height : Int32
- #photo_height=(photo_height : Int32)
- #photo_url : String
- #photo_url=(photo_url : String)
- #photo_width : Int32
- #photo_width=(photo_width : Int32)
- #reply_markup : TD::ReplyMarkup
- #reply_markup=(reply_markup : TD::ReplyMarkup)
- #thumbnail_url : String
- #thumbnail_url=(thumbnail_url : String)
- #title : String
- #title=(title : 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(id : String, title : String, description : String, thumbnail_url : String, photo_url : String, photo_width : Int32, photo_height : Int32, reply_markup : TD::ReplyMarkup, input_message_content : TD::InputMessageContent)
#