getImageInfoAsync
fun OneBotImage.getImageInfoAsync(bot: OneBotBot, scope: CoroutineScope? = null, context: CoroutineContext? = null): CompletableFuture<out GetImageResult>(source)
通过 bot 使用 GetImageApi 查询 OneBotImage 中的图片地址。
See also
Throws
任何请求API可能产生的异常
fun OneBotImage.Element.getImageInfoAsync(bot: OneBotBot, scope: CoroutineScope? = null, context: CoroutineContext? = null): CompletableFuture<out GetImageResult>(source)
通过 bot 使用 GetImageApi 查询 OneBotImage.Element.segment 中的图片地址。
Throws
任何请求API可能产生的异常