Closed JBird608 closed 7 years ago
Hi Joe, It's because you have set Asynchronous request true in telegram.php in config folder. So Telegram::getMe() will call the request but doesn't wait to receive a response from the server. so you will face a free response. you can set setAsyncRequest false,
Hi,
Please refer this project: https://github.com/irazasyed/telegram-bot-laravel-starter
You don't have to initialize the Api
class if you set up the service provider in your app.php
file and then set bot token in .env
file.
Hi all,
I have been trying to get this package to work for a little time now, so far I have been able to publish a message to Telegram, however I am unable to get a responce from anything.
I have a controller set up for the two different types of request
TelegramController
.When calling the method
without
I get the JSON responce, however if I call thewith
I get nothing.Does anyone know how to solve this problem so I can use the Facade?
Cheers, Joe.