account.saveRingtone

Save or remove saved notification sound.

If the notification sound is already in MP3 format, account.savedRingtone will be returned.
Otherwise, it will be automatically converted and a account.savedRingtoneConverted will be returned, containing a new document object that should be used to refer to the ringtone from now on (ie when deleting it using the unsave parameter, or when downloading it).

 Method schema is available as of layer 140. Switch ยป

Parameters

Name Type Description
id InputDocument Notification sound uploaded using account.uploadRingtone
unsave Bool Whether to add or delete the notification sound

Result

account.SavedRingtone

Related pages

account.uploadRingtone

Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.

account.savedRingtone

The notification sound was already in MP3 format and was saved without any modification

account.savedRingtoneConverted

The notification sound was not in MP3 format and was successfully converted and saved, use the returned Document to refer to the notification sound from now on

document

Document