Home > borogove > Chat > correctMessage

Chat.correctMessage() method

Correct an already-send message by replacing it with a new one

Signature:

correctMessage(localId: string, message: borogove.ChatMessageBuilder): void;

Parameters

Parameter Type Description
localId string the localId of the message to correct must be the localId of the first version ever sent, not a subsequent correction
message borogove.ChatMessageBuilder the new ChatMessage to replace it with

Returns:

void