bymrrockka / poker.clock

0 stars 0 forks source link

[POC] Investigate webapp feature #38

Open mrrockka opened 6 months ago

mrrockka commented 6 months ago

The goal is to make game command input interactive to user as it quite uneasy process to write down all the details manually in message as it easy to make a mistake during it as there is a lot of data should be provided potentially

Current candidate to do that is WebApp feature of the Telegram Bot API. Links for reference https://core.telegram.org/bots/features#web-apps https://core.telegram.org/bots/webapps https://core.telegram.org/bots/api#webappinfo https://github.com/telegram-bot-php/durger-king/blob/master/public/index.php

mrrockka commented 6 months ago

Interesting links https://github.com/vkruglikov/react-telegram-web-app/blob/master/docs/README.md

mrrockka commented 6 months ago

Looks like it's possible to create a web app but it's needed to have separate repo for that I think as to debug application I need to have public host for the app. There are several ways to make it public;

Also here is a habr page to read https://habr.com/ru/companies/selectel/articles/726856/