Constructs a new WebMessageInfo.
Optional
properties:
IWebMessageInfo
Properties to set
WebMessageInfo agentId.
WebMessageInfo bizPrivacyStatus.
WebMessageInfo broadcast.
WebMessageInfo clearMedia.
WebMessageInfo duration.
WebMessageInfo ephemeralDuration.
WebMessageInfo ephemeralOffToOn.
WebMessageInfo ephemeralOutOfSync.
WebMessageInfo ephemeralStartTimestamp.
Optional
finalWebMessageInfo finalLiveLocation.
WebMessageInfo futureproofData.
WebMessageInfo ignore.
Optional
keepWebMessageInfo keepInChat.
WebMessageInfo key.
WebMessageInfo labels.
WebMessageInfo mediaCiphertextSha256.
Optional
mediaWebMessageInfo mediaData.
Optional
message
WebMessageInfo message.
WebMessageInfo messageC2STimestamp.
WebMessageInfo messageSecret.
WebMessageInfo messageStubParameters.
WebMessageInfo messageStubType.
WebMessageInfo messageTimestamp.
WebMessageInfo multicast.
WebMessageInfo originalSelfAuthorUserJidString.
WebMessageInfo participant.
Optional
paymentWebMessageInfo paymentInfo.
Optional
photoWebMessageInfo photoChange.
Optional
pinWebMessageInfo pinInChat.
Optional
pollWebMessageInfo pollAdditionalMetadata.
WebMessageInfo pollUpdates.
WebMessageInfo pushName.
Optional
quotedWebMessageInfo quotedPaymentInfo.
Optional
quotedWebMessageInfo quotedStickerData.
WebMessageInfo reactions.
WebMessageInfo revokeMessageTimestamp.
WebMessageInfo starred.
WebMessageInfo status.
WebMessageInfo statusAlreadyViewed.
Optional
statusWebMessageInfo statusPsa.
WebMessageInfo urlNumber.
WebMessageInfo urlText.
WebMessageInfo userReceipt.
WebMessageInfo 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
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.