class TelegramBot::InputMediaLivePhoto

Included Modules

Defined in:

telegram_bot/types/input_media_live_photo.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InputMedia

to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(media : String | AttachedFile, photo : String | AttachedFile, *, caption : String | Nil = nil, parse_mode : String | Nil = nil, caption_entities : Array(MessageEntity) | Nil = nil, show_caption_above_media : Bool | Nil = nil, has_spoiler : Bool | Nil = nil) #

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

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def caption : String | Nil #

def caption=(caption : String | Nil) #

def caption_entities : Array(MessageEntity) | Nil #

def caption_entities=(caption_entities : Array(MessageEntity) | Nil) #

def collect_attachments(attachments : Hash(String, String | ::File)) : Nil #

def has_spoiler=(has_spoiler : Bool | Nil) #

def has_spoiler? : Bool | Nil #

def media : String | AttachedFile #

def media=(media : String | AttachedFile) #

def parse_mode : String | Nil #

def parse_mode=(parse_mode : String | Nil) #

def photo : String | AttachedFile #

def photo=(photo : String | AttachedFile) #

def show_caption_above_media=(show_caption_above_media : Bool | Nil) #

def show_caption_above_media? : Bool | Nil #

def type : String #

def type=(type : String) #