class Tourmaline::InputMediaDocument
- Tourmaline::InputMediaDocument
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/input_media_document.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)
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)
- #thumb : String | File | Nil
- #thumb=(thumb : String | File | Nil)