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

Function start

examples/deeplinking.py:53–58  ·  view source on GitHub ↗

Send a deep-linked URL when the command /start is issued.

(update: Update, context: ContextTypes.DEFAULT_TYPE)

Source from the content-addressed store, hash-verified

51
52
53async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
54 """Send a deep-linked URL when the command /start is issued."""
55 bot = context.bot
56 url = helpers.create_deep_linked_url(bot.username, CHECK_THIS_OUT, group=True)
57 text = "Feel free to tell your friends about it:\n\n" + url
58 await update.message.reply_text(text)
59
60
61async def deep_linked_level_1(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:

Callers

nothing calls this directly

Calls 1

reply_textMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…