MessagingGateway

ClawSwarm · integration, agent-orchestration, message-routing, email

Gateway for routing messages between agents and external systems.

# Source: https://github.com/The-Swarm-Corporation/ClawSwarm | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""
Messaging gateway: unified gRPC API for Telegram, Discord, and WhatsApp.
Secure protocol (gRPC with optional TLS); single schema for all platforms.
"""

from claw_swarm.gateway.adapters import (
    DiscordAdapter,
    MessageAdapter,
    TelegramAdapter,
    WhatsAppAdapter,
)
from claw_swarm.gateway.schema import Platform, UnifiedMessage
from claw_swarm.gateway.server import (
    MessagingGatewayServicer,
    run_server,
)

__all__ = [
    "DiscordAdapter",
    "MessageAdapter",
    "MessagingGatewayServicer",
    "Platform",
    "TelegramAdapter",
    "UnifiedMessage

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key