evolution-api-sdk
Version:
Unofficial SDK for the Evolution Whatsapp API v2
18 lines (15 loc) • 361 B
TypeScript
import { ChatId } from '../../../types/tags.js';
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 };