跳到正文
TakoAPI
返回技能列表

line-rich-messages

由 shingo0620 提供

Coding Agents & IDEs
485下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Comprehensive guide for LINE Rich UI features (Flex Messages, buttons, quick replies, and markdown auto-conversion).

描述

该技能的功能

Templates and syntax guides for building rich UI in LINE messaging. Covers Flex Messages, quick reply buttons, confirm dialogs, and markdown-to-Flex auto-conversion. Designed for LINE bots running through the OpenClaw LINE plugin.

Pre-built JSON templates and a decision matrix remove the need to read LINE API docs or manually debug malformed Flex JSON.

何时使用

  • Sending a button menu when a chatbot asks the user to pick a category
  • Displaying order items as a formatted Flex Message card
  • Adding quick reply chips to reduce typing on mobile
  • Showing a confirm dialog before a user deletes saved data
  • Rendering a comparison table visually inside a LINE chat

示例工作流

输入

User asks: 'Show me the available plans'

智能体
  1. 1

    Consult decision-matrix.md to select the right UI element (bubble with buttons)

  2. 2

    Load the button template from flex-templates.md

  3. 3

    Populate the template with plan names, descriptions, and reply actions

  4. 4

    Send the Flex Message JSON through the OpenClaw LINE plugin

输出

A visual card with labeled buttons for each plan, delivered to the user in LINE

前置要求

  • LINE Developer account
  • LINE Messaging API channel access token (configured in OpenClaw LINE plugin)

安装

clawhub install shingo0620/line-rich-messages

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接