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: undefined | number; Â Â Â Â change:ack: undefined | number; Â Â Â Â change:appStateFatalExceptionNotification: undefined | number; Â Â Â Â change:appStateSyncKeyRequest: undefined | number; Â Â Â Â change:appStateSyncKeyShare: undefined | number; Â Â Â Â change:asAlbumAsset: undefined | number; Â Â Â Â change:asBroadcastNotification: undefined | number; Â Â Â Â change:asDoc: undefined | number; Â Â Â Â change:asGroupedSticker: undefined | number; Â Â Â Â change:asGroupNotification: undefined | number; Â Â Â Â change:asImage: undefined | number; Â Â Â Â change:asMms: undefined | number; Â Â Â Â change:asPollCreation: undefined | number; Â Â Â Â change:asPollUpdate: undefined | number; Â Â Â Â change:asProduct: undefined | number; Â Â Â Â change:asProductInquiry: undefined | number; Â Â Â Â change:asRevoked: undefined | number; Â Â Â Â change:asUrl: undefined | number; Â Â Â Â change:asVideo: undefined | number; Â Â Â Â change:asViewOnce: undefined | number; Â Â Â Â change:asVisualMedia: undefined | number; Â Â Â Â change:author: undefined | number; Â Â Â Â change:backgroundColor: undefined | number; Â Â Â Â change:bizPrivacyStatus: undefined | number; Â Â Â Â change:body: undefined | number; Â Â Â Â change:broadcast: undefined | number; Â Â Â Â change:broadcastEphSettings: undefined | number; Â Â Â Â change:broadcastId: undefined | number; Â Â Â Â change:broadcastParticipants: undefined | number; Â Â Â Â change:businessOwnerJid: undefined | number; Â Â Â Â change:buttons: undefined | number; Â Â Â Â change:buttonsResponse: undefined | number; Â Â Â Â change:canonicalUrl: number; Â Â Â Â change:caption: undefined | number; Â Â Â Â change:chat: undefined | number; Â Â Â Â change:clearMedia: undefined | number; Â Â Â Â change:clientUrl: undefined | number; Â Â Â Â change:comment: undefined | number; Â Â Â Â change:containsEmoji: undefined | number; Â Â Â Â change:ctwaContext: undefined | number; Â Â Â Â change:currencyCode: undefined | number; Â Â Â Â change:degrees: undefined | number; Â Â Â Â change:deprecatedMms3Url: undefined | number; Â Â Â Â change:description: undefined | number; Â Â Â Â change:devicesAdded: undefined | number; Â Â Â Â change:devicesRemoved: undefined | number; Â Â Â Â change:dir: undefined | number; Â Â Â Â change:directPath: undefined | number; Â Â Â Â change:disappearingModeInitiator: undefined | number; Â Â Â Â change:doNotPlayInline: undefined | number; Â Â Â Â change:duration: undefined | number; Â Â Â Â change:dynamicReplyButtons: undefined | number; Â Â Â Â change:encFilehash: undefined | number; Â Â Â Â change:ephemeralDuration: undefined | number; Â Â Â Â change:ephemeralExpirationTimestamp: undefined | number; Â Â Â Â change:ephemeralOutOfSync: undefined | number; Â Â Â Â change:ephemeralSettingTimestamp: undefined | number; Â Â Â Â change:ephemeralSharedSecret: undefined | number; Â Â Â Â change:ephemeralStartTimestamp: undefined | number; Â Â Â Â change:eventType: undefined | number; Â Â Â Â change:filehash: undefined | number; Â Â Â Â change:filename: undefined | number; Â Â Â Â change:finalAccuracy: undefined | number; Â Â Â Â change:finalDegrees: undefined | number; Â Â Â Â change:finalLat: undefined | number; Â Â Â Â change:finalLng: undefined | number; Â Â Â Â change:finalSpeed: undefined | number; Â Â Â Â change:finalThumbnail: undefined | number; Â Â Â Â change:finalTimeOffset: undefined | number; Â Â Â Â change:firstFrameLength: undefined | number; Â Â Â Â change:firstFrameSidecar: undefined | number; Â Â Â Â change:font: undefined | number; Â Â Â Â change:footer: undefined | number; Â Â Â Â change:forwardedFromWeb: undefined | number; Â Â Â Â change:forwardingScore: undefined | number; Â Â Â Â change:from: undefined | number; Â Â Â Â change:gifAttribution: undefined | number; Â Â Â Â change:hasBodyOrFooter: number; Â Â Â Â change:hasTemplateButtons: number; Â Â Â Â change:height: undefined | number; Â Â Â Â change:historySyncMetaData: undefined | number; Â Â Â Â change:hydratedButtons: undefined | number; Â Â Â Â change:id: number; Â Â Â Â change:initialPageSize: undefined | number; Â Â Â Â change:interactiveAnnotations: undefined | number; Â Â Â Â change:interactiveMessage: undefined | number; Â Â Â Â change:interactivePayload: undefined | number; Â Â Â Â change:invis: undefined | number; Â Â Â Â change:inviteCode: undefined | number; Â Â Â Â change:inviteCodeExp: undefined | number; Â Â Â Â change:inviteGrp: undefined | number; Â Â Â Â change:inviteGrpJpegThum: undefined | number; Â Â Â Â change:inviteGrpName: undefined | 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: undefined | number; Â Â Â Â change:labels: undefined | number; Â Â Â Â change:lat: undefined | number; Â Â Â Â change:linkPreview: undefined | number; Â Â Â Â change:linksIndexParsed: undefined | number; Â Â Â Â change:list: undefined | number; Â Â Â Â change:listResponse: undefined | number; Â Â Â Â change:lng: undefined | number; Â Â Â Â change:loc: undefined | number; Â Â Â Â change:local: undefined | number; Â Â Â Â change:matchedText: undefined | number; Â Â Â Â change:mdDowngrade: undefined | number; Â Â Â Â change:mediaData: undefined | number; Â Â Â Â change:mediaKey: undefined | number; Â Â Â Â change:mediaKeyTimestamp: undefined | number; Â Â Â Â change:mentionedJidList: undefined | number; Â Â Â Â change:message: undefined | number; Â Â Â Â change:mimetype: undefined | number; Â Â Â Â change:msgChunk: undefined | number; Â Â Â Â change:multicast: undefined | number; Â Â Â Â change:nativeFlowName: undefined | number; Â Â Â Â change:notifyName: undefined | number; Â Â Â Â change:numTimesForwarded: undefined | number; Â Â Â Â change:orderId: undefined | number; Â Â Â Â change:orderTitle: undefined | number; Â Â Â Â change:pageCount: undefined | number; Â Â Â Â change:paymentAmount1000: undefined | number; Â Â Â Â change:paymentCurrency: undefined | number; Â Â Â Â change:paymentExpiryTimestamp: undefined | number; Â Â Â Â change:paymentMessageReceiverJid: undefined | number; Â Â Â Â change:paymentNoteMsg: undefined | number; Â Â Â Â change:paymentRequestMessageKey: undefined | number; Â Â Â Â change:paymentStatus: undefined | number; Â Â Â Â change:paymentTransactionTimestamp: undefined | number; Â Â Â Â change:paymentTxnStatus: undefined | number; Â Â Â Â change:phoneUploading: undefined | number; Â Â Â Â change:pollInvalidated: undefined | number; Â Â Â Â change:pollName: undefined | number; Â Â Â Â change:pollOptions: undefined | number; Â Â Â Â change:pollSelectableOptionsCount: undefined | number; Â Â Â Â change:pollUpdateParentKey: undefined | number; Â Â Â Â change:priceAmount1000: undefined | number; Â Â Â Â change:privacyModeWhenSent: undefined | number; Â Â Â Â change:productHeaderImageRejected: undefined | number; Â Â Â Â change:productId: undefined | number; Â Â Â Â change:productImageCount: undefined | number; Â Â Â Â change:productListHeaderImage: undefined | number; Â Â Â Â change:productListItemCount: undefined | number; Â Â Â Â change:protocolMessageKey: undefined | number; Â Â Â Â change:quotedGroupSubject: undefined | number; Â Â Â Â change:quotedMsg: undefined | number; Â Â Â Â change:quotedMsgId: undefined | number; Â Â Â Â change:quotedMsgKey: undefined | number; Â Â Â Â change:quotedParentGroupJid: undefined | number; Â Â Â Â change:quotedParticipant: undefined | number; Â Â Â Â change:quotedRemoteJid: undefined | number; Â Â Â Â change:quotedStanzaID: undefined | number; Â Â Â Â change:recipients: undefined | number; Â Â Â Â change:recvFresh: undefined | number; Â Â Â Â change:replyButtons: undefined | number; Â Â Â Â change:retailerId: undefined | number; Â Â Â Â change:richPreviewType: undefined | number; Â Â Â Â change:rowId: undefined | number; Â Â Â Â change:rtl: undefined | number; Â Â Â Â change:salePriceAmount1000: undefined | number; Â Â Â Â change:scanLengths: undefined | number; Â Â Â Â change:scansSidecar: undefined | number; Â Â Â Â change:search: undefined | number; Â Â Â Â change:selectedButtonId: undefined | number; Â Â Â Â change:selectedId: undefined | number; Â Â Â Â change:selectedIndex: undefined | number; Â Â Â Â change:self: undefined | number; Â Â Â Â change:sellerJid: undefined | number; Â Â Â Â change:sendDeferred: undefined | number; Â Â Â Â change:sender: undefined | number; Â Â Â Â change:senderObj: undefined | number; Â Â Â Â change:sequence: undefined | number; Â Â Â Â change:serverId: undefined | number; Â Â Â Â change:sessionId: undefined | number; Â Â Â Â change:shareDuration: undefined | number; Â Â Â Â change:size: undefined | number; Â Â Â Â change:speed: undefined | number; Â Â Â Â change:stale: undefined | number; Â Â Â Â change:star: undefined | number; Â Â Â Â change:startOfDay: undefined | number; Â Â Â Â change:startOfDaySkew: undefined | number; Â Â Â Â change:status: undefined | number; Â Â Â Â change:statusV3TextBg: undefined | number; Â Â Â Â change:streamable: undefined | number; Â Â Â Â change:streamingSidecar: undefined | number; Â Â Â Â change:subtype: undefined | number; Â Â Â Â change:supportsMessageFooter: undefined | number; Â Â Â Â change:supportsMessageFooterLinks: undefined | number; Â Â Â Â change:surface: undefined | number; Â Â Â Â change:t: undefined | number; Â Â Â Â change:templateParams: undefined | number; Â Â Â Â change:text: undefined | number; Â Â Â Â change:textColor: undefined | number; Â Â Â Â change:thumbnail: undefined | number; Â Â Â Â change:thumbnailDirectPath: undefined | number; Â Â Â Â change:thumbnailEncSha256: undefined | number; Â Â Â Â change:thumbnailHeight: undefined | number; Â Â Â Â change:thumbnailHQ: undefined | number; Â Â Â Â change:thumbnailSha256: undefined | number; Â Â Â Â change:thumbnailWidth: undefined | number; Â Â Â Â change:title: undefined | number; Â Â Â Â change:to: undefined | number; Â Â Â Â change:token: undefined | number; Â Â Â Â change:totalAmount1000: undefined | number; Â Â Â Â change:totalCurrencyCode: undefined | number; Â Â Â Â change:type: undefined | number; Â Â Â Â change:url: undefined | number; Â Â Â Â change:urlNumber: undefined | number; Â Â Â Â change:urlText: undefined | number; Â Â Â Â change:vcard: undefined | number; Â Â Â Â change:vcardFormattedName: undefined | number; Â Â Â Â change:vcardList: undefined | number; Â Â Â Â change:verifiedBizName: undefined | number; Â Â Â Â change:waveform: undefined | number; Â Â Â Â change:width: undefined | 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