mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-15 12:50:33 +00:00
build: 2.2.9
This commit is contained in:
parent
ab955e41fb
commit
fc73295520
@ -6,6 +6,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
|||||||
interface GroupNotice {
|
interface GroupNotice {
|
||||||
sender_id: number;
|
sender_id: number;
|
||||||
publish_time: number;
|
publish_time: number;
|
||||||
|
feed_id: string;
|
||||||
message: {
|
message: {
|
||||||
text: string
|
text: string
|
||||||
image: Array<{
|
image: Array<{
|
||||||
@ -44,7 +45,8 @@ export class GetGroupNotice extends BaseAction<Payload, GroupNotice[]> {
|
|||||||
for (const key in ret.feeds) {
|
for (const key in ret.feeds) {
|
||||||
const retApiNotice: WebApiGroupNoticeFeed = ret.feeds[key];
|
const retApiNotice: WebApiGroupNoticeFeed = ret.feeds[key];
|
||||||
const retNotice: GroupNotice = {
|
const retNotice: GroupNotice = {
|
||||||
// ...ret.feeds[key],
|
//...ret.feeds[key],
|
||||||
|
feed_id: retApiNotice.fid,
|
||||||
sender_id: retApiNotice.u,
|
sender_id: retApiNotice.u,
|
||||||
publish_time: retApiNotice.pubt,
|
publish_time: retApiNotice.pubt,
|
||||||
message: {
|
message: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user