Interface canUseCommandResult

canUseCommand 的返回值类型

interface canUseCommandResult {
    error_message: "success" | "permission denied" | "in the wrong chat";
    success: boolean;
}

Properties

error_message: "success" | "permission denied" | "in the wrong chat"

若失败,失败原因

success: boolean

是否成功

Generated using TypeDoc