telegram_bot
This is an old revision of the document!
https://api.telegram.org/botTOKEN/getWebhookInfo
openssl req -new -x509 -days 3650 -nodes -out PUBLIC_NAME.pem -keyout PRIVATE_NAME.key -subj “/C=RU/ST=SPb/L=SPb/O=Global Security/OU=IT Department/CN=rebb.ru/CN=www.rebb.ru/”
curl -F “url=https://www.rebb.ru/bot.php” -F “certificate=@PUBLIC_NAME.pem” “https://api.telegram.org/botTOKEN/setwebhook”
telegram_bot.1721112580.txt.gz · Last modified: 2024/07/16 06:49 by ryas