sendFile

TrueConf7/5/26About 1 min

sendFile

Description

Send a file to a user.

void sendFile(int iFileId, string sPeerId)

Parameters

NameDescription
iFileIdUnique file identifier on the built-in HTTP server that was previously uploaded and needs to be sent
sPeerIdUnique identifier of the user (TrueConf ID) to whom the file should be sent

Response example

{
    "method": "sendFile",
    "requestId" : "1",
    "sentFileRequestId": "88e75ca1-b758-4466-a2fe-d0e80b5cd6bd",
    "result": true
}

Response Parameters

NameDescription
sentFileRequestIdThe identifier of a file request (available only if the command has been successfully executed)
requestIdA unique request identifier
resultA flag indicating whether the request was successful

See also

Last Updated: