Client.on_inline_query()

Client.on_inline_query()

Decorator for handling inline queries.

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

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

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