class Tourmaline::InputMediaPhoto

Included Modules

Defined in:

tourmaline/models/input_media_photo.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

def caption : String | Nil #

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

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

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

[View source]
def has_spoiler=(has_spoiler : Bool | Nil) #

[View source]
def has_spoiler? : Bool | Nil #

[View source]
def media : String | File #

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

[View source]
def parse_mode : ParseMode | Nil #

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

[View source]