class TelegramBot::Models::InputMediaPhoto
- TelegramBot::Models::InputMediaPhoto
- TelegramBot::Models::InputMedia
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#inputmediaphoto
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#inputmediaphoto
- .new(media : String, caption : String | Nil = nil, parse_mode : ParseMode | String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil)
Instance methods inherited from class TelegramBot::Models::InputMedia
caption : String | Nil
caption,
caption=(caption : String | Nil)
caption=,
caption_entities : Array(MessageEntity) | Nil
caption_entities,
caption_entities=(caption_entities : Array(MessageEntity) | Nil)
caption_entities=,
media : String
media,
media=(media : String)
media=,
parse_mode : ParseMode | String | Nil
parse_mode,
parse_mode=(parse_mode : ParseMode | String | Nil)
parse_mode=,
type : String
type,
type=(type : String)
type=
Constructor methods inherited from class TelegramBot::Models::InputMedia
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) new