class Tourmaline::InlineQueryResultGif

Defined in:

tourmaline/models/inline/inline_query_result_gif.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

Constructor Detail

def self.new(id : String, gif_url : String, gif_width : Int32 | Nil = nil, gif_height : Int32 | Nil = nil, gif_duration : Int32 | Nil = nil, thumbnail_url : String = nil, thumbnail_mime_type : Nil | String = nil, title : Nil | String = nil, caption : Nil | String = nil, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | 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 caption_entities : Array(MessageEntity) #

[View source]
def caption_entities=(caption_entities : Array(MessageEntity)) #

[View source]
def gif_duration : Int32 | Nil #

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

[View source]
def gif_height : Int32 | Nil #

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

[View source]
def gif_url : String #

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

[View source]
def gif_width : Int32 | Nil #

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

[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 parse_mode : ParseMode | Nil #

[View source]
def parse_mode=(parse_mode : ParseMode | Nil) #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

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

[View source]
def thumbnail_mime_type : String | Nil #

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

[View source]
def thumbnail_url : String #

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

[View source]
def title : String | Nil #

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

[View source]
def type : String #

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

[View source]