import { DialogueHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/DialogueHelper.d.ts";
Methods
getDialogsForProfile(sessionId: string): Record<string, Dialogue>
Get the dialogs dictionary for a profile, create if doesnt exist
getMessageItemContents(): Item[]
messageID: string,
sessionID: string,
itemId: string,
Get the item contents for a particular message.
getMessagePreview(dialogue: Dialogue): MessagePreview
Get the preview contents of the last message in a dialogue.