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
Parameter | Type | Description |
---|---|---|
id | string |Message | Message ID or message object that you want to re-send |
Example
client.messages.endPreviewMessage('some_message_id');