SharedWidgetQueryContext
Type of the context object that is available inside the handlers for bot.
This helper type can be used to narrow down context objects the same way bot does it. That way, you can annotate context objects in handlers defined in separate files and still have the correct types.
Type Parameters
C
ts
C extends ContextType
ts
Filter<NarrowMatch<C, string | RegExpMatchArray>, "shared_widget_query">