account.uploadRingtone
Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.
Upload notification sound, use [account.saveRingtone](https://core.telegram.org/method/account.saveRingtone.md) to convert it and add it to the list of saved notification sounds.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
file | InputFile | أيوه | Notification sound |
file_name | string | أيوه | File name |
mime_type | string | أيوه | MIME type of file |
الردود
Document
MTProto RPC
- 400 · RINGTONE_MIME_INVALID — The MIME type for the ringtone is invalid.