Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] activatePlaylist

Talos51 edited this page Aug 12, 2015 · 2 revisions

activatePlaylist(playlistID[, callback])

Activate a playlist by ID.


Parameters

playlistID number

The ID of the playlist to activate.

callback function (optional)

Callback function to be called with data from server.


Returns

true if request queued; otherwise false


Example

// Activate playlist with ID 123456789
bot.activatePlaylist(123456789);
Clone this wiki locally