public interface MessageReceiver extends Actor
Actor capable of receiving messages.| Modifier and Type | Method and Description |
|---|---|
default String |
getLowerCaseMessagingName()
Gets the lowercase version of the name used when sending messages.
|
String |
getMessagingName()
Gets the name used when sending messages.
|
default void |
sendCtcpMessage(String message)
Sends this actor a CTCP message.
|
default void |
sendMessage(String message)
Sends this actor a message.
|
default void |
sendMultiLineMessage(String message)
Sends this actor a potentially multi-line message using the client's
default message cutter.
|
default void |
sendMultiLineMessage(String message,
Cutter cutter)
Sends this actor a potentially multi-line message using a specified
message cutter.
|
default void |
sendMultiLineNotice(String message)
Sends this actor a potentially multi-line notice using the client's
default message cutter.
|
default void |
sendMultiLineNotice(String message,
Cutter cutter)
Sends this actor a potentially multi-line notice using a specified
message cutter.
|
default void |
sendNotice(String message)
Sends this actor a notice.
|
getLowerCaseName, getNamegetCreationTimegetClient@Nonnull String getMessagingName()
@Nonnull default String getLowerCaseMessagingName()
default void sendCtcpMessage(@Nonnull String message)
message - the message to sendClient.sendCtcpMessage(MessageReceiver, String)default void sendMessage(@Nonnull String message)
message - the message to sendClient.sendMessage(MessageReceiver, String)default void sendMultiLineMessage(@Nonnull String message)
Note that bots may not react appropriately to a message split across multiple lines.
message - message to sendClient.sendMultiLineMessage(MessageReceiver, String)default void sendMultiLineMessage(@Nonnull String message, @Nonnull Cutter cutter)
Note that bots may not react appropriately to a message split across multiple lines.
message - message to sendcutter - cutter to utilizeClient.sendMultiLineMessage(MessageReceiver, String, Cutter)default void sendNotice(@Nonnull String message)
message - the message to sendClient.sendNotice(MessageReceiver, String)default void sendMultiLineNotice(@Nonnull String message)
Note that bots may not react appropriately to a message split across multiple lines.
message - message to sendClient.sendMultiLineNotice(MessageReceiver, String)default void sendMultiLineNotice(@Nonnull String message, @Nonnull Cutter cutter)
Note that bots may not react appropriately to a message split across multiple lines.
message - message to sendcutter - cutter to utilizeClient.sendMultiLineNotice(MessageReceiver, String, Cutter)Copyright © 2013–2019 Kitteh. All rights reserved.