This commit is contained in:
Him188 2020-05-09 15:09:01 +08:00
parent f765804ff7
commit 238e94dae7

View File

@ -54,7 +54,6 @@ fun URL.toExternalImage(): ExternalImage = ExternalImage(DeferredReusableInput(t
* [InputStream] 委托为 [ExternalImage].
* 只会在上传图片时才读取 [InputStream] 的内容. 具体行为取决于相关 [Bot] [FileCacheStrategy]
*/
@JvmName("toExternalImage")
fun InputStream.toExternalImage(): ExternalImage = ExternalImage(DeferredReusableInput(this, null))
/**