MCPcopy Index your code
hub / github.com/python-telegram-bot/python-telegram-bot / inline_query

Function inline_query

tests/_inline/test_inlinequery.py:32–41  ·  view source on GitHub ↗
(bot)

Source from the content-addressed store, hash-verified

30
31@pytest.fixture(scope="module")
32def inline_query(bot):
33 ilq = InlineQuery(
34 InlineQueryTestBase.id_,
35 InlineQueryTestBase.from_user,
36 InlineQueryTestBase.query,
37 InlineQueryTestBase.offset,
38 location=InlineQueryTestBase.location,
39 )
40 ilq.set_bot(bot)
41 return ilq
42
43
44class InlineQueryTestBase:

Callers

nothing calls this directly

Calls 2

InlineQueryClass · 0.90
set_botMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…