TelegramSDKException in GuzzleHttpClient.php line 97: cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Posted 3 years ago by Mubashar

i try to get chat id but i am stuck here how i can solve this? Here is my method where i try to get chat id

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Input;

use Irazasyed\Telegram\Telegram; class TelegramController extends Controller { protected $telegram;

public function __construct( Telegram $telegram )
{
    $this->telegram = $telegram;
}

public function getUpdates()
{
    $updates = $this->telegram->getUpdates();
    dd($updates);
}

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.