Methods | ChatEventItem.CreateEdit Method
Creates and adds a new edit to this event.
Syntax
C#
Copy
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
Reference
ChatEventItem Class
Compiled.EDD.Scripting Namespace