A python implementation of the Telegram Bot API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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