Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface IDialogueCallbacks
import { type IDialogueCallbacks } from "https://deno.land/x/sptaki@1.2.0/models/spt/callbacks/mod.ts";

Methods

getFriendList(
url: string,
sessionID: string,
): IGetBodyResponseData<IGetFriendListDataResponse>
getChatServerList(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
getMailDialogList(
url: string,
sessionID: string,
): IGetBodyResponseData<DialogueInfo[]>
getMailDialogView(
url: string,
sessionID: string,
): IGetBodyResponseData<IGetMailDialogViewResponseData>
getMailDialogInfo(
url: string,
sessionID: string,
): IGetBodyResponseData<any>
removeDialog(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
pinDialog(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
unpinDialog(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
setRead(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
getAllAttachments(
url: string,
sessionID: string,
): IGetBodyResponseData<IGetAllAttachmentsResponse>
listOutbox(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
listInbox(
url: string,
sessionID: string,
): IGetBodyResponseData<any[]>
sendFriendRequest(
url: string,
sessionID: string,
): INullResponseData
sendMessage(
url: string,
sessionID: string,
): IGetBodyResponseData<number>
update(): boolean