Telegram bot


I want use telegram bot in yii2

I install component correctly but cant set webhook from component.

So i setted it maually from

And reffer it to php file out side of yii application source and use curl in that file to call application url.

When call the url from browser every thing is right

But whene use inside bot sendmessage work for the given text but whene call getupdates and want to use it’s values not send any thing

Can any one help?