PaidMediaInfo
Describes the paid media added to a message
Describes the paid media added to a message.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
star_count | Integer | Always | The number of Telegram Stars that must be paid to buy access to the media |
paid_media | Array of PaidMedia | Always | Information about the paid media |
Botlify Cloud Runtime
Credentials are auto-injected in
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.