abstract class TelegramBot::Models::InputMedia
- TelegramBot::Models::InputMedia
- TelegramBot::Models::Base
- Reference
- Object
Direct Known Subclasses
Defined in:
telegram_bot/models.crConstructors
- .new(type : String, media : String, caption : String | Nil = nil, parse_mode : ParseMode | String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #caption_entities : Array(MessageEntity) | Nil
- #caption_entities=(caption_entities : Array(MessageEntity) | Nil)
- #media : String
- #media=(media : String)
- #parse_mode : ParseMode | String | Nil
- #parse_mode=(parse_mode : ParseMode | String | Nil)
- #type : String
- #type=(type : String)