Skip to content
A python implementation of the Telegram Bot API
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pytgbotapi
.gitignore
LICENSE
README.md
example.py

README.md

pytgbotapi

A python implementation of the Telegram Bot API - https://core.telegram.org/bots/api

Please feel free to contribute!

Example usage:

from BotApi import BotApi

def main():
    print("Starting...")
    bot = BotApi("123456:AAaaaabbbbcccddddddEEEEEfffffGGggghhh")
    print(bot.getMe())
    for update in bot.getUpdates():
        print(update.update_id)
    bot.sendMessage(1111111,"Hello World")
if __name__ == "__main__":
    main()

This library is used by: https://telegram.me/nokita_bot

You can’t perform that action at this time.