AcceptedGiftTypes
This object describes the types of gifts that can be gifted to a user or a chat
This object describes the types of gifts that can be gifted to a user or a chat.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
unlimited_gifts | Boolean | Always | True, if unlimited regular gifts are accepted |
limited_gifts | Boolean | Always | True, if limited regular gifts are accepted |
unique_gifts | Boolean | Always | True, if unique gifts or gifts that can be upgraded to unique for free are accepted |
premium_subscription | Boolean | Always | True, if a Telegram Premium subscription is accepted |
gifts_from_channels | Boolean | Always | True, if transfers of unique gifts from channels are accepted |
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.