users.SavedMusic

class pyrogram.raw.base.users.SavedMusic

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

Constructors:

This base type has 2 constructors available.

users.SavedMusic

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

users.SavedMusicNotModified

This subset of the songs currently pinned on a user's profile hasn't changed, see here » for more info.

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.

TL Schema

users.savedMusic#34a2f297
count:int
documents:Vector<Document>

= users.SavedMusic

Parameter Tree

SavedMusic
├── countint
└── documentsVector < Document >
├── DocumentEmpty
│ └── idlong
└── Document
├── idlong
├── access_hashlong
├── file_referencebytes
├── dateint
├── mime_typestring
├── sizelong
├── thumbsVector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ │ └── typestring
│ ├── PhotoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizeint
│ ├── PhotoCachedSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── bytesbytes
│ ├── PhotoStrippedSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── PhotoSizeProgressive
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizesVector < int >
│ └── PhotoPathSize
│ ├── typestring
│ └── bytesbytes
├── video_thumbsVector < VideoSize > (optional)
│ ├── VideoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ ├── sizeint
│ │ └── video_start_tsdouble (optional)
│ ├── VideoSizeEmojiMarkup
│ │ ├── emoji_idlong
│ │ └── background_colorsVector < int >
│ ├── stickersetInputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ ├── sticker_idlong
│ └── background_colorsVector < int >
├── dc_idint
└── attributesVector < DocumentAttribute >
│ ├── wint
│ └── hint
│ ├── masktrue (optional)
│ ├── altstring
│ ├── stickersetInputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ └── mask_coordsMaskCoords (optional)
│ └── MaskCoords
│ ├── round_messagetrue (optional)
│ ├── supports_streamingtrue (optional)
│ ├── nosoundtrue (optional)
│ ├── durationdouble
│ ├── wint
│ ├── hint
│ ├── preload_prefix_sizeint (optional)
│ ├── video_start_tsdouble (optional)
│ └── video_codecstring (optional)
│ ├── voicetrue (optional)
│ ├── durationint
│ ├── titlestring (optional)
│ ├── performerstring (optional)
│ └── waveformbytes (optional)
│ └── file_namestring
├── freetrue (optional)
├── text_colortrue (optional)
├── altstring
└── stickersetInputStickerSet

Example

SavedMusic(
    count=0,
    documents=[
            DocumentEmpty(id=0)
        ],
)