Package top.focess.qq.api.bot.contact
Interface Friend
-
- All Superinterfaces:
CommandExecutor,Contact,Speaker,Transmitter
public interface Friend extends Speaker, CommandExecutor
Represents a friend.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddelete()Delete the friend@NotNull StringgetAvatarUrl()Get the friend's avatar urlStringgetRawName()Get the friend's raw name (its nickname)default booleanisAdministrator()-
Methods inherited from interface top.focess.qq.api.bot.contact.CommandExecutor
getCommandSender
-
Methods inherited from interface top.focess.qq.api.bot.contact.Speaker
uploadAudio
-
Methods inherited from interface top.focess.qq.api.bot.contact.Transmitter
sendMessage, sendMessage, uploadImage
-
-
-
-
Method Detail
-
getRawName
String getRawName()
Get the friend's raw name (its nickname)- Returns:
- the raw name
-
getAvatarUrl
@NotNull @NotNull String getAvatarUrl()
Get the friend's avatar url- Returns:
- the avatar url
-
delete
void delete()
Delete the friend
-
isAdministrator
default boolean isAdministrator()
-
-