{"library":"microsoft-teams-api","title":"Microsoft Teams API","description":"Official Python SDK for building Microsoft Teams apps, bots, and message extensions. Current version 2.0.0 (stable), requiring Python 3.12+. The v2.0.0 release introduces a new namespace `microsoft_teams` (replacing `microsoft.teams`), proactive threading support, and sovereign cloud endpoints. Release cadence is irregular, with alpha releases leading to the stable v2.0.0.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install microsoft-teams-api"],"cli":{"name":"teamsapi","version":""}},"imports":["from microsoft_teams import TeamsApp","from microsoft_teams.plugins import BotBuilderPlugin"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom microsoft_teams import TeamsApp\n\n# Initialize the app\napp = TeamsApp(\n    app_id=os.environ.get(\"TEAMS_APP_ID\", \"\"),\n    app_password=os.environ.get(\"TEAMS_APP_PASSWORD\", \"\"),\n)\n\n# Register a simple message handler\n@app.on_message\nasync def on_message(context, activity):\n    await context.reply(\"Hello from Teams SDK!\")\n\n# Start the bot\napp.run()","lang":"python","description":"Minimal Teams bot using the new microsoft_teams namespace.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}