Link Search Menu Expand Document

Constructor: users.savedMusic

Back to constructors index

List of songs currently pinned on a user’s profile, see here » for more info.

Attributes:

NameTypeRequiredDescription
countintYesTotal number of songs (can be bigger than documents depending on the passed limit, and the default maximum limit in which case pagination is required).
documentsArray of DocumentYesSongs.

Type: users.SavedMusic

Example:

$users_savedMusic = ['_' => 'users.savedMusic', 'count' => int, 'documents' => [Document, Document]];