2
0

🧑‍💻 (whatsapp) Option to modify the default interactive split message number (#1296)

When using the whatsapp oficial api or another that use the same schema,
with env we can modify the number of groups that the interactive group
will be split.

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
This commit is contained in:
thercd
2024-03-07 05:05:08 -03:00
committed by GitHub
parent 712a56502f
commit df209a8e9d
3 changed files with 4 additions and 1 deletions

1
packages/env/env.ts vendored
View File

@ -307,6 +307,7 @@ const whatsAppEnv = {
.url()
.optional()
.default('https://graph.facebook.com'),
WHATSAPP_INTERACTIVE_GROUP_SIZE: z.coerce.number().optional().default(3),
},
}