evolution-api-sdk
Version:
Unofficial SDK for the Evolution Whatsapp API v2
18 lines (15 loc) • 362 B
text/typescript
import { ChatId } from '../../../types/tags.mjs';
interface Message {
remoteJid: string;
fromMe: boolean;
id: string;
}
interface MarkAsUnreadRequest {
lastMessage: Message[];
chat: ChatId;
}
interface MarkAsUnreadResponse {
message: string;
unread: "success" | "error";
}
export type { MarkAsUnreadRequest, MarkAsUnreadResponse };