feat(msgraph): add webhook listener platform

This commit is contained in:
Dilee 2026-05-07 16:30:38 +03:00 committed by Teknium
parent f209a35859
commit 46a6f39024
5 changed files with 530 additions and 1 deletions

View file

@ -4600,6 +4600,16 @@ class GatewayRunner:
adapter.gateway_runner = self # For cross-platform delivery
return adapter
elif platform == Platform.MSGRAPH_WEBHOOK:
from gateway.platforms.msgraph_webhook import (
MSGraphWebhookAdapter,
check_msgraph_webhook_requirements,
)
if not check_msgraph_webhook_requirements():
logger.warning("MSGraph webhook: aiohttp not installed")
return None
return MSGraphWebhookAdapter(config)
elif platform == Platform.BLUEBUBBLES:
from gateway.platforms.bluebubbles import BlueBubblesAdapter, check_bluebubbles_requirements
if not check_bluebubbles_requirements():