tdlib / telegram-bot-api

Telegram Bot API server
https://core.telegram.org/bots
Boost Software License 1.0
3.08k stars 588 forks source link

problem with `start_params` #631

Open kasrakhamesi opened 2 weeks ago

kasrakhamesi commented 2 weeks ago

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 https://github.com/TelegramMessenger/Telegram-iOS/issues/1091

but still have problem

Falasbyby commented 2 weeks ago

I have the same problem =(

levlam commented 2 weeks ago

What is your app version?

Studiobaraban commented 2 weeks ago

I have the same problem =(

Falasbyby commented 2 weeks ago

What is your app version?

last

levlam commented 2 weeks ago

"last" isn't a version of an app.

Falasbyby commented 2 weeks ago

I work in unity (webgl) via telegram bot mini api July 31, 2024 Bot API 7.8

Falasbyby commented 2 weeks ago

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

I have solved this problem!!! /newapp in the bot wrote and filled in all the data!

t.me/My_bot - was t.me/My_bot/appname - became