class TelegramBot::Models::InputMediaPhoto

Overview

https://core.telegram.org/bots/api#inputmediaphoto

Defined in:

telegram_bot/models.cr

Constructors

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

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

https://core.telegram.org/bots/api#inputmediaphoto


[View source]
def self.new(media : String, caption : String | Nil = nil, parse_mode : ParseMode | String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil) #

[View source]