Module slack_bolt.listener_matcher.listener_matcher
Classes
class ListenerMatcher
-
Expand source code
class ListenerMatcher(metaclass=ABCMeta): @abstractmethod def matches(self, req: BoltRequest, resp: BoltResponse) -> bool: """Matches against the request and returns True if matched. Args: req: The request resp: The response Returns: True if matched. """ raise NotImplementedError()
Subclasses
Methods
def matches(self, req: BoltRequest, resp: BoltResponse) ‑> bool
-
Matches against the request and returns True if matched.
Args
req
- The request
resp
- The response
Returns
True if matched.