AcceptedGiftTypes

Raw MD
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

FieldTypeRequiredDescription
unlimited_giftsBooleanAlwaysTrue, if unlimited regular gifts are accepted
limited_giftsBooleanAlwaysTrue, if limited regular gifts are accepted
unique_giftsBooleanAlwaysTrue, if unique gifts or gifts that can be upgraded to unique for free are accepted
premium_subscriptionBooleanAlwaysTrue, if a Telegram Premium subscription is accepted
gifts_from_channelsBooleanAlwaysTrue, if transfers of unique gifts from channels are accepted
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.