botium-bindings
botium-bindings copied to clipboard
[Botkit] trigger controller events
Sending text messages is only one part of dialogue. Equally important is events emitted by client side of connection.
For example I want to trigger hello
event of Sockets connector to make bot send the greeting before user starts typing.
And I want to send a custom message type from frontend to make my bot perform certain action.
#me
{
"type": "payment",
"card_number": "4444********1111",
"cv2": "***",
"expiry": "12/19"
}
This seems to be very specific to Botkit. Can you point me to some information about this "SocketBot" - I don't know what this is used for actually, and I cannot find documentation about it.
It is a WebSockets connector for Botkit https://github.com/howdyai/botkit/issues/871
I am using it in my project, but I was able to test the bot by using facebookbot.