We are using the Botpress Cloud API (/v1/chat/messages) / SDK to send messages programmatically as the bot within existing conversations. To do this, the API requires the bot's userId.
Our current approach involves parsing existing conversation messages to dynamically find the bot's userId (outgoing message userId). However, this runtime lookup is an overhead.
We would prefer to store the bot's userId in our configuration if it is static for a given integration.
Could you please confirm whether the userId representing the bot is guaranteed to be static and persistent for a specific integration instance (like for webchat -- user_xxx, whatsapp -- user_yyy)? If confirmed, we can confidently hardcode these IDs.
Any official documentation regarding the persistence of these IDs would be greatly appreciated.
Thanks