messages.endPreviewMessage()

Delete a temporary copy of an existing message which had previously been created with client.messages.previewMessage().

Definition

client.messages.endPreviewMessage(
id: string|Message
):void

Parameters

ParameterTypeDescription
idstring|MessageMessage ID or message object that you want to re-send

Example

client.messages.endPreviewMessage(
'some_message_id'
);