ChatBoostSourceGiveaway

Raw MD
The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway

The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.

Fields

FieldTypeRequiredDescription
sourceStringAlwaysSource of the boost, always "giveaway"
giveaway_message_idIntegerAlwaysIdentifier of a message in the chat with the giveaway; the message could have been deleted already. May be 0 if the message isn't sent yet.
userUserOptionalUser that won the prize in the giveaway if any; for Telegram Premium giveaways only
prize_star_countIntegerOptionalThe number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only
is_unclaimedTrueOptionalTrue, if the giveaway was completed, but there was no user to win the prize
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.