Skip to content

The agent that grows with you

docs(line): document LINE_EXPIRED_TEXT beside the other postback reply knobs

teknium1b27c6f7f0d48
diff --git a/website/docs/reference/environment-variables.md b/website/docs/reference/environment-variables.md
index 66557f8a740..b78efdd7e96 100644
--- a/website/docs/reference/environment-variables.md
+++ b/website/docs/reference/environment-variables.md
@@ -636,6 +636,7 @@ Used by the bundled LINE platform plugin (`plugins/platforms/line/`). See [Messa
| `LINE_BUTTON_LABEL` | Postback button label (default: `Get answer`). |
| `LINE_DELIVERED_TEXT` | Reply when an already-delivered postback is tapped again (default: `Already replied ✅`). |
| `LINE_INTERRUPTED_TEXT` | Reply when a `/stop`-orphaned postback button is tapped (default: `Run was interrupted before completion.`). |
+| `LINE_EXPIRED_TEXT` | Reply when a postback button whose cached answer is gone (expired / lost with process state) is tapped (default: `That request has expired — send your message again.`). |
### ntfy (push notifications)
diff --git a/website/docs/user-guide/messaging/line.md b/website/docs/user-guide/messaging/line.md
index abed60427b3..a5ad8e146bd 100644
--- a/website/docs/user-guide/messaging/line.md
+++ b/website/docs/user-guide/messaging/line.md
@@ -175,6 +175,7 @@ Cron jobs with `deliver: line` route to `LINE_HOME_CHANNEL`. The adapter ships a
| `LINE_BUTTON_LABEL` | no | "Get answer" | Button label |
| `LINE_DELIVERED_TEXT` | no | "Already replied ✅" | Reply when an already-delivered button is tapped again |
| `LINE_INTERRUPTED_TEXT` | no | "Run was interrupted before completion." | Reply when a `/stop` orphan button is tapped |
+| `LINE_EXPIRED_TEXT` | no | "That request has expired — send your message again." | Reply when a button whose cached answer is gone is tapped |
---
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/environment-variables.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/environment-variables.md
index 344da8bfe97..a7eb02b1ca4 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/environment-variables.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/environment-variables.md
@@ -479,6 +479,7 @@ Graph 事件(Teams 会议、日历、聊天等)的入站变更通知监听
| `LINE_BUTTON_LABEL` | Postback 按钮标签(默认:`Get answer`)。 |
| `LINE_DELIVERED_TEXT` | 再次点击已投递 postback 时的回复(默认:`Already replied ✅`)。 |
| `LINE_INTERRUPTED_TEXT` | 点击 `/stop` 孤立 postback 按钮时的回复(默认:`Run was interrupted before completion.`)。 |
+| `LINE_EXPIRED_TEXT` | 点击缓存答案已失效(过期 / 随进程状态丢失)的 postback 按钮时的回复(默认:`That request has expired — send your message again.`)。 |
### ntfy(推送通知)
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/line.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/line.md
index ae42696055f..af28bad8807 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/line.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/line.md
@@ -173,6 +173,7 @@ LINE_HOME_CHANNEL=Uxxxxxxxxxxxxxxxxxxxx # 默认推送目标
| `LINE_BUTTON_LABEL` | 否 | "Get answer" | 按钮标签 |
| `LINE_DELIVERED_TEXT` | 否 | "Already replied ✅" | 再次点击已送达按钮时的回复 |
| `LINE_INTERRUPTED_TEXT` | 否 | "Run was interrupted before completion." | 点击 `/stop` 孤立按钮时的回复 |
+| `LINE_EXPIRED_TEXT` | 否 | "That request has expired — send your message again." | 点击缓存答案已失效的按钮时的回复 |
---