public interface User extends MessageReceiver, Staleable
Modifier and Type | Method and Description |
---|---|
@NonNull Optional<String> |
getAccount()
Gets the Services account this user is signed into.
|
@NonNull Optional<String> |
getAwayMessage()
Gets, if one is set and known, the away message for the user.
|
@NonNull Set<String> |
getChannels()
Gets the user's channels.
|
@NonNull String |
getHost()
Gets the user's host.
|
@NonNull String |
getNick()
Gets the user's nick.
|
@NonNull Optional<String> |
getOperatorInformation()
Gets a user's operator information, if they have any privileges, noting
that this information may not imply actual IRC Operator status but some
other IRC network status as well.
|
@NonNull Optional<String> |
getRealName()
Gets the user's real name
|
@NonNull Optional<String> |
getServer()
Gets the name of the server the user is on.
|
@NonNull String |
getUserString()
Gets the user's user string.
|
boolean |
isAway()
Gets if the user is away.
|
getLowerCaseMessagingName, getMessagingName, sendCtcpMessage, sendMessage, sendMultiLineMessage, sendMultiLineMessage, sendMultiLineNotice, sendMultiLineNotice, sendNotice
getLowerCaseName, getName
getCreationTime
getClient
@NonNull Optional<String> getAccount()
CapabilityManager.getCapabilities()
,
ServerInfo.hasWhoXSupport()
@NonNull Optional<String> getAwayMessage()
@NonNull Set<String> getChannels()
@NonNull String getHost()
@NonNull String getNick()
@NonNull Optional<String> getOperatorInformation()
Example: "is an Operator".
@NonNull Optional<String> getRealName()
@NonNull Optional<String> getServer()
@NonNull String getUserString()
boolean isAway()
Copyright © 2013–2021 Kitteh. All rights reserved.