Похожие чаты

According to this, which event type corresponds to SentWebAppMessage from

the telethon API?

5 ответов

5 просмотров

not an event. it's a response. SendWebViewResultMessage WebViewMessageSent You can events.Raw(UpdateWebViewResultSent)

try events.Raw

elf- Автор вопроса
!Pine Apple ❂ Pizza
not an event. it's a response. SendWebViewResultM...

Please, is there a reference docs where one can see all the raw updates and a summary of what they respond to? I clicked the links but most of them don't exactly contain a description.

elf- Автор вопроса

Sorry but I added a breakpoint in the events.Raw(UpdateWebViewResultSent) function but it doesn't capture. My goal was to introspect the event. However, I added a events.NewMessage to capture all messages but that is the one that matches. If it helps, the flow is that the web server after collecting the response makes a post request to answerWebAppQuery using requests. I could work with events.NewMessage with some regex matching but I was hoping for something more definitive. I don't know. Would be glad to get your opinion

elf
Sorry but I added a breakpoint in the events.Raw(U...

You receive what server provides, make sure your mechanisms is correct on the site. https://core.telegram.org/bots/webapps#webappinitdata i don't have much interest in webapps as i don't like web development, webapps are not messages, it's mostly dependent on the site in play. (unless you're using the keyboard version of it.)

Похожие вопросы

Обсуждают сегодня

Is UniBright Freequity an active live product ? A friend here in Asia was discussing the Tokenisation of RWA’s in his case Real Estate as he’s a developer with numerous overs...
Digital Trust
4
коллеги, добрый вечер! А никто не знает как модальная форма может себя закрыть? Ну допустим модальная форма определила, что смысла ей работать нет и хочет вернуть modalResult...
Михаил
83
Hi, is it fine to use git to backup my config? I did so many things that I don't want to miss if I switched to another OS, so how do you backup your home and configs? And shou...
Adnan Al_Beda
30
Добрый день задумываюсь о создание токена из за того что много свободного времени и вот я узнал что транзакции за перевод этого токена будут в waves и тут пришла идея при тран...
Артем
3
А если изначально бот работал так : есть сайт онлайн школы. У каждого ученика свой кабинет. Где он авторизуется по своим данным. И уже в кабинете, на самом сайте делает оплату...
Денис 💡 Фрилансер
13
А что ты вообще делаешь ?
Yesgoter
13
Hi, I am a bit confused... I just unbonded on app.persistence.one stkSTARS/STARS with a liquidity of $127. From a time period of 60 days and a reward percentage of 9.72% at t...
Matias
4
Crypto aman premium grp koi join kiya hai... Kaisa hai service any one idea??
Arvind Sharma
16
На работе пишем распределенное приложение, у которого сотни, если не тысячи настроек. Конфиги написаны на xml, расположены на разных хостах и должны быть согласованы друг с др...
Aleksandr Druzhinin
5
Всем привет 🙂 Какая-то непонятная проблема у меня с видео, раньше такого не было. Загружаю видео с гугл диска именно в видео mp4 и меняю ссылку как положено вот она: https://d...
Ксюша|Верстка на Тильде|Дизайн 🦥
6
Карта сайта