Update docs for AudioSupported.uploadAudio: add ref to mirai-silk-converter

This commit is contained in:
Him188 2021-11-06 15:00:51 +00:00
parent a9037298c1
commit 99f461ae00

View File

@ -36,6 +36,8 @@ public interface AudioSupported : Contact {
*
* 要获取更多语音相关的信息, 参阅 [Audio].
*
* @param resource 支持 AMR SILK 格式. 若要支持 MP3 格式, 请参考 [mirai-silk-converter](https://github.com/project-mirai/mirai-silk-converter)
*
* @throws OverFileSizeMaxException 当语音文件过大而被服务器拒绝上传时. (最大大小约为 1 MB)
* **注意**: 由于服务器不一定会检查大小, 该异常就不一定会因大小超过 1MB 而抛出.
*