copy_document


Description:

[ Version ( since = "0.13.1" ) ]
public DocumentsDocument copy_document (DocumentsDocument document, Cancellable? cancellable = null) throws Error

Copy the given document, producing a duplicate document in the same folder and returning its DocumentsDocument.

Errors from ServiceError can be returned for exceptional conditions, as determined by the server.

Parameters:

this

an authenticated DocumentsService

document

the DocumentsDocument to copy

cancellable

optional Cancellable object, or null

Returns:

the duplicate DocumentsDocument, or null; unref with unref