mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 15:11:15 +00:00
Added actionSummary, actionDescription, and actionTags to multiple OneBot actions for improved API documentation. Introduced payload and response examples for new actions (GetDoubtFriendsAddRequest, SetDoubtFriendsAddRequest) in a new examples.ts file. Also removed unused imports from several files for code clarity.
11 lines
331 B
TypeScript
11 lines
331 B
TypeScript
export const NewActionsExamples = {
|
|
GetDoubtFriendsAddRequest: {
|
|
payload: { count: 10 },
|
|
response: [{ user_id: 123456789, nickname: '昵称', age: 20, sex: 'male', reason: '申请理由', flag: 'flag_123' }],
|
|
},
|
|
SetDoubtFriendsAddRequest: {
|
|
payload: { flag: 'flag_123', approve: true },
|
|
response: {},
|
|
},
|
|
};
|