28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
import { OneBotAction } from '../../action/OneBotAction';
|
|
import { Static } from '@sinclair/typebox';
|
|
declare const PayloadSchema: import("@sinclair/typebox").TObject<{
|
|
group_id: import("@sinclair/typebox").TString;
|
|
remark: import("@sinclair/typebox").TString;
|
|
}>;
|
|
type PayloadType = Static<typeof PayloadSchema>;
|
|
declare const ReturnSchema: import("@sinclair/typebox").TNull;
|
|
type ReturnType = Static<typeof ReturnSchema>;
|
|
export default class SetGroupRemark extends OneBotAction<PayloadType, ReturnType> {
|
|
actionName: "set_group_remark";
|
|
payloadSchema: import("@sinclair/typebox").TObject<{
|
|
group_id: import("@sinclair/typebox").TString;
|
|
remark: import("@sinclair/typebox").TString;
|
|
}>;
|
|
returnSchema: import("@sinclair/typebox").TNull;
|
|
actionSummary: string;
|
|
actionDescription: string;
|
|
actionTags: string[];
|
|
payloadExample: {
|
|
group_id: string;
|
|
remark: string;
|
|
};
|
|
returnExample: null;
|
|
_handle(payload: PayloadType): Promise<ReturnType>;
|
|
}
|
|
export {};
|