Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Botkit] trigger controller events #23

Open
Naktibalda opened this issue Aug 30, 2017 · 2 comments
Open

[Botkit] trigger controller events #23

Naktibalda opened this issue Aug 30, 2017 · 2 comments

Comments

@Naktibalda
Copy link
Contributor

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"
}
@codeforequity-at
Copy link
Owner

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.

@Naktibalda
Copy link
Contributor Author

It is a WebSockets connector for Botkit howdyai/botkit#871

I am using it in my project, but I was able to test the bot by using facebookbot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants