Interface BotGroupPermissionChangeEvent

Bot在群里的权限被改变. 操作人一定是群主

interface BotGroupPermissionChangeEvent {
    current: Permission;
    group: Group;
    origin: Permission;
    reply?: ((msgChain, quote?) => Promise<void>);
    type: "BotGroupPermissionChangeEvent";
}

Hierarchy (view full)

Properties

current: Permission
group: Group
origin: Permission
reply?: ((msgChain, quote?) => Promise<void>)

reply 辅助函数

Type declaration

    • (msgChain, quote?): Promise<void>
    • reply 辅助函数

      Parameters

      Returns Promise<void>

type: "BotGroupPermissionChangeEvent"

Generated using TypeDoc