users.getSavedMusic

Get songs pinned to the 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.
offset int Offset for pagination.
limit int Maximum number of results to return, see pagination
hash long Hash » of the IDs of previously added songs, to avoid returning any result if there was no change.

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

Pagination in the API

How to fetch results from large lists of objects.

Profile

Telegram offers many customization options for your profile!