added default gifts import back

This commit is contained in:
onysd 2026-07-23 23:03:51 +03:00
parent 66e849d980
commit c436c7c773
17 changed files with 765 additions and 40 deletions

View file

@ -156,9 +156,12 @@ TELESRV_MAPBOX_TOKEN=
TELESRV_MAPTILE_CACHE_DIR=data/maptiles
TELESRV_LANGPACK_SEED_DIR=data/langpack
TELESRV_OFFICIAL_GIFTS_DIR=data/official-gifts
# Built-in original demo Star Gifts (geometric Lottie we author ourselves — not
# Telegram's copyrighted assets) are available to import from the admin console's
# "Default gifts" tab; nothing is imported automatically and no config is needed.
# An operator-supplied official Star Gift snapshot (see cmd/giftfetch) can also be
# dropped into TELESRV_OFFICIAL_GIFTS_DIR for manual import — empty by default.
# Star Gift expiry/auction worker. TON values are handled by the local ledger;
# no wallet, Fragment or chain node endpoint is configured or contacted.
TELESRV_STARGIFT_SWEEP_INTERVAL=15s