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

Function one_time_message

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

Source from the content-addressed store, hash-verified

120
121@pytest.fixture
122async def one_time_message(bot, chat_id):
123 # mostly used in tests for edit_message and hence can't be reused
124 return await bot.send_message(
125 chat_id, "Text", disable_web_page_preview=True, disable_notification=True
126 )
127
128
129@pytest.fixture(scope="module")

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…