From 83d9305ad107aa5ec3c8c11aa6b56aa502e84d49 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sat, 6 Dec 2025 21:09:06 +0800 Subject: [PATCH] docs: add group_name and sender_name --- docs/en/deploy/pipelines/readme.md | 2 ++ docs/zh/deploy/pipelines/readme.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/en/deploy/pipelines/readme.md b/docs/en/deploy/pipelines/readme.md index 79b842d57..94ca2ada2 100644 --- a/docs/en/deploy/pipelines/readme.md +++ b/docs/en/deploy/pipelines/readme.md @@ -41,6 +41,8 @@ When using external LLMOps platforms, LangBot explicitly passes the following pa - `session_id`: User session ID, `person_` for private chat, `group_` for group chat - `conversation_id`: String, user session ID, generated by LangBot. It will be regenerated after the user resets the session - `msg_create_time`: Numeric type, timestamp (seconds) when this message was received +- `group_name`: Group name, only set when receiving group messages +- `sender_name`: Sender name You can [customize any variable through plugins](/en/plugin/dev/apis/common.html#set-request-variables). diff --git a/docs/zh/deploy/pipelines/readme.md b/docs/zh/deploy/pipelines/readme.md index ce57ea9fa..9cea44902 100644 --- a/docs/zh/deploy/pipelines/readme.md +++ b/docs/zh/deploy/pipelines/readme.md @@ -42,6 +42,8 @@ AI 能力主要分为两个部分,选择运行器和配置运行器参数。 - `session_id`:用户会话id,私聊为 `person_`,群聊为 `group_` - `conversation_id`:字符串,用户会话id,由 LangBot 生成。用户重置会话后,会重新生成 - `msg_create_time`:数字类型,收到此消息的时间戳(秒) +- `group_name`:群聊名称,仅在群消息事件时设置 +- `sender_name`:发送者名称 您可以[通过插件自定义任何变量](/zh/plugin/dev/apis/common.html#%E8%AE%BE%E7%BD%AE%E8%AF%B7%E6%B1%82%E5%8F%98%E9%87%8F)。