Closed deepakmahakale closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
any answer on this?
Maybe this will help you!
const bot = await this.botkitController.spawn()
await bot.changeContext({
user: {
id: user
},
channelId: "websocket",
bot: {
id: "bot"
},
conversation: {
id: user
}
})
await bot.say(message)
I think @georak's answer is correct.
Let me know if you have any further questions.
Are you sure this is an issue with the Botkit core module?
Yes.
What are you trying to achieve or the steps to reproduce?
We are trying to integrate another application that communicates with the Botkit backend.
The initial conversation happens with the bot but later there comes an agent.
Now we want to send the same message to the web that the agent has sent to the backend. The communication between the agent and backend is over API calls.
NOTE:
I have the
user_id
where I want to send the messageI found a few similar issues but they are no help since botkit has changed a lot in the last 3 years. - https://github.com/howdyai/botkit/issues/1705
What was the result you received?
What did you expect?
Screenshots and animated GIFs
Context: