Permalink
Browse files

added README and LICENSE

  • Loading branch information...
kolar committed Jul 9, 2015
1 parent 75e5232 commit 3aadbf70d16692566f02c1b1197f4c79dd16bb2c
Showing with 31 additions and 0 deletions.
  1. +21 −0 LICENSE
  2. +10 −0 README.md
21 LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Artyom Kolnogorov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,10 @@
This PollBot is a simple PHP bot for Telegram that can create polls in groups. The bot uses the bot API:<br/>
[https://core.telegram.org/bots/API](https://core.telegram.org/bots/API)
It can use either long-polling ([poll-bot-worker.php](https://github.com/kolar/telegram-poll-bot/blob/master/poll-bot-worker.php)) or webhooks ([poll-bot-webhook.php](https://github.com/kolar/telegram-poll-bot/blob/master/poll-bot-webhook.php)) to get updates.
You can see a working instance of this bot here:<br/>
[https://telegram.me/simplepollbot](https://telegram.me/simplepollbot)
Read more about Telegram bots:<br/>
[https://core.telegram.org/bots](https://core.telegram.org/bots)

0 comments on commit 3aadbf7

Please sign in to comment.