Commit 35e39a7f authored by Him188's avatar Him188

Add docs

parent b244697d
...@@ -173,6 +173,8 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor, BotJavaFriendlyAPI( ...@@ -173,6 +173,8 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor, BotJavaFriendlyAPI(
/** /**
* 获取图片下载链接 * 获取图片下载链接
*
* @see Image.queryUrl [Image] 的扩展函数
*/ */
@JvmSynthetic @JvmSynthetic
abstract suspend fun queryImageUrl(image: Image): String abstract suspend fun queryImageUrl(image: Image): String
......
...@@ -45,6 +45,10 @@ import kotlin.jvm.JvmSynthetic ...@@ -45,6 +45,10 @@ import kotlin.jvm.JvmSynthetic
* @see Contact.sendImage 上传 [图片文件][ExternalImage] 并发送返回的 [Image] 作为一条消息 * @see Contact.sendImage 上传 [图片文件][ExternalImage] 并发送返回的 [Image] 作为一条消息
* @see Image.sendTo 上传图片并得到 [Image] 消息 * @see Image.sendTo 上传图片并得到 [Image] 消息
* *
* ### 下载图片
* @see Image.queryUrl 扩展函数. 查询图片下载链接
* @see Bot.queryImageUrl 查询图片下载链接 (Java 使用)
*
* 查看平台 `actual` 定义以获取上传方式扩展. * 查看平台 `actual` 定义以获取上传方式扩展.
* *
* @see FlashImage 闪照 * @see FlashImage 闪照
......
...@@ -44,6 +44,9 @@ import java.net.URL ...@@ -44,6 +44,9 @@ import java.net.URL
* @see URL.sendAsImageTo * @see URL.sendAsImageTo
* *
* *
* ### 下载图片
* @see Image.queryUrl 查询图片下载链接
*
* *
* @see FlashImage 闪照 * @see FlashImage 闪照
* @see Image.flash 转换普通图片为闪照 * @see Image.flash 转换普通图片为闪照
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment