Repository navigation
How to send a message with a person's username, without mentioning it? #1696
Answered
by
MrCheatEugene
MrCheatEugene
asked this question in
Q&A
|
Hi. I am wrtiting a bot that mentions people sometimes. But, it also "pings" the person. The issue here, if somebody will send like 100 commands.. person will get pinged 100 times, and mentioned in the message. Is this possible? And if yes, how can I do that with PYTBA? |
Answered by
MrCheatEugene
Sep 4, 2022
Replies: 2 comments 2 replies
|
You can mention the user using id, but he/she will get a ping. |
1 reply
|
Solution was to set parse mode to "html" and add a link like this: |
1 reply
Answer selected by
MrCheatEugene
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution was to set parse mode to "html" and add a link like this:
user
Now person doesn't get pinged, but mentioned.