This PollBot is a simple PHP bot for Telegram that can create polls in groups. The bot uses the bot API:
https://core.telegram.org/bots/API
It can use either long-polling (poll-bot-worker.php) or webhooks (poll-bot-webhook.php) to get updates.
You can see a working instance of this bot here:
https://telegram.me/simplepollbot
Read more about Telegram bots:
https://core.telegram.org/bots