-
-
Notifications
You must be signed in to change notification settings - Fork 416
Notify_wecombot
Chris Caron edited this page Dec 16, 2023
·
1 revision
- Source: https://weixin.qq.com/
- Icon Support: No
- Message Format: Text
- Message Limit: 32768 Characters per message
Sign up for WeChat from here. You will be provided to create a user and password to associate with your account. This is all you need to use this through Apprise.
- On WeCom for PC, find the target WeCom group for receiving alarm notifications.
- Right-click the WeCom group. In the window that appears, click "Add Group Bot".
- In the window that appears, click Create a Bot.
- In the window that appears, enter a custom bot name and click Add.
- You will be provided a Webhook URL that looks like:
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=abcd
- On WebCom for Web, open the target WeCom group for receiving alarm notifications.
- Click the group settings icon in the upper-right corner.
- On the group settings page, choose Group Bots > Add a Bot.
- On the management page for adding bots, enter a custom name for the new bot.
- Click Add
- You will be provided a Webhook URL that looks like:
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=abcd
Valid syntax is as follows:
wecombot://{botkey}
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=abcd
Variable | Required | Description |
---|---|---|
key | No | Can optionally use the ?key instead of passing the key in the hostname field. This has more value when defining configuration files. |
Send a WeCom Bot Notification:
# Assuming our {botkey} is abc123
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"wecombot://abc123"