G
G
Gleb Starkov2020-12-25 17:35:03
Bots
Gleb Starkov, 2020-12-25 17:35:03

Why doesn't the telegram bot send ?start=hash parameters. Sends only /start without hash?

I write a bot on Laravel and https://github.com/irazasyed/telegram-bot-sdk
I make a connection from the main site via window.open

window.open('https://t.me/{{ config('telegram.bots.mybot.username') }}?start={{ $hash }}', 'telegram', 'left=0,top=0,height=500,width=600');


It works fine for me, everything is correct. And with my colleague, firstly, an empty window opens with a message that the page is not secure (although the main site is on https), after a minute a secure connection appears and the connection window with telegram opens.
Secondly, when he clicks "Run" in the window with the bot, the text "/start" comes to my server, without the hash.

What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question