firefish/packages/firefish-js/markdown/firefish-js.entities.messagingmessage.md
2023-07-20 04:17:05 +09:00

973 B

Home > firefish-js > entities > MessagingMessage

entities.MessagingMessage type

Signature:

export declare type MessagingMessage = {
	id: ID;
	createdAt: DateString;
	file: DriveFile | null;
	fileId: DriveFile["id"] | null;
	isRead: boolean;
	reads: User["id"][];
	text: string | null;
	user: User;
	userId: User["id"];
	recipient?: User | null;
	recipientId: User["id"] | null;
	group?: UserGroup | null;
	groupId: UserGroup["id"] | null;
};

References: ID, DateString, DriveFile, User, UserGroup