mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.contact.file
/
AbsoluteFolder
/
resolveFolderById
resolve
Folder
By
Id
abstract
suspend
fun
resolveFolderById
(
id
:
String
)
:
AbsoluteFolder
?
获取一个已存在的
AbsoluteFileFolder.id
为
id
的子目录. 当该名称的子目录不存在时返回
null
.
Since
2.9.0
Throws
Illegal
Argument
Exception
当
id
为空或无效时抛出