trashposs/packages/trashposs-js/markdown/trashposs-js.entities.messagingmessage.md
2024-04-06 22:57:52 +02:00

982 B

Home > trashposs-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