users.SavedMusic

class pyrogram.raw.types.users.SavedMusic

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

Constructor of SavedMusic.

Details:
  • Layer: 222

  • ID: 34A2F297

Parameters:
  • count (int 32-bit) – Total number of songs (can be bigger than documents depending on the passed limit, and the default maximum limit in which case pagination is required).

  • documents (List of Document) – Songs.

Functions:

This object can be returned by 2 functions.

users.GetSavedMusic

Get songs pinned to the user's profile, see here » for more info.

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.