class TelegramBot::InlineQueryResultDocument

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, title : String, *, caption : Nil | String = nil, document_url : String, mime_type : String, description : Nil | String = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = 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 caption : String | Nil #

[View source]
def caption=(caption : String | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def document_url : String #

[View source]
def document_url=(document_url : String) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def input_message_content : InputMessageContent | Nil #

[View source]
def input_message_content=(input_message_content : InputMessageContent | Nil) #

[View source]
def mime_type : String #

[View source]
def mime_type=(mime_type : String) #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

[View source]
def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

[View source]
def thumb_height : Int32 | Nil #

[View source]
def thumb_height=(thumb_height : Int32 | Nil) #

[View source]
def thumb_url : String | Nil #

[View source]
def thumb_url=(thumb_url : String | Nil) #

[View source]
def thumb_width : Int32 | Nil #

[View source]
def thumb_width=(thumb_width : Int32 | Nil) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]