UNPKG

venom-bot

Version:

Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design archite

49 lines (48 loc) 1.1 kB
import { Contact } from './contact'; import { GroupMetadata } from './group-metadata'; import { Id } from './id'; export interface Chat { archive: boolean; changeNumberNewJid: Id; changeNumberOldJid: Id; contact: Contact; ephemeralDuration: number; ephemeralSettingTimestamp: number; groupMetadata: GroupMetadata; id: Id; isAnnounceGrpRestrict: boolean; isGroup: boolean; isOnline: null | boolean; isReadOnly: boolean; kind: string; lastReceivedKey: LastReceivedKey; lastSeen: null | number | boolean; modifyTag: number; msgs: null; muteExpiration: number; name: string; notSpam: boolean; pendingMsgs: boolean; pin: number; presence: Presence; t: number; unreadCount: number; } export interface ProfilePicThumbObj { eurl: string; id: Id; img: string; imgFull: string; raw: null; tag: string; } export interface LastReceivedKey { fromMe: boolean; remote: Id; id: string; _serialized: string; } export interface Presence { id: Id; chatstates: any[]; }