주요 콘텐츠로 건너뛰기

Custom daily reward programs

What's new

Daily reward programs accept a new custom value for type, next to basic, seasonal, and schedule. In a custom program your game decides when each reward day opens and when a new cycle starts, through the daily_reward.get webhook.

Impact

You can create, update, filter, and copy custom programs through the API. Responses that return a daily reward program can now contain custom in type.

Changes

ResourceChange
get_daily_rewardsAdded custom to the type query parameter and to type in the response
create_daily_rewardAdded custom to type in the request and response
get_daily_rewardAdded custom to type in the response
update_daily_rewardAdded custom to type in the response
copy_daily_rewardAdded custom to type in the response

Upgrade

  • If you parse type into a closed enum, add custom so responses with custom programs don't fail.
  • To run a custom program, handle the new progress fields in the daily_reward.get webhook. See the Webhooks changelog for details.

도움이 필요하세요?
통합팀에 문의하십시오 [email protected]