TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:00:28

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Message

    text
    openclaw message

    Single outbound command for sending messages and channel actions (Discord/Google Chat/iMessage/Matrix/Mattermost (plugin)/Microsoft Teams/Signal/Slack/Telegram/WhatsApp).

    Usage

    text
    openclaw message <subcommand> [flags]

    Channel selection:

    • text
      --channel
      required if more than one channel is configured.
    • If exactly one channel is configured, it becomes the default.
    • Values:
      text
      discord|googlechat|imessage|matrix|mattermost|msteams|signal|slack|telegram|whatsapp
      (Mattermost requires plugin)
    • text
      openclaw message
      resolves the selected channel to its owning plugin when
      text
      --channel
      or a channel-prefixed target is present; otherwise it loads configured channel plugins for default-channel inference.

    Target formats (

    text
    --target
    ):

    • WhatsApp: E.164 or group JID
    • Telegram: chat id or
      text
      @username
    • Discord:
      text
      channel:<id>
      or
      text
      user:<id>
      (or
      text
      <@id>
      mention; raw numeric ids are treated as channels)
    • Google Chat:
      text
      spaces/<spaceId>
      or
      text
      users/<userId>
    • Slack:
      text
      channel:<id>
      or
      text
      user:<id>
      (raw channel id is accepted)
    • Mattermost (plugin):
      text
      channel:<id>
      ,
      text
      user:<id>
      , or
      text
      @username
      (bare ids are treated as channels)
    • Signal:
      text
      +E.164
      ,
      text
      group:<id>
      ,
      text
      signal:+E.164
      ,
      text
      signal:group:<id>
      , or
      text
      username:<name>
      /
      text
      u:<name>
    • iMessage: handle,
      text
      chat_id:<id>
      ,
      text
      chat_guid:<guid>
      , or
      text
      chat_identifier:<id>
    • Matrix:
      text
      @user:server
      ,
      text
      !room:server
      , or
      text
      #alias:server
    • Microsoft Teams: conversation id (
      text
      19:...@thread.tacv2
      ) or
      text
      conversation:<id>
      or
      text
      user:<aad-object-id>

    Name lookup:

    • For supported providers (Discord/Slack/etc), channel names like
      text
      Help
      or
      text
      #help
      are resolved via the directory cache.
    • On cache miss, OpenClaw will attempt a live directory lookup when the provider supports it.

    Common flags

    • text
      --channel <name>
    • text
      --account <id>
    • text
      --target <dest>
      (target channel or user for send/poll/read/etc)
    • text
      --targets <name>
      (repeat; broadcast only)
    • text
      --json
    • text
      --dry-run
    • text
      --verbose

    SecretRef behavior

    • text
      openclaw message
      resolves supported channel SecretRefs before running the selected action.
    • Resolution is scoped to the active action target when possible:
      • channel-scoped when
        text
        --channel
        is set (or inferred from prefixed targets like
        text
        discord:...
        )
      • account-scoped when
        text
        --account
        is set (channel globals + selected account surfaces)
      • when
        text
        --account
        is omitted, OpenClaw does not force a
        text
        default
        account SecretRef scope
    • Unresolved SecretRefs on unrelated channels do not block a targeted message action.
    • If the selected channel/account SecretRef is unresolved, the command fails closed for that action.

    Actions

    Core

    • text
      send

      • Channels: WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost (plugin)/Signal/iMessage/Matrix/Microsoft Teams
      • Required:
        text
        --target
        , plus
        text
        --message
        ,
        text
        --media
        , or
        text
        --presentation
      • Optional:
        text
        --media
        ,
        text
        --presentation
        ,
        text
        --delivery
        ,
        text
        --pin
        ,
        text
        --reply-to
        ,
        text
        --thread-id
        ,
        text
        --gif-playback
        ,
        text
        --force-document
        ,
        text
        --silent
      • Shared presentation payloads:
        text
        --presentation
        sends semantic blocks (
        text
        text
        ,
        text
        context
        ,
        text
        divider
        ,
        text
        buttons
        ,
        text
        select
        ) that core renders through the selected channel's declared capabilities. See Message Presentation.
      • Generic delivery preferences:
        text
        --delivery
        accepts delivery hints such as
        text
        { "pin": true }
        ;
        text
        --pin
        is shorthand for pinned delivery when the channel supports it.
      • Telegram only:
        text
        --force-document
        (send images and GIFs as documents to avoid Telegram compression)
      • Telegram only:
        text
        --thread-id
        (forum topic id)
      • Slack only:
        text
        --thread-id
        (thread timestamp;
        text
        --reply-to
        uses the same field)
      • Telegram + Discord:
        text
        --silent
      • WhatsApp only:
        text
        --gif-playback
    • text
      poll

      • Channels: WhatsApp/Telegram/Discord/Matrix/Microsoft Teams
      • Required:
        text
        --target
        ,
        text
        --poll-question
        ,
        text
        --poll-option
        (repeat)
      • Optional:
        text
        --poll-multi
      • Discord only:
        text
        --poll-duration-hours
        ,
        text
        --silent
        ,
        text
        --message
      • Telegram only:
        text
        --poll-duration-seconds
        (5-600),
        text
        --silent
        ,
        text
        --poll-anonymous
        /
        text
        --poll-public
        ,
        text
        --thread-id
    • text
      react

      • Channels: Discord/Google Chat/Slack/Telegram/WhatsApp/Signal/Matrix
      • Required:
        text
        --message-id
        ,
        text
        --target
      • Optional:
        text
        --emoji
        ,
        text
        --remove
        ,
        text
        --participant
        ,
        text
        --from-me
        ,
        text
        --target-author
        ,
        text
        --target-author-uuid
      • Note:
        text
        --remove
        requires
        text
        --emoji
        (omit
        text
        --emoji
        to clear own reactions where supported; see /tools/reactions)
      • WhatsApp only:
        text
        --participant
        ,
        text
        --from-me
      • Signal group reactions:
        text
        --target-author
        or
        text
        --target-author-uuid
        required
    • text
      reactions

      • Channels: Discord/Google Chat/Slack/Matrix
      • Required:
        text
        --message-id
        ,
        text
        --target
      • Optional:
        text
        --limit
    • text
      read

      • Channels: Discord/Slack/Matrix
      • Required:
        text
        --target
      • Optional:
        text
        --limit
        ,
        text
        --before
        ,
        text
        --after
      • Discord only:
        text
        --around
    • text
      edit

      • Channels: Discord/Slack/Matrix
      • Required:
        text
        --message-id
        ,
        text
        --message
        ,
        text
        --target
    • text
      delete

      • Channels: Discord/Slack/Telegram/Matrix
      • Required:
        text
        --message-id
        ,
        text
        --target
    • text
      pin
      /
      text
      unpin

      • Channels: Discord/Slack/Matrix
      • Required:
        text
        --message-id
        ,
        text
        --target
    • text
      pins
      (list)

      • Channels: Discord/Slack/Matrix
      • Required:
        text
        --target
    • text
      permissions

      • Channels: Discord/Matrix
      • Required:
        text
        --target
      • Matrix only: available when Matrix encryption is enabled and verification actions are allowed
    • text
      search

      • Channels: Discord
      • Required:
        text
        --guild-id
        ,
        text
        --query
      • Optional:
        text
        --channel-id
        ,
        text
        --channel-ids
        (repeat),
        text
        --author-id
        ,
        text
        --author-ids
        (repeat),
        text
        --limit

    Threads

    • text
      thread create

      • Channels: Discord
      • Required:
        text
        --thread-name
        ,
        text
        --target
        (channel id)
      • Optional:
        text
        --message-id
        ,
        text
        --message
        ,
        text
        --auto-archive-min
    • text
      thread list

      • Channels: Discord
      • Required:
        text
        --guild-id
      • Optional:
        text
        --channel-id
        ,
        text
        --include-archived
        ,
        text
        --before
        ,
        text
        --limit
    • text
      thread reply

      • Channels: Discord
      • Required:
        text
        --target
        (thread id),
        text
        --message
      • Optional:
        text
        --media
        ,
        text
        --reply-to

    Emojis

    • text
      emoji list

      • Discord:
        text
        --guild-id
      • Slack: no extra flags
    • text
      emoji upload

      • Channels: Discord
      • Required:
        text
        --guild-id
        ,
        text
        --emoji-name
        ,
        text
        --media
      • Optional:
        text
        --role-ids
        (repeat)

    Stickers

    • text
      sticker send

      • Channels: Discord
      • Required:
        text
        --target
        ,
        text
        --sticker-id
        (repeat)
      • Optional:
        text
        --message
    • text
      sticker upload

      • Channels: Discord
      • Required:
        text
        --guild-id
        ,
        text
        --sticker-name
        ,
        text
        --sticker-desc
        ,
        text
        --sticker-tags
        ,
        text
        --media

    Roles / Channels / Members / Voice

    • text
      role info
      (Discord):
      text
      --guild-id
    • text
      role add
      /
      text
      role remove
      (Discord):
      text
      --guild-id
      ,
      text
      --user-id
      ,
      text
      --role-id
    • text
      channel info
      (Discord):
      text
      --target
    • text
      channel list
      (Discord):
      text
      --guild-id
    • text
      member info
      (Discord/Slack):
      text
      --user-id
      (+
      text
      --guild-id
      for Discord)
    • text
      voice status
      (Discord):
      text
      --guild-id
      ,
      text
      --user-id

    Events

    • text
      event list
      (Discord):
      text
      --guild-id
    • text
      event create
      (Discord):
      text
      --guild-id
      ,
      text
      --event-name
      ,
      text
      --start-time
      • Optional:
        text
        --end-time
        ,
        text
        --desc
        ,
        text
        --channel-id
        ,
        text
        --location
        ,
        text
        --event-type

    Moderation (Discord)

    • text
      timeout
      :
      text
      --guild-id
      ,
      text
      --user-id
      (optional
      text
      --duration-min
      or
      text
      --until
      ; omit both to clear timeout)
    • text
      kick
      :
      text
      --guild-id
      ,
      text
      --user-id
      (+
      text
      --reason
      )
    • text
      ban
      :
      text
      --guild-id
      ,
      text
      --user-id
      (+
      text
      --delete-days
      ,
      text
      --reason
      )
      • text
        timeout
        also supports
        text
        --reason

    Broadcast

    • text
      broadcast
      • Channels: any configured channel; use
        text
        --channel all
        to target all providers
      • Required:
        text
        --targets <target...>
      • Optional:
        text
        --message
        ,
        text
        --media
        ,
        text
        --dry-run

    Examples

    Send a Discord reply:

    text
    openclaw message send --channel discord \ --target channel:123 --message "hi" --reply-to 456

    Send a message with semantic buttons:

    text
    openclaw message send --channel discord \ --target channel:123 --message "Choose:" \ --presentation '{"blocks":[{"type":"buttons","buttons":[{"label":"Approve","value":"approve","style":"success"},{"label":"Decline","value":"decline","style":"danger"}]}]}'

    Core renders the same

    text
    presentation
    payload into Discord components, Slack blocks, Telegram inline buttons, Mattermost props, or Teams/Feishu cards depending on channel capability. See Message Presentation for the full contract and fallback rules.

    Send a richer presentation payload:

    bash
    openclaw message send --channel googlechat --target spaces/AAA... \ --message "Choose:" \ --presentation '{"title":"Deploy approval","tone":"warning","blocks":[{"type":"text","text":"Choose a path"},{"type":"buttons","buttons":[{"label":"Approve","value":"approve"},{"label":"Decline","value":"decline"}]}]}'

    Create a Discord poll:

    text
    openclaw message poll --channel discord \ --target channel:123 \ --poll-question "Snack?" \ --poll-option Pizza --poll-option Sushi \ --poll-multi --poll-duration-hours 48

    Create a Telegram poll (auto-close in 2 minutes):

    text
    openclaw message poll --channel telegram \ --target @mychat \ --poll-question "Lunch?" \ --poll-option Pizza --poll-option Sushi \ --poll-duration-seconds 120 --silent

    Send a Teams proactive message:

    text
    openclaw message send --channel msteams \ --target conversation:19:abc@thread.tacv2 --message "hi"

    Create a Teams poll:

    text
    openclaw message poll --channel msteams \ --target conversation:19:abc@thread.tacv2 \ --poll-question "Lunch?" \ --poll-option Pizza --poll-option Sushi

    React in Slack:

    text
    openclaw message react --channel slack \ --target C123 --message-id 456 --emoji "✅"

    React in a Signal group:

    text
    openclaw message react --channel signal \ --target signal:group:abc123 --message-id 1737630212345 \ --emoji "✅" --target-author-uuid 123e4567-e89b-12d3-a456-426614174000

    Send Telegram inline buttons through generic presentation:

    text
    openclaw message send --channel telegram --target @mychat --message "Choose:" \ --presentation '{"blocks":[{"type":"buttons","buttons":[{"label":"Yes","value":"cmd:yes"},{"label":"No","value":"cmd:no"}]}]}'

    Send a Teams card through generic presentation:

    bash
    openclaw message send --channel msteams \ --target conversation:19:abc@thread.tacv2 \ --presentation '{"title":"Status update","blocks":[{"type":"text","text":"Build completed"}]}'

    Send a Telegram image as a document to avoid compression:

    bash
    openclaw message send --channel telegram --target @mychat \ --media ./diagram.png --force-document

    Related

    • CLI reference
    • Agent send

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine