Module slack_bolt.context
All listeners have access to a context dictionary, which can be used to enrich events with additional information.
Bolt automatically attaches information that is included in the incoming event,
like user_id
, team_id
, channel_id
, and enterprise_id
.
Refer to https://slack.dev/bolt-python/concepts#context for details.
Expand source code
"""All listeners have access to a context dictionary, which can be used to enrich events with additional information.
Bolt automatically attaches information that is included in the incoming event,
like `user_id`, `team_id`, `channel_id`, and `enterprise_id`.
Refer to https://slack.dev/bolt-python/concepts#context for details.
"""
# Don't add async module imports here
from .context import BoltContext
Sub-modules
slack_bolt.context.ack
slack_bolt.context.async_context
slack_bolt.context.base_context
slack_bolt.context.context
slack_bolt.context.respond
slack_bolt.context.say