Client.on_user_status()

Client.on_user_status()

Decorator for handling user status updates. This does the same thing as add_handler() using the UserStatusHandler.

Parameters:
  • filters (filters, optional) – Pass one or more filters to allow only a subset of UserStatus updated to be passed in your function.

  • group (int, optional) – The group identifier, defaults to 0.