hydratedButtons?:{ Â Â Â Â callButton?: { Â Â Â Â Â Â Â Â displayText: string; Â Â Â Â Â Â Â Â phoneNumber: string; Â Â Â Â }; Â Â Â Â index?: number; Â Â Â Â quickReplyButton?: { Â Â Â Â Â Â Â Â displayText: string; Â Â Â Â Â Â Â Â id: string; Â Â Â Â }; Â Â Â Â urlButton?: { Â Â Â Â Â Â Â Â displayText: string; Â Â Â Â Â Â Â Â url: string; Â Â Â Â }; }[]
linkPreview?:{ Â Â Â Â canonicalUrl?: string; Â Â Â Â description?: string; Â Â Â Â doNotPlayInline: boolean; Â Â Â Â matchedText: string; Â Â Â Â richPreviewType: number; Â Â Â Â thumbnail?: string; Â Â Â Â title?: string; }
OptionallinksIndexParsed
linksIndexParsed?:any
Optionallist
list?:{ Â Â Â Â buttonText: string; Â Â Â Â description: string; Â Â Â Â footerText?: string; Â Â Â Â listType: number; Â Â Â Â sections: { Â Â Â Â Â Â Â Â rows: { Â Â Â Â Â Â Â Â Â Â Â Â description: string; Â Â Â Â Â Â Â Â Â Â Â Â rowId: string; Â Â Â Â Â Â Â Â Â Â Â Â title: string; Â Â Â Â Â Â Â Â }[]; Â Â Â Â Â Â Â Â title: string; Â Â Â Â }[]; Â Â Â Â title?: string; }
mirrorMask:{ Â Â Â Â change:accuracy: number; Â Â Â Â change:ack: number; Â Â Â Â change:appStateFatalExceptionNotification: number; Â Â Â Â change:appStateSyncKeyRequest: number; Â Â Â Â change:appStateSyncKeyShare: number; Â Â Â Â change:asAlbumAsset: number; Â Â Â Â change:asBroadcastNotification: number; Â Â Â Â change:asDoc: number; Â Â Â Â change:asGroupedSticker: number; Â Â Â Â change:asGroupNotification: number; Â Â Â Â change:asImage: number; Â Â Â Â change:asMms: number; Â Â Â Â change:asPollCreation: number; Â Â Â Â change:asPollUpdate: number; Â Â Â Â change:asProduct: number; Â Â Â Â change:asProductInquiry: number; Â Â Â Â change:asRevoked: number; Â Â Â Â change:asUrl: number; Â Â Â Â change:asVideo: number; Â Â Â Â change:asViewOnce: number; Â Â Â Â change:asVisualMedia: number; Â Â Â Â change:author: number; Â Â Â Â change:backgroundColor: number; Â Â Â Â change:bizPrivacyStatus: number; Â Â Â Â change:body: number; Â Â Â Â change:broadcast: number; Â Â Â Â change:broadcastEphSettings: number; Â Â Â Â change:broadcastId: number; Â Â Â Â change:broadcastParticipants: number; Â Â Â Â change:businessOwnerJid: number; Â Â Â Â change:buttons: number; Â Â Â Â change:buttonsResponse: number; Â Â Â Â change:canonicalUrl: number; Â Â Â Â change:caption: number; Â Â Â Â change:chat: number; Â Â Â Â change:clearMedia: number; Â Â Â Â change:clientUrl: number; Â Â Â Â change:comment: number; Â Â Â Â change:containsEmoji: number; Â Â Â Â change:ctwaContext: number; Â Â Â Â change:currencyCode: number; Â Â Â Â change:degrees: number; Â Â Â Â change:deprecatedMms3Url: number; Â Â Â Â change:description: number; Â Â Â Â change:devicesAdded: number; Â Â Â Â change:devicesRemoved: number; Â Â Â Â change:dir: number; Â Â Â Â change:directPath: number; Â Â Â Â change:disappearingModeInitiator: number; Â Â Â Â change:doNotPlayInline: number; Â Â Â Â change:duration: number; Â Â Â Â change:dynamicReplyButtons: number; Â Â Â Â change:encFilehash: number; Â Â Â Â change:ephemeralDuration: number; Â Â Â Â change:ephemeralExpirationTimestamp: number; Â Â Â Â change:ephemeralOutOfSync: number; Â Â Â Â change:ephemeralSettingTimestamp: number; Â Â Â Â change:ephemeralSharedSecret: number; Â Â Â Â change:ephemeralStartTimestamp: number; Â Â Â Â change:eventType: number; Â Â Â Â change:filehash: number; Â Â Â Â change:filename: number; Â Â Â Â change:finalAccuracy: number; Â Â Â Â change:finalDegrees: number; Â Â Â Â change:finalLat: number; Â Â Â Â change:finalLng: number; Â Â Â Â change:finalSpeed: number; Â Â Â Â change:finalThumbnail: number; Â Â Â Â change:finalTimeOffset: number; Â Â Â Â change:firstFrameLength: number; Â Â Â Â change:firstFrameSidecar: number; Â Â Â Â change:font: number; Â Â Â Â change:footer: number; Â Â Â Â change:forwardedFromWeb: number; Â Â Â Â change:forwardingScore: number; Â Â Â Â change:from: number; Â Â Â Â change:gifAttribution: number; Â Â Â Â change:hasBodyOrFooter: number; Â Â Â Â change:hasTemplateButtons: number; Â Â Â Â change:height: number; Â Â Â Â change:historySyncMetaData: number; Â Â Â Â change:hydratedButtons: number; Â Â Â Â change:id: number; Â Â Â Â change:initialPageSize: number; Â Â Â Â change:interactiveAnnotations: number; Â Â Â Â change:interactiveMessage: number; Â Â Â Â change:interactivePayload: number; Â Â Â Â change:invis: number; Â Â Â Â change:inviteCode: number; Â Â Â Â change:inviteCodeExp: number; Â Â Â Â change:inviteGrp: number; Â Â Â Â change:inviteGrpJpegThum: number; Â Â Â Â change:inviteGrpName: number; Â Â Â Â change:isAnimated: number; Â Â Â Â change:isBizNotification: number; Â Â Â Â change:isCaptionByUser: number; Â Â Â Â change:isDynamicReplyButtonsMsg: number; Â Â Â Â change:isEphemeral: number; Â Â Â Â change:isFailed: number; Â Â Â Â change:isForwarded: number; Â Â Â Â change:isFrequentlyForwarded: number; Â Â Â Â change:isFromTemplate: number; Â Â Â Â change:isFutureproof: number; Â Â Â Â change:isGif: number; Â Â Â Â change:isGroupMsg: number; Â Â Â Â change:isGroupsV4InviteExpired: number; Â Â Â Â change:isInternational: number; Â Â Â Â change:isLive: number; Â Â Â Â change:isMdHistoryMsg: number; Â Â Â Â change:isMedia: number; Â Â Â Â change:isNewMsg: number; Â Â Â Â change:isNotification: number; Â Â Â Â change:isPersistent: number; Â Â Â Â change:isPSA: number; Â Â Â Â change:isQuickReply: number; Â Â Â Â change:isQuotedMsgAvailable: number; Â Â Â Â change:isRevokedByMe: number; Â Â Â Â change:isRTL: number; Â Â Â Â change:isSendFailure: number; Â Â Â Â change:isSentByMe: number; Â Â Â Â change:isSentByMeFromWeb: number; Â Â Â Â change:isStatusV3: number; Â Â Â Â change:isThisDeviceAdded: number; Â Â Â Â change:isUnreadType: number; Â Â Â Â change:isUnsentMedia: number; Â Â Â Â change:isUserCreatedType: number; Â Â Â Â change:isVcardOverMmsDocument: number; Â Â Â Â change:isViewOnce: number; Â Â Â Â change:itemCount: number; Â Â Â Â change:labels: number; Â Â Â Â change:lat: number; Â Â Â Â change:linkPreview: number; Â Â Â Â change:linksIndexParsed: number; Â Â Â Â change:list: number; Â Â Â Â change:listResponse: number; Â Â Â Â change:lng: number; Â Â Â Â change:loc: number; Â Â Â Â change:local: number; Â Â Â Â change:matchedText: number; Â Â Â Â change:mdDowngrade: number; Â Â Â Â change:mediaData: number; Â Â Â Â change:mediaKey: number; Â Â Â Â change:mediaKeyTimestamp: number; Â Â Â Â change:mentionedJidList: number; Â Â Â Â change:message: number; Â Â Â Â change:mimetype: number; Â Â Â Â change:msgChunk: number; Â Â Â Â change:multicast: number; Â Â Â Â change:nativeFlowName: number; Â Â Â Â change:notifyName: number; Â Â Â Â change:numTimesForwarded: number; Â Â Â Â change:orderId: number; Â Â Â Â change:orderTitle: number; Â Â Â Â change:pageCount: number; Â Â Â Â change:paymentAmount1000: number; Â Â Â Â change:paymentCurrency: number; Â Â Â Â change:paymentExpiryTimestamp: number; Â Â Â Â change:paymentMessageReceiverJid: number; Â Â Â Â change:paymentNoteMsg: number; Â Â Â Â change:paymentRequestMessageKey: number; Â Â Â Â change:paymentStatus: number; Â Â Â Â change:paymentTransactionTimestamp: number; Â Â Â Â change:paymentTxnStatus: number; Â Â Â Â change:phoneUploading: number; Â Â Â Â change:pollInvalidated: number; Â Â Â Â change:pollName: number; Â Â Â Â change:pollOptions: number; Â Â Â Â change:pollSelectableOptionsCount: number; Â Â Â Â change:pollUpdateParentKey: number; Â Â Â Â change:priceAmount1000: number; Â Â Â Â change:privacyModeWhenSent: number; Â Â Â Â change:productHeaderImageRejected: number; Â Â Â Â change:productId: number; Â Â Â Â change:productImageCount: number; Â Â Â Â change:productListHeaderImage: number; Â Â Â Â change:productListItemCount: number; Â Â Â Â change:protocolMessageKey: number; Â Â Â Â change:quotedGroupSubject: number; Â Â Â Â change:quotedMsg: number; Â Â Â Â change:quotedMsgId: number; Â Â Â Â change:quotedMsgKey: number; Â Â Â Â change:quotedParentGroupJid: number; Â Â Â Â change:quotedParticipant: number; Â Â Â Â change:quotedRemoteJid: number; Â Â Â Â change:quotedStanzaID: number; Â Â Â Â change:recipients: number; Â Â Â Â change:recvFresh: number; Â Â Â Â change:replyButtons: number; Â Â Â Â change:retailerId: number; Â Â Â Â change:richPreviewType: number; Â Â Â Â change:rowId: number; Â Â Â Â change:rtl: number; Â Â Â Â change:salePriceAmount1000: number; Â Â Â Â change:scanLengths: number; Â Â Â Â change:scansSidecar: number; Â Â Â Â change:search: number; Â Â Â Â change:selectedButtonId: number; Â Â Â Â change:selectedId: number; Â Â Â Â change:selectedIndex: number; Â Â Â Â change:self: number; Â Â Â Â change:sellerJid: number; Â Â Â Â change:sendDeferred: number; Â Â Â Â change:sender: number; Â Â Â Â change:senderObj: number; Â Â Â Â change:sequence: number; Â Â Â Â change:serverId: number; Â Â Â Â change:sessionId: number; Â Â Â Â change:shareDuration: number; Â Â Â Â change:size: number; Â Â Â Â change:speed: number; Â Â Â Â change:stale: number; Â Â Â Â change:star: number; Â Â Â Â change:startOfDay: number; Â Â Â Â change:startOfDaySkew: number; Â Â Â Â change:status: number; Â Â Â Â change:statusV3TextBg: number; Â Â Â Â change:streamable: number; Â Â Â Â change:streamingSidecar: number; Â Â Â Â change:subtype: number; Â Â Â Â change:supportsMessageFooter: number; Â Â Â Â change:supportsMessageFooterLinks: number; Â Â Â Â change:surface: number; Â Â Â Â change:t: number; Â Â Â Â change:templateParams: number; Â Â Â Â change:text: number; Â Â Â Â change:textColor: number; Â Â Â Â change:thumbnail: number; Â Â Â Â change:thumbnailDirectPath: number; Â Â Â Â change:thumbnailEncSha256: number; Â Â Â Â change:thumbnailHeight: number; Â Â Â Â change:thumbnailHQ: number; Â Â Â Â change:thumbnailSha256: number; Â Â Â Â change:thumbnailWidth: number; Â Â Â Â change:title: number; Â Â Â Â change:to: number; Â Â Â Â change:token: number; Â Â Â Â change:totalAmount1000: number; Â Â Â Â change:totalCurrencyCode: number; Â Â Â Â change:type: number; Â Â Â Â change:url: number; Â Â Â Â change:urlNumber: number; Â Â Â Â change:urlText: number; Â Â Â Â change:vcard: number; Â Â Â Â change:vcardFormattedName: number; Â Â Â Â change:vcardList: number; Â Â Â Â change:verifiedBizName: number; Â Â Â Â change:waveform: number; Â Â Â Â change:width: number; }
Removes the specified listener from the listener array for the event named eventName.
Parameters
OptionaleventName: Event
The name of the event.
Optionallistener: Listener
The callback function.
Optionalcontext: any
The value of this provided for the call to listener
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
on
on(eventName, listener, context?): this
Adds the listener function to the end of the listeners array for the event named eventName.
Parameters
eventName: Event
The name of the event.
listener: Listener
The callback function.
Optionalcontext: any
The value of this provided for the call to listener
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
once
once(eventName, listener, context?): this
Adds a one-time listener function for the event named eventName.
Parameters
eventName: Event
The name of the event.
listener: Listener
The callback function.
Optionalcontext: any
The value of this provided for the call to listener
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
onCiphertextDecrypted
onCiphertextDecrypted(): any
Returns any
onViewOnceMediaStatusChanged
onViewOnceMediaStatusChanged(): any
Returns any
OptionalquotedMsgObj
quotedMsgObj(): any
Returns any
Deprecated
Whatsapp
< 2.2245.8
removeAllListeners
removeAllListeners(): this
Removes all listeners.
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
removeListener
removeListener(eventName?, listener?, context?): this
Alias of off
Parameters
OptionaleventName: Event
Optionallistener: Listener
Optionalcontext: any
Returns this
Alias
off
resend
resend(): any
Returns any
reset
reset(): void
Returns void
resumeRemoteUpload
resumeRemoteUpload(): any
Returns any
resumeUpload
resumeUpload(): any
Returns any
safe
safe(): any
Returns any
serialize
serialize(): Props
Returns Props
set
set(...args): any
Parameters
Rest...args: any
Returns any
stopListening
stopListening(context?, eventName?, listener?): this
Parameters
Optionalcontext: any
OptionaleventName: Event
Optionallistener: Listener
Returns this
toJSON
toJSON(): Props
Returns Props
trigger
trigger(eventName, ...args): this
Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.
Parameters
eventName: Event
Rest...args: any[]
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
Whatsapp
17304