mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
added plaintext fallback for markdown
This commit is contained in:
parent
1b0a1f20d5
commit
ef4794a33f
8 changed files with 161 additions and 68 deletions
|
@ -14,6 +14,7 @@ const vkChannelSchema = yup
|
|||
.matches(/^@/, ({ path }) => `${path} should start with "@"`),
|
||||
events: yup.array().of(vkChannelEventSchema),
|
||||
templates: templateOptionalSchema,
|
||||
markdown: yup.boolean().optional(),
|
||||
});
|
||||
|
||||
export const vkConfigSchema = yup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue