class Album
- Album
- Reference
- Object
Defined in:
privateparlor/album.crConstructors
-
.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
Instance Method Summary
- #media_ids : Array(Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument)
- #media_ids=(media_ids : Array(Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument))
- #message_ids : Array(Int64)
- #message_ids=(message_ids : Array(Int64))
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
Instance Method Detail
def media_ids : Array(Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument)
#
def media_ids=(media_ids : Array(Tourmaline::InputMediaPhoto | Tourmaline::InputMediaVideo | Tourmaline::InputMediaAudio | Tourmaline::InputMediaDocument))
#