Notification OneBot 11 HTTP API channel
Project description
notification_onebot
AUTO-MAS 通知插件 - OneBot 11 HTTP API 通道
功能
通过 OneBot 11 标准 HTTP API 发送通知消息,支持:
- 私聊消息(
send_private_msg) - 群消息(
send_group_msg) - 多目标同时推送
- Access Token 鉴权
text/json两种消息载荷格式
配置说明
| 字段 | 类型 | 说明 |
|---|---|---|
enabled |
bool | 是否启用 |
api_url |
string | OneBot HTTP API 地址,如 http://127.0.0.1:5700 |
access_token |
string | Access Token(可留空) |
targets |
list | 通知目标列表 |
目标配置
| 字段 | 类型 | 说明 |
|---|---|---|
name |
string | 目标名称 |
enabled |
bool | 是否启用 |
target_type |
private / group |
私聊或群聊 |
target_id |
int | QQ 号或群号 |
message_format |
text / json |
消息格式。text 发送字符串消息;json 发送 OneBot 消息段数组 |
message_format的 schema 枚举是text和json。如果你希望发送 CQ 码,应该使用text,并由目标 OneBot 实现按字符串消息解析。
兼容的 OneBot 实现
- go-cqhttp
- OpenShamrock
- Lagrange
- LLOneBot
- NapCat
- 其他兼容 OneBot 11 标准的实现
依赖
notification主插件(提供notify服务)httpx
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automas_notification_onebot-0.0.3.tar.gz.
File metadata
- Download URL: automas_notification_onebot-0.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2aac3c1de23663759419ae3e1679263c86d38cae9f9baccea0c9e1faac09729
|
|
| MD5 |
89aea12f113d4272ae111f1e718119d8
|
|
| BLAKE2b-256 |
14b9054215de59b6dc2a24bd55432ff7368326ddf0eecfd8810ca1c2fb1d1ae2
|
Provenance
The following attestation bundles were made for automas_notification_onebot-0.0.3.tar.gz:
Publisher:
publish.yml on Alirea10/automas_notification_onebot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
automas_notification_onebot-0.0.3.tar.gz -
Subject digest:
d2aac3c1de23663759419ae3e1679263c86d38cae9f9baccea0c9e1faac09729 - Sigstore transparency entry: 1437149264
- Sigstore integration time:
-
Permalink:
Alirea10/automas_notification_onebot@d1881bbfa2bced21bde5e91e76913086b12c0284 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/Alirea10
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d1881bbfa2bced21bde5e91e76913086b12c0284 -
Trigger Event:
push
-
Statement type:
File details
Details for the file automas_notification_onebot-0.0.3-py3-none-any.whl.
File metadata
- Download URL: automas_notification_onebot-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e9f3e52c19399cdc9b01d7dbf5940b01e662474876235e7c85dd269bf6f2504
|
|
| MD5 |
6c7622f4253e7b74effa868f265882bd
|
|
| BLAKE2b-256 |
93cb6077d201c2038ac64c4a902ad04980ab9d3492a538740cff6b6556562f64
|
Provenance
The following attestation bundles were made for automas_notification_onebot-0.0.3-py3-none-any.whl:
Publisher:
publish.yml on Alirea10/automas_notification_onebot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
automas_notification_onebot-0.0.3-py3-none-any.whl -
Subject digest:
2e9f3e52c19399cdc9b01d7dbf5940b01e662474876235e7c85dd269bf6f2504 - Sigstore transparency entry: 1437149267
- Sigstore integration time:
-
Permalink:
Alirea10/automas_notification_onebot@d1881bbfa2bced21bde5e91e76913086b12c0284 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/Alirea10
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d1881bbfa2bced21bde5e91e76913086b12c0284 -
Trigger Event:
push
-
Statement type: