On_fileDeletedFromFileTransferHistory

TrueConf7/5/26About 2 min

On_fileDeletedFromFileTransferHistory

Description

A notification indicating the removal of a file request from the history and, optionally, the physical deletion of the file from the disk

EventHandler<string> On_fileDeletedFromFileTransferHistory

Response example

{
    "method": "event",
    "event": "fileDeletedFromFileTransferHistory",
    "directionType": 0,
    "fileName": "4.png",
    "fileSize": 2304,
    "timestamp": 1659282676012,
    "removedFromDisk": true,
    "fileRequestId": "e9c5d550-a995-49ef-b54c-b5d76168a0b2",
    "peerDn": "820_1",
    "peerId": "820_1@some.server",
    "fileId": 525217217
}

Response Parameters

NameDescription
peerId The unique identifier (TrueConf ID) of a user. This field is available for all inbound requests. In the case of outbound requests, it is not included if the request was made to a group conference
peerDn The display name of a user. This field is available for all inbound requests. In case of outbound requests, it is not included if the request was made to a group conference
fileNameFile name
confIdThe identifier of the group conference within which the file request was made. This field is absent for requests made outside of a group conference
timestampThe timestamp indicating when the file request was created
directionTypeFile type. It can be as follows:
• 0 - Incoming
• 1 - Outgoing
fileSizeFile size in bytes
removedFromDiskThe flag indicating if the file was physically deleted from the drive
fileRequestIdThe identifier of the file request
fileIdFile identifier on the built-in HTTP server

See also

Last Updated: