import { DialogueHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/DialogueHelper.d.ts";
Constructors
new
DialogueHelper(logger: ILogger,
hashUtil: HashUtil,
saveServer: SaveServer,
databaseServer: DatabaseServer,
notifierHelper: NotifierHelper,
notificationSendHelper: NotificationSendHelper,
localisationService: LocalisationService,
itemHelper: ItemHelper,
Properties
protected
databaseServer: DatabaseServerprotected
hashUtil: HashUtilprotected
itemHelper: ItemHelperprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
notificationSendHelper: NotificationSendHelperprotected
notifierHelper: NotifierHelperprotected
saveServer: SaveServerMethods
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.