ChatEventItemCreateEdit Method |  |
Creates and adds a new edit to this event.
Namespace: Compiled.EDD.ScriptingAssembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntaxpublic ChatEventEditItem CreateEdit(
DateTime timestamp,
string? newMessage = null,
string? oldMessage = null,
ChatParticipantItem? participant = null
)
Parameters
- timestamp DateTime
- The date at which the edit occurred.
- newMessage String (Optional)
- The message content after the edit occurred.
- oldMessage String (Optional)
- The message content before the edit occurred.
- participant ChatParticipantItem (Optional)
- The participant who caused the edit.
Return Value
ChatEventEditItem
The created edit.
See Also