class TelegramBot::InlineQueryResultPhoto

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_photo.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, photo_url : String, thumb_url : String, *, photo_width : Int32 | Nil = nil, photo_height : Int32 | Nil = nil, title : Nil | String = nil, description : Nil | String = nil, caption : Nil | String = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def caption : String | Nil #

def caption=(caption : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def photo_height : Int32 | Nil #

def photo_height=(photo_height : Int32 | Nil) #

def photo_url : String #

def photo_url=(photo_url : String) #

def photo_width : Int32 | Nil #

def photo_width=(photo_width : Int32 | Nil) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def thumb_url : String #

def thumb_url=(thumb_url : String) #

def title : String | Nil #

def title=(title : String | Nil) #

def type : String #

def type=(type : String) #