Skip to content

InputMediaAudio

class Tourmaline::InputMediaAudio
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

.new(media, thumb = nil, caption = nil, parse_mode = nil, caption_entities = [] of MessageEntity, duration = nil, performer = nil, title = nil) #

Methods#

#caption : String? #

#caption=(caption : String?) #

#caption_entities : Array(MessageEntity) #

#caption_entities=(caption_entities : Array(MessageEntity)) #

#duration : Int32? #

#duration=(duration : Int32?) #

#media : String | File #

#media=(media : String | File) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#performer : String? #

#performer=(performer : String?) #

#thumb : String | File | Nil #

#thumb=(thumb : String | File | Nil) #

#title : String? #

#title=(title : String?) #