Skip to main content
The Deno 2 Release Candidate is here
Learn more
method NotificationSendHelper.prototype.getDialog
import { NotificationSendHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/NotificationSendHelper.d.ts";

Helper function for sendMessageToPlayer(), get new dialog for storage in profile or find existing by sender id

Parameters

sessionId: string

Session id

messageType: MessageType

Type of message to generate

senderDetails: IUserDialogInfo

Who is sending the message