mirror of
https://github.com/NAStool/nas-tools-wiki.git
synced 2026-04-29 21:13:47 +08:00
docs: update 消息通知
This commit is contained in:
20
消息通知.md
20
消息通知.md
@@ -2,7 +2,7 @@
|
||||
title: 消息通知
|
||||
description:
|
||||
published: 1
|
||||
date: 2023-05-12T12:01:51.717Z
|
||||
date: 2023-05-12T12:53:53.648Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-05-12T04:48:45.938Z
|
||||
@@ -17,8 +17,26 @@ dateCreated: 2023-05-12T04:48:45.938Z
|
||||
|
||||
# 微信
|
||||
|
||||
> 由于微信官方限制,2022年6月20日后创建的企业微信应用需要有固定的公网IP地址并加入IP白名单后才能发送消息,使用有固定公网IP的代理服务器转发可解决该问题,代理服务器需自行搭建或使用公共资源中公布的代理地址(如太多人使用也有可能会被封禁)。
|
||||
{.is-warning}
|
||||
|
||||
# Telegram
|
||||
|
||||
# Slack
|
||||
|
||||
> 无网络环境要求,且可远程交互。
|
||||
{.is-success}
|
||||
|
||||
- https://slack.com/intl/zh-cn/ 创建工作区
|
||||
- https://api.slack.com/ 创建App应用,打开 `Socket Mode`。
|
||||
- 开启`Event Subscriptions`、`Bots`、`Permissions`。其中`Bot Token Scopes` 赋于 `chat:write`、`im:read`、`im:history` 、`channels:read`、`commands`权限;`Subscribe to bot events` 赋于 `message.im`、`app_mention` 权限;按需维护`Interactivity & Shortcuts`菜单,类型为`Global`,菜单Callback ID需与项目主页说明一致。
|
||||
- 创建 `App-Level Tokens` 并赋于 `connections:write` 权限。
|
||||
- Install App 到工作区,登录工作区将App添加到`全体`频道。
|
||||
- `OAuth & Permissions` 中 获取 `Bot User OAuth Token`,`Basic Information` 中 获取 `App-Level Tokens `填入NAStool,打开交互开关。
|
||||
- 重启NAStool生效。
|
||||
- 下载Slack客户端使用。
|
||||
|
||||
注意:App添加至工作区后,如修改了App设置,需重新Install到工作区才能生效(页面顶部有提示)
|
||||
|
||||
|
||||
# Synology Chat
|
||||
|
||||
Reference in New Issue
Block a user