calckey/packages/calckey-js/markdown/calckey-js.entities.messagi...

964 B

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