account.getSavedMusicIds
Fetch the full list of only the IDs of songs currently added to the profile, see here » for more info.
func (c *Client) AccountGetSavedMusicIDs(ctx context.Context, hash int64) (AccountSavedMusicIDsClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountGetSavedMusicIDs(ctx, hash)
if err != nil {
return err
}
_ = res // AccountSavedMusicIDsClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Hash | int64 | yes | Hash generated » from the previously returned list of IDs. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
account.getSavedMusicIds#e09d5faf