Package top.focess.qq.api.bot
Interface Group
-
- All Superinterfaces:
Contact,Speaker,Transmitter
public interface Group extends Speaker
-
-
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 member@NonNull List<Member>getMembers()Get the group's all membersvoidquit()Quit the group-
Methods inherited from interface top.focess.qq.api.bot.Transmitter
sendMessage, sendMessage, uploadImage
-
-
-
-
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
-
-