Package top.focess.qq.api.bot
Interface Group
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MembergetMember(long id)Get the group's memberMembergetMemberOrFail(long id)Get the group's membervoidquit()Quit the group-
Methods inherited from interface top.focess.qq.api.bot.Speaker
sendMessage, sendMessage
-
-
-
-
Method Detail
-
quit
void quit()
Quit the group
-
getMember
Member getMember(long id)
Get the group's member- Parameters:
id- the member's id- Returns:
- the member or null if not found
-
getMemberOrFail
Member getMemberOrFail(long id)
Get the group's member- Parameters:
id- the member's id- Returns:
- the member
- Throws:
NullPointerException- if not found
-
-