users.getSavedMusicByID

Check if the passed songs are still pinned to the user's profile, or refresh the file references of songs pinned on a user's profile see here » for more info.

 Method schema is available as of layer 213. Switch »

Parameters

Name Type Description
id InputUser The ID of the user.
documents Vector<InputDocument> The songs (here, file_reference can be empty to refresh file references).

Result

users.SavedMusic

Only users can use this method

Possible errors

Code Type Description
400 USER_ID_INVALID The provided user ID is invalid.

Related pages

Profile

Telegram offers many customization options for your profile!