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.
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.