mirai
2.12.0
common
mirai-core-api
/
net.mamoe.mirai.contact
/
ContactOrBot
Contact
Or
Bot
common
@
NotStableForInheritance
interface
ContactOrBot
Content copied to clipboard
拥有
id
的对象. 此为
Contact
与
Bot
的唯一公共接口.
Functions
Properties
See also
Inheritors
See also
common
net.
mamoe.
mirai.
contact.
UserOrBot
net.
mamoe.
mirai.
contact.
Contact
net.
mamoe.
mirai.
Bot
Functions
avatar
Url
Link copied to clipboard
common
open
fun
avatarUrl
(
spec
:
AvatarSpec
)
:
String
Content copied to clipboard
头像下载链接.
Properties
avatarUrl
Link copied to clipboard
common
open
val
avatarUrl
:
String
Content copied to clipboard
头像下载链接, 规格默认为
AvatarSpec.LARGEST
bot
Link copied to clipboard
common
abstract
val
bot
:
Bot
Content copied to clipboard
相关
Bot
id
Link copied to clipboard
common
abstract
val
id
:
Long
Content copied to clipboard
QQ 号或群号.
Inheritors
Bot
Link copied to clipboard
Contact
Link copied to clipboard
UserOrBot
Link copied to clipboard