class PrivateParlorXT::AlbumHelpers::Album

Overview

An object representing a prepared media group to queue and relay

Defined in:

private-parlor-xt/album_helpers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : MessageID, media : AlbumMedia) #

Creates and instance of Album

Arguments:

message : the MessageID of the first media file in the album

#media : the media type corresponding with the given MSID


[View source]

Instance Method Detail

def media : Array(AlbumMedia) #

[View source]
def media=(media : Array(AlbumMedia)) #

[View source]
def message_ids : Array(MessageID) #

[View source]
def message_ids=(message_ids : Array(MessageID)) #

[View source]