public class UserNoticeEvent extends ChannelEventBase implements TwitchSingleMessageEvent
Badges
,
Color
,
DisplayName
,
Emotes
,
Mod
,
MsgId
,
MsgParamMonths
,
MsgParamSubPlan
,
MsgParamSubPlanName
,
RoomId
,
Subscriber
,
SystemMsg
,
Turbo
,
User
,
UserId
,
UserType
Constructor and Description |
---|
UserNoticeEvent(Client client,
List<ServerMessage> originalMessages,
Channel channel,
String message)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getMessage()
Message from the user, if they sent one.
|
getChannel, toStringer
getOriginalMessages
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOriginalMessage, getTag, getTag
getOriginalMessages
getClient
@Nonnull public Optional<String> getMessage()
Optional.empty()
if no messageCopyright © 2013–2019 Kitteh. All rights reserved.