Skip to content

Commit

Permalink
Update installation_and_usage.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsl committed Feb 14, 2024
1 parent e3bf8fa commit 642051c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 642051c

Please sign in to comment.