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

[INTPROD-1125] Update omnibot-receiver Documentation #19

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/root/installation_and_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Here's a really basic example, that'll route message events, and interactive com
@flask_app.route('/api/v1/bot', methods=['POST'])
def pingbot_route():
message = request.get_json()
ret = router.handle_message(message)
ret = router.handle_event(message)
return jsonify(ret)

The above example will respond with ``pong``, when a user sends ``@pingbot ping``, or when an user interacts with an interactive component, which sends the ``ping_callback`` event.
Expand Down
Loading