class TelegramBot::InlineQueryResultGif

Defined in:

telegram_bot/types/inline/inline_query_result_gif.cr

Constant Summary

FIELDS = {type: {type: String, mustbe: "gif"}, id: String, gif_url: String, gif_width: {type: Int32, nilable: true}, gif_height: {type: Int32, nilable: true}, gif_duration: {type: Int32, nilable: true}, thumb_url: String, title: {type: String, nilable: true}, caption: {type: String, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}}

Constructors

Constructor Detail

def self.new(id : String, gif_url : String, thumb_url : String, gif_width : Int32 | Nil = nil, gif_height : Int32 | Nil = nil, gif_duration : Int32 | Nil = nil, title : String | Nil = nil, caption : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil) #

[View source]