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)
#
def self.
new(pull : JSON::PullParser)
#
def
gif_duration=(gif_duration : Int32 | Nil)
#
def
gif_height=(gif_height : Int32 | Nil)
#
def
gif_width=(gif_width : Int32 | Nil)
#
def
thumbnail_mime_type=(thumbnail_mime_type : String | Nil)
#