EIOS/whtg/tg8setwebhook.php

7 lines
240 B
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php
include 'config.php';
include 'function.php';
//Подключим бота к нашим скриптам
$rez = setWebhook(array('token'=>$conf['token']));
//print_r($rez);
//{"ok":true,"result":true,"description":"Webhook was set"}