# InputPaidMediaPhoto

> The paid media to send is a photo

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/inputpaidmediaphoto  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

The paid media to send is a photo.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the media, must be photo |
| media | String | Always | File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files » |

> [!TIP]
> **Botlify Cloud Runtime**
> Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.
