https://discord.gg/botpress logo
missmatch between docs and what i can use
# 🤝help
a
I am trying to do simple send payload in a custom integration but in what i can see its always used the window.botpressWebChat. but in my case its not working. example the window.botpressWebChat.init does not work but the window.botpress.init does. Can you help me figure it out?
w
use the second sintax https://botpress.com/docs/webchat-v2, the first is obsolete (version 1 of webchat)
o
^^ what @white-nest-40686 said. The current syntax is window.botpress.init for initializing. window.botpressWebchat is old v1 syntax and falls under the (deprecated) category (see screenshot). For updated syntax, check the v2 documentation. https://cdn.discordapp.com/attachments/1361278858413867178/1361329438398087298/Screenshot_2025-04-14_at_9.17.04_AM.png?ex=67fe5c56&is=67fd0ad6&hm=179418a7e1d2d749981f8f579309ab0e1f7fddd3b665f6a1d24b96f5bc1ade31&
a
i know about that but i was trying to send a simple event with a payload so i can modify a variable in the workflow but i couldn't
w
2 Views