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

Function deep_linked_level_2

examples/deeplinking.py:74–81  ·  view source on GitHub ↗

Reached through the SO_COOL payload

(update: Update, context: ContextTypes.DEFAULT_TYPE)

Source from the content-addressed store, hash-verified

72
73
74async def deep_linked_level_2(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
75 """Reached through the SO_COOL payload"""
76 bot = context.bot
77 url = helpers.create_deep_linked_url(bot.username, USING_ENTITIES)
78 text = f'You can also mask the deep-linked URLs as links: <a href="{url}">▶️ CLICK HERE</a>.'
79 await update.message.reply_text(
80 text, parse_mode=ParseMode.HTML, link_preview_options=LinkPreviewOptions(is_disabled=True)
81 )
82
83
84async def deep_linked_level_3(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:

Callers

nothing calls this directly

Calls 2

LinkPreviewOptionsClass · 0.90
reply_textMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…