class Tourmaline::InputMediaAnimation
- Tourmaline::InputMediaAnimation
 - Reference
 - Object
 
Included Modules
- JSON::Serializable
 
Defined in:
tourmaline/models/input_media_animation.crConstructors
- .new(pull : JSON::PullParser)
 - .new(media : File | String, thumb : File | String | Nil = nil, caption : Nil | String = nil, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity, has_spoiler : Bool = false, width : Int32 | Nil = nil, height : Int32 | Nil = nil, duration : Int32 | Nil = nil)
 
Instance Method Summary
- #caption : String | Nil
 - #caption=(caption : String | Nil)
 - #caption_entities : Array(MessageEntity)
 - #caption_entities=(caption_entities : Array(MessageEntity))
 - #duration : Int32 | Nil
 - #duration=(duration : Int32 | Nil)
 - #has_spoiler=(has_spoiler : Bool)
 - #has_spoiler? : Bool
 - #height : Int32 | Nil
 - #height=(height : Int32 | Nil)
 - #media : String | File
 - #media=(media : String | File)
 - #parse_mode : ParseMode | Nil
 - #parse_mode=(parse_mode : ParseMode | Nil)
 - #thumb : String | File | Nil
 - #thumb=(thumb : String | File | Nil)
 - #width : Int32 | Nil
 - #width=(width : Int32 | Nil)
 
Constructor Detail
        
        def self.new(media : File | String, thumb : File | String | Nil = nil, caption : Nil | String = nil, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity, has_spoiler : Bool = false, width : Int32 | Nil = nil, height : Int32 | Nil = nil, duration : Int32 | Nil = nil)
        #