---
name: "notifyDownload"
mode: "api"
versionRequirements:
  - { name: "@tuya-miniapp/cloud-api", version: "1.0.5" }
---

## notifyDownload

> [VERSION] @tuya-miniapp/cloud-api >= 1.0.5

### Description

Download pet media files

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `fileNo` | `string` | Yes | Cloud storage file ID |
| `devId` | `string` | Yes | Device ID |

### Return Value

Type: `Promise<boolean>`

boolean

### Examples

#### Request example

```typescript
import { notifyDownload } from '@tuya-miniapp/cloud-api';

notifyDownload('cloud-file-id', 'vdevo167504******003')
  .then((ok) => {
    console.log(ok);
  })
  .catch();
```

#### Response example

```json
true
```
