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, toStringergetSourcegetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientgetTag, getTag, getTagspublic 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.