trashposs/packages/iceshrimp-js/markdown/iceshrimp-js.entities.messagingmessage.md
2023-07-21 19:33:01 +02:00

982 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