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.
| Name | Type | Required | Description |
|---|---|---|---|
file | InputFile | Yes | Notification sound |
file_name | string | Yes | File name |
mime_type | string | Yes | MIME type of file |
Replies
Document
MTProto RPC
- 400 · RINGTONE_MIME_INVALID — The MIME type for the ringtone is invalid.