@deafwave/osrs-botmaker-types 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -78,7 +78,7 @@ declare namespace net.runelite.api {
|
|
|
78
78
|
* @param sender the sender/channel name
|
|
79
79
|
* @return the message node for the message
|
|
80
80
|
*/
|
|
81
|
-
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string): MessageNode;
|
|
81
|
+
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string | null): MessageNode;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Adds a new chat message to the chatbox.
|
|
@@ -90,7 +90,7 @@ declare namespace net.runelite.api {
|
|
|
90
90
|
* @param postEvent whether to post the chat message event
|
|
91
91
|
* @return the message node for the message
|
|
92
92
|
*/
|
|
93
|
-
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string, postEvent: boolean): MessageNode;
|
|
93
|
+
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string | null, postEvent: boolean): MessageNode;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Gets the current game state.
|