Skip to content

anguschiu1/telegram-bot-voting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot for voting

Modified from hellobot.php

Setup

  1. Update the config.php
  2. If DEBUG is true, it will write some debug information to DEBUG_FILE_NAME. Please assign write privileges to the apache2 user.
  3. Set up the webhook. If use self-signed certificate, please set it by other means (e.g. curl -i -X POST -H "Content-Type: multipart/form-data" -F "certificate=@PUBLIC_KEY.pem" -F "url=https://MY_DOMAIN.COM/pollbot.php" https://api.telegram.org/BOT_TOKEN/setWebhook)
  4. Run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published