### Install via Homebrew Source: https://inline.chat/docs/cli Recommended installation method using Homebrew. ```bash brew tap inline-chat/homebrew-inline brew install --cask inline ``` -------------------------------- ### Quick Start Source: https://inline.chat/docs/realtime-api Connect to the Realtime API, get user information, send a message, and close the connection. ```typescript import { InlineSdkClient } from "@inline-chat/realtime-sdk" const client = new InlineSdkClient({ token: process.env.INLINE_TOKEN!, }) await client.connect() const me = await client.getMe() console.log(me.userId) await client.sendMessage({ chatId: 42, text: "hello from realtime sdk", }) await client.close() ``` -------------------------------- ### Install Source: https://inline.chat/docs/realtime-api Install the realtime SDK package. ```bash bun add @inline-chat/realtime-sdk ``` -------------------------------- ### Install via Script Source: https://inline.chat/docs/cli Alternative installation method using a shell script. ```bash curl -fsSL https://inline.chat/cli/install.sh | sh ``` -------------------------------- ### Quick Example Source: https://inline.chat/docs/bot-api Example of sending a message using the Inline Bot API. ```shell curl -sS \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -X POST "https://api.inline.chat/bot/sendMessage" \ -d '{"chat_id":42,"text":"hello"}' ``` -------------------------------- ### Install Inline Plugin Source: https://inline.chat/docs/openclaw Command to install the inline chat plugin for OpenClaw. ```bash openclaw plugins install @inline-openclaw/inline ``` -------------------------------- ### Update Installed Plugin Source: https://inline.chat/docs/openclaw Command to update the installed inline plugin. ```bash openclaw plugins update inline ``` -------------------------------- ### CLI Commands for Bot Creation Source: https://inline.chat/docs/creating-a-bot Commands to authenticate, create a bot, list bots, and reveal a bot token using the Inline CLI. ```bash inline auth login inline bots create --name "My Inline Bot" --username myinlinebot inline bots list inline bots reveal-token --bot-user-id ``` -------------------------------- ### OpenClaw Configuration for Inline Bot Source: https://inline.chat/docs/creating-a-bot Configuration snippet for OpenClaw to enable and authenticate an Inline bot using its token. ```yaml channels: inline: enabled: true token: "" ``` -------------------------------- ### Login Command Source: https://inline.chat/docs/cli Command to authenticate with the Inline CLI. ```bash inline auth login ``` -------------------------------- ### Run and Verify Commands Source: https://inline.chat/docs/openclaw Commands to run the OpenClaw gateway and verify plugin status. ```bash openclaw gateway openclaw plugins list openclaw status --deep ``` -------------------------------- ### Plugin Entry Configuration Source: https://inline.chat/docs/openclaw Configuration snippet for enabling the inline plugin entry. ```yaml plugins: entries: inline: enabled: true ``` -------------------------------- ### Update Plugin Spec Source: https://inline.chat/docs/openclaw Command to set the plugin specification to the latest version. ```bash openclaw config set plugins.installs.inline.spec "@inline-openclaw/inline@latest" ``` -------------------------------- ### Success Response Format Source: https://inline.chat/docs/bot-api The expected JSON structure for a successful API response. ```json { "ok": true, "result": {} } ``` -------------------------------- ### Claude MCP Add Command Source: https://inline.chat/docs/mcp Command to add an MCP connector in Claude, specifying the transport and server URL. ```bash claude mcp add --transport http inline https://mcp.inline.chat/mcp ``` -------------------------------- ### Error Response Format Source: https://inline.chat/docs/bot-api The expected JSON structure for an error response from the API. ```json { "ok": false, "error_code": 400, "description": "Invalid arguments was provided" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.