public class ChannelCtcpEvent extends ActorChannelMessageEventBase<User> 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 |
---|
ChannelCtcpEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull User sender,
@NonNull Channel channel,
@NonNull String message)
Creates the event.
|
getMessage, toStringer
getChannel
getActor
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActor
getCommand
getMessage
getSource, getTag, getTag, getTags
getClient
public ChannelCtcpEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull User sender, @NonNull Channel channel, @NonNull String message)
client
- client for which this is occurringsourceMessage
- source messagesender
- sender of the messagechannel
- channel in which it was sentmessage
- message sentCopyright © 2013–2021 Kitteh. All rights reserved.