class TelegramBot::InlineQueryResultMpeg4Gif

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_mpeg4_gif.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, mpeg4_url : String, *, mpeg4_width : Int32 | Nil = nil, mpeg4_height : Int32 | Nil = nil, mpeg4_duration : Int32 | Nil = nil, thumbnail_url : String, thumbnail_mime_type : String | Nil = nil, title : String | Nil = nil, caption : String | Nil = nil, parse_mode : String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil, show_caption_above_media : Bool | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil) #

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

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

Instance Method Detail

def caption : String | Nil #

def caption=(caption : String | Nil) #

def caption_entities : Array(MessageEntity) | Nil #

def caption_entities=(caption_entities : Array(MessageEntity) | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def mpeg4_duration : Int32 | Nil #

def mpeg4_duration=(mpeg4_duration : Int32 | Nil) #

def mpeg4_height : Int32 | Nil #

def mpeg4_height=(mpeg4_height : Int32 | Nil) #

def mpeg4_url : String #

def mpeg4_url=(mpeg4_url : String) #

def mpeg4_width : Int32 | Nil #

def mpeg4_width=(mpeg4_width : Int32 | Nil) #

def parse_mode : String | Nil #

def parse_mode=(parse_mode : String | Nil) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def show_caption_above_media=(show_caption_above_media : Bool | Nil) #

def show_caption_above_media? : Bool | Nil #

def thumbnail_mime_type : String | Nil #

def thumbnail_mime_type=(thumbnail_mime_type : String | Nil) #

def thumbnail_url : String #

def thumbnail_url=(thumbnail_url : String) #

def title : String | Nil #

def title=(title : String | Nil) #

def type : String #

def type=(type : String) #