class Tourmaline::InputMediaPhoto
- Tourmaline::InputMediaPhoto
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/input_media_photo.crConstructors
- .new(pull : JSON::PullParser)
- .new(media : File | String, caption : Nil | String = nil, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #caption_entities : Array(MessageEntity)
- #caption_entities=(caption_entities : Array(MessageEntity))
- #media : String | File
- #media=(media : String | File)
- #parse_mode : ParseMode | Nil
- #parse_mode=(parse_mode : ParseMode | Nil)