announcement
announcement: {
channelId: string;
content: string;
createdAt: string;
createdBy: string;
groupId: string;
id: string;
mentions?: {
channels?: {
id: string;
}[];
everyone?: boolean;
here?: boolean;
roles?: {
id: number;
}[];
users?: {
id: string;
}[];
};
serverId: string;
title: string;
}
Type declaration
channelId: string
content: string
createdAt: string
createdBy: string
groupId: string
id: string
Optionalmentions?: {
channels?: {
id: string;
}[];
everyone?: boolean;
here?: boolean;
roles?: {
id: number;
}[];
users?: {
id: string;
}[];
}
Optionalchannels?: {
id: string;
}[]
Optionaleveryone?: boolean
Optionalhere?: boolean
Optionalroles?: {
id: number;
}[]
Optionalusers?: {
id: string;
}[]
serverId: string
title: string
Channel ID Format: uuid