Skip to content

InputMediaPhoto

class Tourmaline::InputMediaPhoto
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

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

Methods#

#caption : String? #

#caption=(caption : String?) #

#caption_entities : Array(MessageEntity) #

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

#media : String | File #

#media=(media : String | File) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #