Skip to content

新手求教 #68

Answered by ForteScarlet
MUYI-XIAN asked this question in Q&A
Discussion options

You must be logged in to vote
// 群成员
Member member = ...;
ID id = member.getId();

ID 类型直接 toString() 即为字面值结果,也就是QQ号的字符串值。ID的更多内容参考 API文档

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ForteScarlet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
组件:mirai 与mirai组件有关的内容
2 participants