class DialogueCallbacks
implements OnUpdate
import { DialogueCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/mod.ts";
Constructors
new
DialogueCallbacks(hashUtil: HashUtil,
timeUtil: TimeUtil,
httpResponse: HttpResponseUtil,
dialogueController: DialogueController,
Properties
protected
dialogueController: DialogueControllerprotected
hashUtil: HashUtilprotected
httpResponse: HttpResponseUtilprotected
timeUtil: TimeUtilMethods
Handle client/friend/request/accept-all
acceptFriendRequest(): IGetBodyResponseData<boolean>
Handle client/friend/request/accept
cancelFriendRequest(): IGetBodyResponseData<boolean>
Handle client/friend/request/cancel
clearMail(): IGetBodyResponseData<any[]>
declineFriendRequest(): IGetBodyResponseData<boolean>
Handle client/friend/request/decline
Handle client/friend/delete
Handle client/mail/dialog/getAllAttachments
Handle client/chatServer/list
Handle client/friend/list
Handle client/mail/dialog/info
Handle client/mail/dialog/list
Handle client/mail/dialog/view
getRoute(): string
Handle client/friend/ignore/set
listInbox(): IGetBodyResponseData<any[]>
Handle client/friend/request/list/inbox
listOutbox(): IGetBodyResponseData<any[]>
Handle client/friend/request/list/outbox
onUpdate(timeSinceLastRun: number): Promise<boolean>
pinDialog(): IGetBodyResponseData<any[]>
Handle client/mail/dialog/pin
removeDialog(): IGetBodyResponseData<any[]>
Handle client/mail/dialog/remove
removeMail(): IGetBodyResponseData<any[]>
Handle client/friend/request/send
sendMessage(): IGetBodyResponseData<string>
Handle client/mail/msg/send
setRead(): IGetBodyResponseData<any[]>
Handle client/mail/dialog/read
Handle client/friend/ignore/remove
unpinDialog(): IGetBodyResponseData<any[]>
Handle client/mail/dialog/unpin