mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.contact
/
ContactOrBot
/
avatarUrl
avatar
Url
@
JvmName
(
name
=
"getAvatarUrl"
)
open
fun
avatarUrl
(
spec
:
AvatarSpec
)
:
String
头像下载链接.
Since
2.11
Parameters
spec
头像的规格.
open
val
avatarUrl
:
String
头像下载链接, 规格默认为
AvatarSpec.LARGEST
See also
Contact
Or
Bot.
avatarUrl