2015-06-26 09:56:25 +03:00
|
|
|
# pyTelegramBotAPI
|
|
|
|
Python Telegram bot api.
|
2015-06-26 09:58:20 +03:00
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```python
|
|
|
|
import telebot
|
|
|
|
|
|
|
|
TOKEN = '<token string>'
|
|
|
|
|
|
|
|
tb = telebot.TeleBot(TOKEN)
|
|
|
|
# tb.send_message(chatid,message)
|
|
|
|
print tb.send_message(281281, 'gogo power ranger')
|
|
|
|
```
|