async-zulip-bot-sdk

Async Zulip Bot SDK API Documentation

Welcome to the API documentation for Async Zulip Bot SDK. This documentation provides detailed information about all core components of the SDK.

Table of Contents

Introduction

Async Zulip Bot SDK is an asynchronous Zulip bot development framework based on Python asyncio. It provides:

Installation

pip install async-zulip-bot-sdk

Quick Example

from bot_sdk import BaseBot, BotRunner, AsyncClient, Message

class MyBot(BaseBot):
    async def on_message(self, message: Message) -> None:
        if "hello" in message.content.lower():
            await self.send_reply(message, "Hello! 👋")

if __name__ == "__main__":
    from bot_sdk import run_bot
    run_bot(MyBot)

Version

Current version: 0.9.1-async

License

This project is licensed under the MIT License.