Skip to content

Escape @ mentions in markdown::user_mention_or_link#1411

Open
linyinfeng wants to merge 1 commit intoteloxide:masterfrom
linyinfeng:mention-or-link
Open

Escape @ mentions in markdown::user_mention_or_link#1411
linyinfeng wants to merge 1 commit intoteloxide:masterfrom
linyinfeng:mention-or-link

Conversation

@linyinfeng
Copy link

Since telegram allows underscores in usernames. If a username contains underscore, it will not be valid or can not be correctly displayed in Telegram MarkdownV2.

See: https://telegram.org/faq?setln=en#q-what-can-i-use-as-my-username

Since telegram allows underscores in usernames.  If a username
contains underscore, it will not be valid or can not be correctly
displayed in Telegram MarkdownV2.

See: https://telegram.org/faq?setln=en#q-what-can-i-use-as-my-username
@teloxidebot
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @hirrolot (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @teloxidebot author: the review is finished, PR author should check the comments and take action accordingly
  • @teloxidebot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@teloxidebot teloxidebot added C-main crate: teloxide S-waiting-on-review Status: Awaiting review from the assignee labels Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-main crate: teloxide S-waiting-on-review Status: Awaiting review from the assignee

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants