You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While one user is not in the chat (maybe already exited, or send message from linked channel but not join linked group), and they set the Forwarded Message permission to false(Nobody or Contacts Only). Morny will fail to reference them by id.
This is probably because Telegram Bot API will parse Markdown/HTML link with <a href="tg://user?id=1000">User</a> format to a text_mentionmessage entity, which is not allowed when user set Forwarded Message permission to deny.
By changing the Markdown/HTML link to raw message entity of link with the tg://user?id=1000 can fix this —— the link entity will always sent with no permission check while the text_mention entity will check permission and will be ereased when denied.
The text was updated successfully, but these errors were encountered:
While one user is not in the chat (maybe already exited, or send message from linked channel but not join linked group), and they set the Forwarded Message permission to false(Nobody or Contacts Only). Morny will fail to reference them by id.
This is probably because Telegram Bot API will parse Markdown/HTML link with
<a href="tg://user?id=1000">User</a>
format to a text_mention message entity, which is not allowed when user set Forwarded Message permission to deny.By changing the Markdown/HTML link to raw message entity of link with the
tg://user?id=1000
can fix this —— the link entity will always sent with no permission check while the text_mention entity will check permission and will be ereased when denied.The text was updated successfully, but these errors were encountered: