botium-bindings icon indicating copy to clipboard operation
botium-bindings copied to clipboard

[Botkit] trigger controller events

Open Naktibalda opened this issue 7 years ago • 2 comments

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"
}

Naktibalda avatar Aug 30 '17 15:08 Naktibalda

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.

codeforequity-at avatar Sep 18 '17 09:09 codeforequity-at

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.

Naktibalda avatar Sep 18 '17 10:09 Naktibalda