这是indexloc提供的服务,不要输入任何密码
Skip to content

yusufk/pytgbotapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A python implementation of the Telegram Bot API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages