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
Metadata
Release files for automas-notification-onebot 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| automas_notification_onebot-0.0.4.tar.gz | 3.7 kB | With provenance | Details for automas_notification_onebot-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| automas_notification_onebot-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for automas_notification_onebot-0.0.4-py3-none-any.whl |
Total release size: 8.5 kB
Release files / automas_notification_onebot-0.0.4.tar.gz
| Download URL | automas_notification_onebot-0.0.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b012ae2fe6fd37b3bcda548092431165ef0f73921f07ef6e00cf3f8b9c436d6
|
|
BLAKE2b-256 checksum How to use checksums |
6a0a4f0023d3b08766401dbf847aa1970295184ca5d5935a83711ac848422cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / automas_notification_onebot-0.0.4-py3-none-any.whl
| Download URL | automas_notification_onebot-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
108d0fc6dd15ac417e20971ac1e78cc3e464ef3f553d579b68560f7d0c11c986
|
|
BLAKE2b-256 checksum How to use checksums |
1ee702adde0b63b606f48b64d98b3b981bc18a1ea346ba39840f9d752a6d5ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logSecurity for automas-notification-onebot 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for automas_notification_onebot-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.