public class ChannelTargetedMessageEvent extends TargetedUserChannelMessageEventBase implements ActorMessageEvent<User>, ReplyableEvent
Constructor and Description |
---|
ChannelTargetedMessageEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull User sender,
@NonNull Channel channel,
@NonNull ChannelUserMode prefix,
@NonNull String message)
Creates the event.
|
Modifier and Type | Method and Description |
---|---|
void |
sendReply(@NonNull String message)
Sends a reply to this message.
|
getPrefix, toStringer
getMessage
getChannel
getActor
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActor
getMessage
getSource, getTag, getTag, getTags
getClient
getTargetedName
getChannel
public ChannelTargetedMessageEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull User sender, @NonNull Channel channel, @NonNull ChannelUserMode prefix, @NonNull String message)
client
- client for which this is occurringsourceMessage
- source messagesender
- who sent itchannel
- channel receivingprefix
- targeted prefixmessage
- message sentpublic void sendReply(@NonNull String message)
ReplyableEvent
sendReply
in interface ReplyableEvent
message
- message to send backCopyright © 2013–2021 Kitteh. All rights reserved.