Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Wrapper to Telegram bots API

Project Description

# teleg-api-bot

Telegram Api for new bot system

## Getting started

This project uses Python 3, so you should probably install that, if you haven't already.

You should probably take a look at our [Getting Started]( wiki page.

## Usage

Dependencies: Python 3.4, py-yaml

"" is the main file to run. It is an example of a bot.

Example bot:


from telegbot import telegbot
from logger import logger
logger = logger()
import time,json

def receive_message(msg):
if msg["date"] < time.time() - 2:
return # old
if msg["text"] == "/help":
bot.sendMessage(msg["chat"]["id"], "Text")

bot = telegbot('TOKEN')
bot.on_receive_message = receive_message


Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(19.6 kB) Copy SHA256 Hash SHA256
Source None Jul 9, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers