abstract class TelegramBot::Models::InputMedia

Direct Known Subclasses

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

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

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def caption : String | Nil #

[View source]
def caption=(caption : String | Nil) #

[View source]
def caption_entities : Array(MessageEntity) | Nil #

[View source]
def caption_entities=(caption_entities : Array(MessageEntity) | Nil) #

[View source]
def media : String #

[View source]
def media=(media : String) #

[View source]
def parse_mode : ParseMode | String | Nil #

[View source]
def parse_mode=(parse_mode : ParseMode | String | Nil) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]