account.SaveRingtone
- class pyrogram.raw.functions.account.SaveRingtone
Save or remove saved notification sound.
- Details:
Layer:
223ID:
3DEA5B03
- Parameters:
id (
InputDocument) – Notification sound uploaded using account.uploadRingtoneunsave (
bool) – Whether to add or delete the notification sound
- Returns:
TL Schema
account.saveRingtone#3dea5b03
id:InputDocument
unsave:Bool
= account.SavedRingtone
Parameter Tree
SaveRingtone
├── id →
InputDocument│ ├──
InputDocumentEmpty│ └──
InputDocument│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes└── unsave →
BoolExample
await app.invoke(
SaveRingtone(
id=InputDocumentEmpty(),
unsave=True,
)
)