File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class InlineQueryHandler(Handler):
3838 pass_job_queue (:obj:`bool`): Optional. Determines whether ``job_queue`` will be passed to
3939 the callback function.
4040 pattern (:obj:`str` | :obj:`Pattern`): Optional. Regex pattern to test
41- :attr:`telegram.CallbackQuery.data ` against.
41+ :attr:`telegram.InlineQuery.query ` against.
4242 pass_groups (:obj:`bool`): Optional. Determines whether ``groups`` will be passed to the
4343 callback function.
4444 pass_groupdict (:obj:`bool`): Optional. Determines whether ``groupdict``. will be passed to
@@ -67,7 +67,7 @@ class InlineQueryHandler(Handler):
6767 :class:`telegram.ext.JobQueue` instance created by the :class:`telegram.ext.Updater`
6868 which can be used to schedule new jobs. Default is ``False``.
6969 pattern (:obj:`str` | :obj:`Pattern`, optional): Regex pattern. If not ``None``,
70- ``re.match`` is used on :attr:`telegram.CallbackQuery.data ` to determine if an update
70+ ``re.match`` is used on :attr:`telegram.InlineQuery.query ` to determine if an update
7171 should be handled by this handler.
7272 pass_groups (:obj:`bool`, optional): If the callback should be passed the result of
7373 ``re.match(pattern, data).groups()`` as a keyword argument called ``groups``.
You can’t perform that action at this time.
0 commit comments