Home>
I am working on a telegram bot with the aiogram library. I'm using Markdown .
I need the output to display text with a link embedded in the word without additional information about the site transmitted in the link. How to do this? (I attach the photo below)
I can make a link to a word, but I don't need to see additional information (it is superfluous), since it can take up a lot of space in a telegram
@ dp.message_handler (commands= ['Python'])
async def process_start_command (message: types.Message):
await bot.send_message (message.from_user.id, "Hello Python! [python] (https://www.python.org/)", parse_mode= "Markdown")
[]
Thanks in advance!
-
Answer # 1
Related questions
- python : make sure that the buttons are not detected
- python : AttributeError: 'NoneType' object has no attribute 'startswith'
- python : How to transfer the value of a variable from one handler to another. Using FSM
- TypeError: 'list' object is not callable. Literally today I started learning Python and telebot API and I don’t understand what
- python : Sending a file using telegramAPI
- python : Bot on aiogram does not see the answer to someone else's message
- python : How to send a single message in response to the user via bot.send_message
- python : Filter data with pydantic by values
- python : Error with matrix multiplication. Numpy
- Can't uninstall/install Python
After parse_mode add an extra parameter
I can't help but thank you :-) Thank you very much!
Искатель программ всея Руси2021-12-29 08:17:30