feat(onebot): configure group member permissions

Fixes #335
This commit is contained in:
DrSmoothl committed 2026-08-09 12:56:05 +08:00
1 parent e08613062e
commit 1e0c91e74d
7 files changed
+393 -4

No files matched your search

@@ -82,6 +82,17 @@ export interface Oidb0x89a_0HistoryVisibility {
settings?: pb<2, Oidb0x89a_0HistoryVisibilitySettings>;
field12?: pb<12, uint_32>;
}
// 0x89A_0 — one masked group-member capability update. These are deny bits,
// so callers clear the selected bit to allow a capability and set it to deny.
export interface Oidb0x89a_0MemberPermissionSettings {
appPrivilegeFlag?: pb_optional<23, uint_32>;
appPrivilegeMask?: pb_optional<24, uint_32>;
}
export interface Oidb0x89a_0MemberPermission {
groupUin?: pb<1, uint_64>;
settings?: pb<2, Oidb0x89a_0MemberPermissionSettings>;
field12?: pb<12, uint_32>;
}
export interface OidbKickMember {
groupUin?: pb<1, uint_32>;
targetUid?: pb<3, string>;