mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-13 20:10:09 +08:00
[core] Add @since
for uploadShortVideo
This commit is contained in:
parent
b238d13a32
commit
24a783de4a
@ -98,6 +98,8 @@ public interface Contact : ContactOrBot, CoroutineScope {
|
|||||||
* @param thumbnail 短视频封面图,为图片资源.
|
* @param thumbnail 短视频封面图,为图片资源.
|
||||||
* @param video 视频资源,目前仅支持上传 mp4 格式的视频.
|
* @param video 视频资源,目前仅支持上传 mp4 格式的视频.
|
||||||
* @param fileName 文件名,若为 `null` 则根据 [video] 自动生成.
|
* @param fileName 文件名,若为 `null` 则根据 [video] 自动生成.
|
||||||
|
*
|
||||||
|
* @since 2.16
|
||||||
*/
|
*/
|
||||||
public suspend fun uploadShortVideo(
|
public suspend fun uploadShortVideo(
|
||||||
thumbnail: ExternalResource,
|
thumbnail: ExternalResource,
|
||||||
|
Loading…
Reference in New Issue
Block a user