skip to Main Content

Parse mode in Python Telegram Bot

I wanted it to be automatically copied after sending this message when clicking on context.user_data["code"] So I used `` and parse_mode="MarkdownV2" await context.bot.send_message( chat_id=CHANEL_ID, text= f"{context.user_data['key']}nnCode: `{context.user_data['code']}`nnMod: {context.user_data['mod']}nnby: @{update.effective_user.username}", parse_mode='MarkdownV2' ) But if username of the user has _ like:…

VIEW QUESTION
Back To Top
Search