mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Replaced generic ActionExamples imports with more specific examples modules (FileActionsExamples, GroupActionsExamples, GoCQHTTPActionsExamples) across file, group, and go-cqhttp actions. Added or updated actionSummary, actionDescription, actionTags, payloadExample, and returnExample properties for improved API documentation and clarity.
14 lines
540 B
TypeScript
14 lines
540 B
TypeScript
import { GetFileBase } from './GetFile';
|
|
import { ActionName } from '@/napcat-onebot/action/router';
|
|
|
|
import { FileActionsExamples } from './examples';
|
|
|
|
export default class GetImage extends GetFileBase {
|
|
override actionName = ActionName.GetImage;
|
|
override actionSummary = '获取图片';
|
|
override actionDescription = '获取指定图片的信息及路径';
|
|
override actionTags = ['文件接口'];
|
|
override payloadExample = FileActionsExamples.GetImage.payload;
|
|
override returnExample = FileActionsExamples.GetImage.response;
|
|
}
|