Overview
The Flash Transfer API (NTQQFlashApi) provides methods for creating and managing flash file transfers. Flash transfers allow temporary file sharing with automatic expiration.
Flash transfers are temporary and files expire after a set period. They’re ideal for quick file sharing without permanent storage.
API Reference
createFlashTransferUploadTask
Create a flash transfer upload task for sharing files.array
required
Array of file paths to upload
string
Path to thumbnail image (optional)
string
required
Name for the fileset
string
Unique identifier for the created fileset
downloadFileSetBySetId
Download a complete fileset by its ID.string
required
Fileset identifier
string
Local path where files were downloaded
getShareLinkBySetId
Generate a shareable link for a fileset.string
required
Fileset identifier
URL for sharing the fileset
Access code for the share link
fromShareLinkFindSetId
Get fileset ID from a share link.Share link access code
string
Fileset identifier
getFileListBySetId
Get list of files in a fileset.string
required
Fileset identifier
array
Array of file objects
getFileSetInfoBySetId
Get detailed information about a fileset.string
required
Fileset identifier
object
Fileset information
sendFlashMessage
Send a flash transfer as a message.string
required
Fileset identifier
Peer
required
Target peer (user or group)
string
Sent message identifier
getFileTransUrl
Get download URL for files in a fileset.string
required
Fileset identifier
object
Download options
array
Array of download URLs for each file
createFileThumbnail
Create a thumbnail for a file.string
required
Path to the file
string
Path to the generated thumbnail
Complete Example
Use Cases
Temporary File Sharing
Flash transfers are perfect for sharing files that don’t need permanent storage:Large File Distribution
Use flash transfers for distributing large files without permanent storage:Related APIs
File API
Permanent file operations
Online File API
Online file transfers
