mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-24 17:35:19 +08:00
feat(slack): support standard events and interactive callbacks
This commit is contained in:
@@ -177,6 +177,9 @@ export default function SlackSetupDialog({
|
||||
<div className="space-y-4">
|
||||
{status === 'idle' && (
|
||||
<>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{t('slackSetup.permissionsHint')}
|
||||
</p>
|
||||
<a
|
||||
className="text-sm text-primary underline"
|
||||
href="https://api.slack.com/apps"
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
export default {
|
||||
permissionsHint:
|
||||
'Requests message, channel, user, file and reaction permissions. Subscribes to edits/deletions, reactions, membership, channel updates, App Home and app lifecycle events; enables button/form callbacks. Channel replies still require an @mention. Existing apps need updated subscriptions and reinstallation after adding scopes.',
|
||||
title: 'Quick Slack setup',
|
||||
description:
|
||||
'Create and configure a Slack app, authorize installation, then fill the adapter credentials.',
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
export default {
|
||||
permissionsHint:
|
||||
'メッセージ、チャンネル、ユーザー、ファイル、リアクションの権限を要求します。編集・削除、リアクション、メンバー、チャンネル更新、App Home、アプリのライフサイクルを購読し、ボタン・フォームのコールバックを有効にします。チャンネルの通常返信には @メンションが必要です。既存アプリは購読を追加し、権限追加後に再インストールしてください。',
|
||||
title: 'Slack クイック設定',
|
||||
description:
|
||||
'アプリを自動作成・設定し、インストール承認後に認証情報を入力します。',
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
export default {
|
||||
permissionsHint:
|
||||
'申请消息、频道、用户、文件和表情反应权限,订阅消息编辑/删除、表情反应、成员变化、频道更新、应用首页和生命周期事件,并启用按钮/表单回调。频道普通回复仍需 @ 机器人。已有应用需补齐订阅,新增权限后重新安装授权。',
|
||||
title: 'Slack 快速配置',
|
||||
description: '自动创建和配置应用,授权安装后填入适配器凭据。',
|
||||
saveFirst: '请先创建机器人草稿,再打开快速配置助手。',
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
export default {
|
||||
permissionsHint:
|
||||
'申請訊息、頻道、使用者、檔案和表情反應權限,訂閱訊息編輯/刪除、表情反應、成員變化、頻道更新、應用首頁和生命週期事件,並啟用按鈕/表單回呼。頻道一般回覆仍需 @ 機器人。既有應用需補齊訂閱,新增權限後重新安裝授權。',
|
||||
title: 'Slack 快速設定',
|
||||
description: '自動建立及設定應用程式,授權安裝後填入介接器憑證。',
|
||||
saveFirst: '請先建立機器人草稿,再開啟設定助手。',
|
||||
|
||||
Reference in New Issue
Block a user