class Tourmaline::InlineQueryResultArticle

Defined in:

tourmaline/models/inline/inline_query_result_article.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Tourmaline::InlineQueryResult

new(pull : JSON::PullParser) new

Class methods inherited from class Tourmaline::InlineQueryResult

build(&) build

Instance methods inherited from module Tourmaline::Model

client : Tourmaline::Client client, client=(client : Tourmaline::Client) client=, client? : Tourmaline::Client | Nil client?, finish_init(client : Tourmaline::Client) finish_init

Constructor Detail

def self.new(id : String, title : String, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, url : Nil | String = nil, hide_url : Bool | Nil = nil, description : Nil | String = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil) #

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

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def hide_url : Bool | Nil #

[View source]
def id : String #

[View source]
def input_message_content : InputMessageContent #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

[View source]
def thumb_height : Int32 | Nil #

[View source]
def thumb_url : String | Nil #

[View source]
def thumb_width : Int32 | Nil #

[View source]
def title : String #

[View source]
def type : String #

[View source]
def url : String | Nil #

[View source]