class Tourmaline::InputMediaAudio
- Tourmaline::InputMediaAudio
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/input_media_audio.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, duration = nil, performer : Nil | String = nil, title : Nil | String = 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)
- #media : String | File
- #media=(media : String | File)
- #parse_mode : ParseMode | Nil
- #parse_mode=(parse_mode : ParseMode | Nil)
- #performer : String | Nil
- #performer=(performer : String | Nil)
- #thumb : String | File | Nil
- #thumb=(thumb : String | File | Nil)
- #title : String | Nil
- #title=(title : String | Nil)