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.