on_shared_widget_query()¶
- Client.on_shared_widget_query()¶
Decorator for handling a query from a forwarded message with a shared widget created by the bot.
This does the same thing as
add_handler()using theSharedWidgetQueryHandler.Usable by Users Bots- Parameters:
filters (
filters, optional) – Pass one or more filters to allow only a subset of updates to be passed in your function.group (
int, optional) – The group identifier, defaults to 0.