K
K
kalnin_yuri2020-02-07 00:25:33
Bots
kalnin_yuri, 2020-02-07 00:25:33

What to specify in certificate_path in telegram bot settings?

Installed telegram-bot-sdk. In config/telegram.php there is such an array of parameters, the question is what to specify in the certificate_path and webhook_url?

bots'                         => [
        'quizgo' => [
            'username'            => 'QuizGoBot',
            'token'               => '',
            'certificate_path'    => env('TELEGRAM_CERTIFICATE_PATH', 'YOUR-CERTIFICATE-PATH'),
            'webhook_url'         => env('TELEGRAM_WEBHOOK_URL', 'YOUR-BOT-WEBHOOK-URL'),
            'commands'            => [
                //Acme\Project\Commands\MyTelegramBot\BotCommand::class
            ],
        ],

?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2020-02-07
@Extar93

https://core.telegram.org/bots/webhooks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question