This commit is contained in:
Daniil Gentili 2017-02-05 12:56:53 +01:00
parent b7955366f2
commit 2ac528b453

View File

@ -507,7 +507,7 @@ trait FilesHandler
$res['name'] .= '_'.$message_media['document']['id']; $res['name'] .= '_'.$message_media['document']['id'];
$res['size'] = $message_media['document']['size']; $res['size'] = $message_media['document']['size'];
$res['mime'] = $message_media['document']['mime_type']; $res['mime'] = $message_media['document']['mime_type'];
$res['InputFileLocation'] = ['_' => 'inputDocumentFileLocation', 'id' => $message_media['document']['id'], 'access_hash' => $message_media['document']['access_hash'], 'version' => $message_media['document']['version'], 'dc_id' => $message_media['dc_id']]; $res['InputFileLocation'] = ['_' => 'inputDocumentFileLocation', 'id' => $message_media['document']['id'], 'access_hash' => $message_media['document']['access_hash'], 'version' => $message_media['document']['version'], 'dc_id' => $message_media['document']['dc_id']];
return $res; return $res;