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

Send a USER message to a player with or without items

Parameters

sessionId: string

The session ID to send the message to

senderDetails: IUserDialogInfo

Who is sending the message

message: string

The text to send to player

optional
items: Item[]

Optional items to send to player

optional
maxStorageTimeSeconds: any

Optional time to collect items before they expire