Client.on_managed_bot()

Client.on_managed_bot()

Decorator for handling managed bot updates.

This does the same thing as add_handler() using the ManagedBotHandler.

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

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