Replies: 7 comments
-
is there any working example on this !! thank you |
Beta Was this translation helpful? Give feedback.
-
This is really a good approche, i'll try this. Thank you for your help |
Beta Was this translation helpful? Give feedback.
-
Hey at_Namec , Unfortunately, there is no API endpoint in Botpress that allows you to send messages to any channel of your choice. However, you could in theory create a custom module that would expose an API endpoint to which you could send incoming messages. That module would then relay the incoming message to the proper Botpress module (FB messenger, Telegram, etc) based on the params sent to your API. You can use the Botpress SDK's Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hello Wondering if we can use botpress on some channels (messenger, telegram, ...) To send message when an server Event occurs. Exemple:
And so on. Best |
Beta Was this translation helpful? Give feedback.
-
at_Namec Actually you don't need to create a module, you can create an on_server_start hook and create your endpoint. There's an example that you can use in the code editor. Then you can just call the endpoint and generate your event |
Beta Was this translation helpful? Give feedback.
-
hello...Please let me know if this was successful |
Beta Was this translation helpful? Give feedback.
-
Hie at_namec1 , hope all is well.
I have searched for an example of this implementation to no avail. Please try out the solution using the steps outlined by at_allardy and feel free to post any issues or errors you may encounter here for further assistance.
Beta Was this translation helpful? Give feedback.
All reactions