Click or drag to resize

ChatEventItemCreateEdit Method

Creates and adds a new edit to this event.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
public 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