Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 2.67 KB

CreateAlmanaxWebhook.md

File metadata and controls

54 lines (34 loc) · 2.67 KB

CreateAlmanaxWebhook

Properties

Name Type Description Notes
bonusWhitelist List<String> from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses [optional]
bonusBlacklist List<String> from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses [optional]
subscriptions List<String> Get the available subscriptions with /meta/webhooks/almanax
format FormatEnum
callback URI Discord Webhook URL
dailySettings CreateAlmanaxWebhookDailySettings [optional]
isoDate Boolean If false, it will use common local time formats and weekday translations. If true, the format is YYYY-MM-DD. [optional]
mentions Map<String, List<CreateAlmanaxWebhookMentionsValueInner>> Almanax bonus ids mapped to array of mentions. [optional]
intervals Set<IntervalsEnum> - Daily posts each day, filtering with Black/Whitelist and mentions are applied daily. - Weekly posts the next 7 days (excluding the posting day) once per week at the specified time. With only weekly selected, of all mentions, only prior notices will come through daily. The 7 day preview gets filtered by the Black/Whitelist. - Monthly posts a preview of the next month from first to last date. The post will be on the last day of a month (ignoring day of the week) at the specified time. Mentions and filtering works like weekly. The biggest difference between daily and the other two is that daily always posts the current day while monthly and weekly only show future days. You can always combine the intervals by selecting multiple intervals for one hook or create multiple hooks for the same channel with different settings to get every highly specific combination you want.
weeklyWeekday WeeklyWeekdayEnum When to post the weekly preview at the specified time. [optional]

Enum: FormatEnum

Name Value
DISCORD "discord"

Enum: Set<IntervalsEnum>

Name Value
DAILY "daily"
WEEKLY "weekly"
MONTHLY "monthly"

Enum: WeeklyWeekdayEnum

Name Value
SUNDAY "sunday"
MONDAY "monday"
TUESDAY "tuesday"
WEDNESDAY "wednesday"
THURSDAY "thursday"
FRIDAY "friday"
SATURDAY "saturday"