Client.on_story()¶
- Client.on_story()
Decorator for handling new stories.
This does the same thing as
add_handler()using theStoryHandler.- Parameters:
filters (
filters, optional) – Pass one or more filters to allow only a subset of stories to be passed in your function.group (
int, optional) – The group identifier, defaults to 0.