Skip to content

Conversation

@czvelox
Copy link

@czvelox czvelox commented Feb 24, 2025

Invitation links to the channel start with t.me/+XXX , which is why the regular expression does not skip the entity and the link disappears from the message

client.sendMessage("me", { message: '<a href="https://t.me/+r20zmz3fQyv2YWUy">Link</a>', parseMode: 'html' })

Invitation links to the channel start with t.me/+XXX , which is why the regular expression does not skip the entity and the link disappears from the message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant