class TelegramBot::InlineQueryResultArticle

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_article.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InlineQueryResult

to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(id : String, title : String, input_message_content : InputMessageContent, *, reply_markup : InlineKeyboardMarkup | Nil = nil, url : String | Nil = nil, description : Nil | String = nil, thumbnail_url : Nil | String = nil, thumbnail_width : Int32 | Nil = nil, thumbnail_height : Int32 | Nil = nil) #

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

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def description : String | Nil #

def description=(description : String | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent #

def input_message_content=(input_message_content : InputMessageContent) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def thumbnail_height : Int32 | Nil #

def thumbnail_height=(thumbnail_height : Int32 | Nil) #

def thumbnail_url : String | Nil #

def thumbnail_url=(thumbnail_url : String | Nil) #

def thumbnail_width : Int32 | Nil #

def thumbnail_width=(thumbnail_width : Int32 | Nil) #

def title : String #

def title=(title : String) #

def type : String #

def type=(type : String) #

def url : String | Nil #

def url=(url : String | Nil) #