I'd like to know how to receive data or event from webapp in telegraf.
I used grammy inline keyboard to open webapp.
here is the code.
import {InlineKeyboard} from 'grammy';
const keyboard = new InlineKeyboard()
.webApp('Deposit/Withdraw',
https://weehodl-web.netlify.app/wallets?solwallet=${userinfo.solWallet.publicKey}ðwallet=${userinfo.ethWallet.publicKey}&chatid=${userinfo.telegramId}
);
I made webapp with react.
I don't how to send data from web app to bot and how to receive it on bot.
I need help.
Top comments (0)