account.saveMusic
Adds or removes a song from the current user's profile see here » for more info on the music tab of the profile page.
Adds or removes a song from the current user's profile [see here »](https://core.telegram.org/api/profile.md#music) for more info on the music tab of the profile page.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
unsave | true | いいえ | If set, removes the song. |
id | InputDocument | はい | The song to add or remove; can be an already added song when reordering songs with `after_id`. Adding an already added song will never re-add it, only move it to the top of the song list (or after the song passed in `after_id`). |
after_id | InputDocument | いいえ | If set, the song will be added after the passed song (must be already pinned on the profile). |
レスポンス
Bool
MTProto RPC
- 400 · DOCUMENT_INVALID — The specified document is invalid.