-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with start_params
#631
Comments
I have the same problem =( |
What is your app version? |
I have the same problem =( |
last |
"last" isn't a version of an app. |
I work in unity (webgl) via telegram bot mini api |
I have solved this problem!!! t.me/My_bot - was |
same issue, |
What is your exact app version? |
I'm building a React application using the latest version of @twa-dev/sdk (v7.10.1). My test link is: https://t.me/SecretTip_dev_bot?startapp=SecretTip The following code works fine on desktop (Ubuntu 24.04): await ctx.replyWithHTML(message, {
reply_markup: {
inline_keyboard: [
[
{
text: 'Open Mini App',
url: miniAppUrl, // URL that opens the mini-app directly in Telegram
},
],
],
},
}); However, when testing on Android, the I haven't tested this on any other operating systems yet. |
Is bug fixed? Maybe some workarounds? |
for anyone having problem like this, try talk to |
This was it. I didn’t realize setting up a web app through BotFather was something I had to do. It worked fine on desktop, so I didn’t catch that it was necessary step for phones. Thank you. |
I have ennabled the miniapp in the bot settings, but I still can't get the start_param in iOS and Android |
Hi @bobpepers ,Can you tell me where webapp_name is set? |
If you want to get the webapp_name, use /newapp to create an app for your bot. |
Still getting this error on Telegram for Android v11.1.3 (5243) When opening miniapp using Default webapp |
i also have same problem my link is like https://t.me/masterversess_bot?startapp=${referralId}` this and i am not getting the start_param in initdata why canyou please help me what will i do . do i need to update the url |
how to get the webapp_name where i get this and i am created an mini app |
same issue for me |
Go to botfather, create /newapp and fill all the details. add weburl you will get complete link in myapps |
thank for it . my issue is resolved when i created and webapp for my miniapp <333 |
in this url for example : https://t.me/mybot?startapp=bbId38341612
when open it with telegram desktop, WebApp.initDataUnsafe.start_param working fine and get bbId38341612
but when I want open that with iphone 13 , always WebApp.initDataUnsafe.start_param is undefined, my project on react.js
and "@twa-dev/sdk": "^7.0.0",
help me to fix that
I check TelegramMessenger/Telegram-iOS#1091
but still have problem
The text was updated successfully, but these errors were encountered: