Client.on_guest_query()

Client.on_guest_query()

Decorator for handling incoming guest chat queries.

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

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

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