EndTransfer Event
Fired when a file transfer completes.
Syntax
xmpp.on('EndTransfer', listener: (e: {readonly direction: number, readonly fileId: string, readonly filename: string, readonly success: boolean}) => void )
Remarks
When a file transfer completes this event will fire.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.