Skip to main content
The Deno 2 Release Candidate is here
Learn more
method MailSendService.prototype.processItemsBeforeAddingToMail
Re-export
import { MailSendService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

perform various sanitising actions on the items before they're considered ready for insertion into message

Parameters

dialogType: MessageType

The type of the dialog that will hold the reward items being processed

messageDetails: ISendMessageDetails

Returns

Sanitised items