Layer 227
method Users
users.getSavedMusicByID#7573a4e9 id:InputUser documents:Vector<InputDocument> = users.SavedMusic;

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).

Gogram Example

// UsersGetSavedMusicById - positional arguments
result, err := client.UsersGetSavedMusicById(&tg.InputUserSelf{}, &tg.VectorInputDocument{})
if err != nil {
    // handle error
}
// result is *tg.UsersSavedMusic

Possible Errors

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