public class UserNoticeEvent extends ChannelEventBase
Badges
,
Color
,
DisplayName
,
Login
,
Emotes
,
Mod
,
MsgId
,
MsgParamMonths
,
MsgParamSubPlan
,
MsgParamSubPlanName
,
MsgParamCumulativeMonths
,
RoomId
,
Subscriber
,
SystemMsg
,
Turbo
,
User
,
UserId
,
UserType
Constructor and Description |
---|
UserNoticeEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull Channel channel,
@Nullable String message)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull Optional<String> |
getMessage()
Message from the user, if they sent one.
|
getChannel, toStringer
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClient
getTag, getTag, getTags
public UserNoticeEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull Channel channel, @Nullable String message)
client
- the clientsourceMessage
- source messagechannel
- channelmessage
- message from userpublic @NonNull Optional<String> getMessage()
Optional.empty()
if no messageCopyright © 2013–2021 Kitteh. All rights reserved.