Constructs a new WebMessageInfo.
Optional
properties:
IWebMessageInfo
Properties to set
Optional
agentWebMessageInfo agentId.
Optional
bizWebMessageInfo bizPrivacyStatus.
Optional
botWebMessageInfo botMessageInvokerJid.
Optional
botWebMessageInfo botTargetId.
Optional
broadcast
WebMessageInfo broadcast.
Optional
clearWebMessageInfo clearMedia.
Optional
commentWebMessageInfo commentMetadata.
Optional
duration
WebMessageInfo duration.
Optional
ephemeralWebMessageInfo ephemeralDuration.
Optional
ephemeralWebMessageInfo ephemeralOffToOn.
Optional
ephemeralWebMessageInfo ephemeralOutOfSync.
Optional
ephemeralWebMessageInfo ephemeralStartTimestamp.
Optional
eventWebMessageInfo eventAdditionalMetadata.
WebMessageInfo eventResponses.
Optional
finalWebMessageInfo finalLiveLocation.
Optional
futureproofWebMessageInfo futureproofData.
Optional
ignore
WebMessageInfo ignore.
Optional
is1PBizWebMessageInfo is1PBizBotMessage.
Optional
isWebMessageInfo isGroupHistoryMessage.
Optional
isWebMessageInfo isMentionedInStatus.
Optional
isWebMessageInfo isSupportAiMessage.
Optional
keepWebMessageInfo keepInChat.
WebMessageInfo key.
WebMessageInfo labels.
Optional
mediaWebMessageInfo mediaCiphertextSha256.
Optional
mediaWebMessageInfo mediaData.
Optional
message
WebMessageInfo message.
WebMessageInfo messageAddOns.
Optional
messageWebMessageInfo messageC2STimestamp.
Optional
messageWebMessageInfo messageSecret.
WebMessageInfo messageStubParameters.
Optional
messageWebMessageInfo messageStubType.
Optional
messageWebMessageInfo messageTimestamp.
Optional
multicast
WebMessageInfo multicast.
Optional
newsletterWebMessageInfo newsletterServerId.
Optional
originalWebMessageInfo originalSelfAuthorUserJidString.
Optional
participant
WebMessageInfo participant.
Optional
paymentWebMessageInfo paymentInfo.
Optional
photoWebMessageInfo photoChange.
Optional
pinWebMessageInfo pinInChat.
Optional
pollWebMessageInfo pollAdditionalMetadata.
WebMessageInfo pollUpdates.
Optional
premiumWebMessageInfo premiumMessageInfo.
Optional
pushWebMessageInfo pushName.
Optional
quotedWebMessageInfo quotedPaymentInfo.
Optional
quotedWebMessageInfo quotedStickerData.
WebMessageInfo reactions.
Optional
reportingWebMessageInfo reportingTokenInfo.
Optional
revokeWebMessageInfo revokeMessageTimestamp.
Optional
starred
WebMessageInfo starred.
Optional
status
WebMessageInfo status.
Optional
statusWebMessageInfo statusAlreadyViewed.
Optional
statusWebMessageInfo statusMentionMessageInfo.
WebMessageInfo statusMentionSources.
WebMessageInfo statusMentions.
Optional
statusWebMessageInfo statusPsa.
WebMessageInfo supportAiCitations.
Optional
targetWebMessageInfo targetMessageId.
Optional
urlWebMessageInfo urlNumber.
Optional
urlWebMessageInfo urlText.
WebMessageInfo userReceipt.
Optional
verifiedWebMessageInfo verifiedBizName.
Static
create
Creates a new WebMessageInfo instance using the specified properties.
Optional
properties:
IWebMessageInfo
Properties to set
WebMessageInfo instance
Static
decode
Decodes a WebMessageInfo message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
WebMessageInfo
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a WebMessageInfo message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
WebMessageInfo
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified WebMessageInfo message. Does not implicitly verify messages.
WebMessageInfo message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified WebMessageInfo message, length delimited. Does not implicitly verify messages.
WebMessageInfo message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a WebMessageInfo message from a plain object. Also converts values to their respective internal types.
Plain object
WebMessageInfo
Static
getStatic
toCreates a plain object from a WebMessageInfo message. Also converts values to other types if specified.
WebMessageInfo
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a WebMessageInfo.