jormungandr-bite/packages/iceshrimp-js/markdown/iceshrimp-js.entities.messagingmessage.md
2024-06-17 10:15:54 -06:00

955 B

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