UNPKG

@wppconnect-team/wppconnect

Version:

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligen

30 lines (29 loc) 720 B
import { HostDevice } from './host-device'; import { MessageId } from './message-id'; export interface ScopeResult { me: HostDevice; to: MessageId & { formattedName: string; isBusiness: boolean; isMyContact: boolean; verifiedName: string; pushname?: string; }; erro?: boolean; text?: string | null; status?: number | string; } export interface SendFileResult extends ScopeResult { type: string; filename: string; text?: string; mimeType?: string; } export interface SendStickerResult extends ScopeResult { type: string; } export interface SendPttResult extends ScopeResult { type: string; filename: string; text?: string; }