Skip to content

class Tourmaline::InputMediaDocument
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

View source

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

View source

Methods#

#caption : String? #

View source

#caption=(caption : String?) #

View source

#caption_entities : Array(MessageEntity) #

View source

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

View source

#media : String | File #

View source

#media=(media : String | File) #

View source

#parse_mode : ParseMode? #

View source

#parse_mode=(parse_mode : ParseMode?) #

View source

#thumb : String | File | Nil #

View source

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

View source