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

Function static_message

tests/test_bot.py:130–135  ·  view source on GitHub ↗
(bot, chat_id)

Source from the content-addressed store, hash-verified

128
129@pytest.fixture(scope="module")
130async def static_message(bot, chat_id):
131 # must not be edited to keep tests independent! We only use bot.send_message so that
132 # we have a valid message_id to e.g. reply to
133 return await bot.send_message(
134 chat_id, "Text", disable_web_page_preview=True, disable_notification=True
135 )
136
137
138@pytest.fixture

Callers

nothing calls this directly

Calls 1

send_messageMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…