import botogram bot = botogram.create("API-KEY") @bot.command("hello") def hello_command(chat, message, args): """Say hello to the world!""" chat.send("Hello world") if __name__ == "__main__": bot.run()
Just focus on your bots.
botogram is a Python framework, which allows you to focus just on creating your Telegram bots, without worrying about the underlying Bots API.
While most of the libraries for Telegram out there just wrap the Bots API, botogram focuses heavily on the development experience, aiming to provide you the best API possible. Most of the Telegram implementation details are managed by botogram, so you can just focus on your bot.