Skip to content

Commit

Permalink
[core] Add @since for uploadShortVideo
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Sep 9, 2023
1 parent b238d13 commit 24a783d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mirai-core-api/src/commonMain/kotlin/contact/Contact.kt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public interface Contact : ContactOrBot, CoroutineScope {
* @param thumbnail 短视频封面图,为图片资源.
* @param video 视频资源,目前仅支持上传 mp4 格式的视频.
* @param fileName 文件名,若为 `null` 则根据 [video] 自动生成.
*
* @since 2.16
*/
public suspend fun uploadShortVideo(
thumbnail: ExternalResource,
Expand Down

0 comments on commit 24a783d

Please sign in to comment.