Send a deep-linked URL when the command /start is issued.
(update: Update, context: ContextTypes.DEFAULT_TYPE)
| 51 | |
| 52 | |
| 53 | async 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 | |
| 61 | async def deep_linked_level_1(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…