class Album

Defined in:

privateparlor/album.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(msid : Int64, media : Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument) #

Creates and instance of Album, representing a prepared media group to queue and relay

Arguments:

msid : the message ID of the first media file in the album

media : the media type corresponding with the given MSID


[View source]

Instance Method Detail

def media_ids : Array(Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument) #

[View source]
def media_ids=(media_ids : Array(Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument)) #

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

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

[View source]