download

Download file from document update, save it to provided destination(if not, will save it based on file_name). Its can not bypass telegram limit(20MB in public api server)

Arguments
Name Type Description Required
destination string | null destination for save the file no

Output : bool | string

Static or normal : normal

Examples :

$document->download();
$document->download('test.gif');