WebApp.shareMessage call only once
Hello I call from server bot id message for share and send by WebApp.shareMessage. I close popup or send this message to user. One more time get id message and send by WebApp.shareMessage and... nothing and error in console '[Telegram.WebApp] Share message is already opened'
How I fix it?
@kuhel Помоги пожалуйста
@ksupipr Hi, bro. Did you fix it? I just met this bug and have not found a method to fix it.
@ksupipr Hi, bro. Did you fix it? I just met this bug and have not found a method to fix it.
Hi. Not found legal method ) I send message for this
window.Telegram.WebView.postEvent(
'web_app_send_prepared_message',
(result?: boolean) => { ...callback... },
{ id: mess_id }
);
@ksupipr Thanks for your suggestion! I have already implemented your solution using Telegram.WebView.postEvent('web_app_send_prepared_message', ...) instead of WebApp.shareMessage().