Metadata-Version: 2.1
Name: teleapi
Version: 0.1.7
Summary: Simple telegram api
Home-page: https://github.com/DesSolo/teleapi
Author: DesSolo
Author-email: dessolo@mail.ru
License: BSD
Keywords: telegram bot api
Platform: UNKNOWN
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: pysocks

teleapi
======
[![PyPI version](https://badge.fury.io/py/teleapi.svg)](https://badge.fury.io/py/teleapi)
[![Python version](https://img.shields.io/pypi/pyversions/teleapi.svg)](https://pypi.python.org/pypi/teleapi)
[![License](https://img.shields.io/pypi/l/teleapi.svg)](https://pypi.python.org/pypi/teleapi)

Easy telegram API  
*See official telegram api [documentation](https://core.telegram.org/bots/api)*

### Install
`pip install teleapi`

### Usage
``` python
from teleapi import TelegramApi

BOT_TOKEN = 'TOKEN'
CHAT_ID = 'example_chat_id'
PROXY = 'soks5h://USERNAME:PASSWORD@IP:PORT'

telegram_api = TelegramApi(BOT_TOKEN, proxy=PROXY)
telegram_api.send_message(CHAT_ID, 'Hello world!')
```
More [examples](https://github.com/DesSolo/TeleBotProxy/blob/master/example.py)


