Open heyqbnk opened 1 year ago
Developers of Web version rolled up a new update. It now sends empty object ({}
) in case, no button was clicked. At this point, we assume that bug in web version is fixed.
Android behavior is correct according to https://corefork.telegram.org/api/web-events#web-app-open-popup
Also, notice that the web version platform
value changed to webz
after the last update
@zubiden Thank you for clarification and source to use as declaration of events. So then, we assume, that problem exists only in iOS and Desktop versions of Telegram. Going to re-check if something changed.
tdesktop
issue: https://github.com/telegramdesktop/tdesktop/issues/25767
Describe the bug Each platform sends different values in
popup_closed
event payload.Android:
{}
Desktop:undefined
iOS:null
Web:{ button_id: { isTrusted: true } }
To Reproduce Steps to reproduce the behavior:
Expected behavior Event payload is the same on all platforms.