public class ChannelTargetedCtcpEvent extends TargetedUserChannelMessageEventBase implements ActorMessageEvent<User>, CtcpEvent
ActorChannelMessageEventBase.getMessage()
returns the message with the delimiter
character (1) removed. Note that the sender may be the client itself if
the capability "echo-message" is enabled.Constructor and Description |
---|
ChannelTargetedCtcpEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull User sender,
@NonNull Channel channel,
@NonNull ChannelUserMode prefix,
@NonNull String message)
Creates the event.
|
getPrefix, toStringer
getMessage
getChannel
getActor
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActor
getCommand
getMessage
getSource, getTag, getTag, getTags
getClient
getTargetedName
getChannel
public ChannelTargetedCtcpEvent(@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 sentCopyright © 2013–2021 Kitteh. All rights reserved.