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).
Usable by ✅ Users ❌ Bots- Details:
Layer:
224ID:
3DEA5B03
- Parameters:
id (
InputDocument) – Notification sound uploaded using account.uploadRingtoneunsave (
bool) – Whether to add or delete the notification sound
- Returns: