account.SaveRingtone#
- class pyrogram.raw.functions.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).
- Details:
Layer:
211
ID:
3DEA5B03
- Parameters:
- id (
InputDocument
): Notification sound uploaded using account.uploadRingtone
- unsave (
bool
): Whether to add or delete the notification sound
- id (
- Returns:
account.SavedRingtone