Class: WebMessageInfo
Defined in: WAProto/index.d.ts:52843
Represents a WebMessageInfo.
Implements
Constructors
new WebMessageInfo()
new WebMessageInfo(
properties
?):WebMessageInfo
Defined in: WAProto/index.d.ts:52849
Constructs a new WebMessageInfo.
Parameters
properties?
Properties to set
Returns
Properties
agentId?
optional
agentId:null
|string
Defined in: WAProto/index.d.ts:52963
WebMessageInfo agentId.
Implementation of
bizPrivacyStatus?
optional
bizPrivacyStatus:null
|BizPrivacyStatus
Defined in: WAProto/index.d.ts:52930
WebMessageInfo bizPrivacyStatus.
Implementation of
IWebMessageInfo
.bizPrivacyStatus
botMessageInvokerJid?
optional
botMessageInvokerJid:null
|string
Defined in: WAProto/index.d.ts:52993
WebMessageInfo botMessageInvokerJid.
Implementation of
IWebMessageInfo
.botMessageInvokerJid
botTargetId?
optional
botTargetId:null
|string
Defined in: WAProto/index.d.ts:53035
WebMessageInfo botTargetId.
Implementation of
broadcast?
optional
broadcast:null
|boolean
Defined in: WAProto/index.d.ts:52876
WebMessageInfo broadcast.
Implementation of
clearMedia?
optional
clearMedia:null
|boolean
Defined in: WAProto/index.d.ts:52897
WebMessageInfo clearMedia.
Implementation of
commentMetadata?
optional
commentMetadata:null
|ICommentMetadata
Defined in: WAProto/index.d.ts:52996
WebMessageInfo commentMetadata.
Implementation of
IWebMessageInfo
.commentMetadata
duration?
optional
duration:null
|number
Defined in: WAProto/index.d.ts:52903
WebMessageInfo duration.
Implementation of
ephemeralDuration?
optional
ephemeralDuration:null
|number
Defined in: WAProto/index.d.ts:52921
WebMessageInfo ephemeralDuration.
Implementation of
IWebMessageInfo
.ephemeralDuration
ephemeralOffToOn?
optional
ephemeralOffToOn:null
|boolean
Defined in: WAProto/index.d.ts:52924
WebMessageInfo ephemeralOffToOn.
Implementation of
IWebMessageInfo
.ephemeralOffToOn
ephemeralOutOfSync?
optional
ephemeralOutOfSync:null
|boolean
Defined in: WAProto/index.d.ts:52927
WebMessageInfo ephemeralOutOfSync.
Implementation of
IWebMessageInfo
.ephemeralOutOfSync
ephemeralStartTimestamp?
optional
ephemeralStartTimestamp:null
|number
|Long
Defined in: WAProto/index.d.ts:52918
WebMessageInfo ephemeralStartTimestamp.
Implementation of
IWebMessageInfo
.ephemeralStartTimestamp
eventAdditionalMetadata?
optional
eventAdditionalMetadata:null
|IEventAdditionalMetadata
Defined in: WAProto/index.d.ts:53008
WebMessageInfo eventAdditionalMetadata.
Implementation of
IWebMessageInfo
.eventAdditionalMetadata
eventResponses
eventResponses:
IEventResponse
[]
Defined in: WAProto/index.d.ts:52999
WebMessageInfo eventResponses.
Implementation of
IWebMessageInfo
.eventResponses
finalLiveLocation?
optional
finalLiveLocation:null
|ILiveLocationMessage
Defined in: WAProto/index.d.ts:52912
WebMessageInfo finalLiveLocation.
Implementation of
IWebMessageInfo
.finalLiveLocation
futureproofData?
optional
futureproofData:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:52951
WebMessageInfo futureproofData.
Implementation of
IWebMessageInfo
.futureproofData
ignore?
optional
ignore:null
|boolean
Defined in: WAProto/index.d.ts:52870
WebMessageInfo ignore.
Implementation of
is1PBizBotMessage?
optional
is1PBizBotMessage:null
|boolean
Defined in: WAProto/index.d.ts:52987
WebMessageInfo is1PBizBotMessage.
Implementation of
IWebMessageInfo
.is1PBizBotMessage
isGroupHistoryMessage?
optional
isGroupHistoryMessage:null
|boolean
Defined in: WAProto/index.d.ts:52990
WebMessageInfo isGroupHistoryMessage.
Implementation of
IWebMessageInfo
.isGroupHistoryMessage
isMentionedInStatus?
optional
isMentionedInStatus:null
|boolean
Defined in: WAProto/index.d.ts:53011
WebMessageInfo isMentionedInStatus.
Implementation of
IWebMessageInfo
.isMentionedInStatus
isSupportAiMessage?
optional
isSupportAiMessage:null
|boolean
Defined in: WAProto/index.d.ts:53026
WebMessageInfo isSupportAiMessage.
Implementation of
IWebMessageInfo
.isSupportAiMessage
keepInChat?
optional
keepInChat:null
|IKeepInChat
Defined in: WAProto/index.d.ts:52972
WebMessageInfo keepInChat.
Implementation of
key
key:
IMessageKey
Defined in: WAProto/index.d.ts:52852
WebMessageInfo key.
Implementation of
labels
labels:
string
[]
Defined in: WAProto/index.d.ts:52906
WebMessageInfo labels.
Implementation of
mediaCiphertextSha256?
optional
mediaCiphertextSha256:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:52882
WebMessageInfo mediaCiphertextSha256.
Implementation of
IWebMessageInfo
.mediaCiphertextSha256
mediaData?
optional
mediaData:null
|IMediaData
Defined in: WAProto/index.d.ts:52936
WebMessageInfo mediaData.
Implementation of
message?
optional
message:null
|IMessage
Defined in: WAProto/index.d.ts:52855
WebMessageInfo message.
Implementation of
messageAddOns
messageAddOns:
IMessageAddOn
[]
Defined in: WAProto/index.d.ts:53020
WebMessageInfo messageAddOns.
Implementation of
messageC2STimestamp?
optional
messageC2STimestamp:null
|number
|Long
Defined in: WAProto/index.d.ts:52867
WebMessageInfo messageC2STimestamp.
Implementation of
IWebMessageInfo
.messageC2STimestamp
messageSecret?
optional
messageSecret:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:52969
WebMessageInfo messageSecret.
Implementation of
messageStubParameters
messageStubParameters:
string
[]
Defined in: WAProto/index.d.ts:52900
WebMessageInfo messageStubParameters.
Implementation of
IWebMessageInfo
.messageStubParameters
messageStubType?
optional
messageStubType:null
|StubType
Defined in: WAProto/index.d.ts:52894
WebMessageInfo messageStubType.
Implementation of
IWebMessageInfo
.messageStubType
messageTimestamp?
optional
messageTimestamp:null
|number
|Long
Defined in: WAProto/index.d.ts:52858
WebMessageInfo messageTimestamp.
Implementation of
IWebMessageInfo
.messageTimestamp
multicast?
optional
multicast:null
|boolean
Defined in: WAProto/index.d.ts:52885
WebMessageInfo multicast.
Implementation of
newsletterServerId?
optional
newsletterServerId:null
|number
|Long
Defined in: WAProto/index.d.ts:53005
WebMessageInfo newsletterServerId.
Implementation of
IWebMessageInfo
.newsletterServerId
originalSelfAuthorUserJidString?
optional
originalSelfAuthorUserJidString:null
|string
Defined in: WAProto/index.d.ts:52975
WebMessageInfo originalSelfAuthorUserJidString.
Implementation of
IWebMessageInfo
.originalSelfAuthorUserJidString
participant?
optional
participant:null
|string
Defined in: WAProto/index.d.ts:52864
WebMessageInfo participant.
Implementation of
paymentInfo?
optional
paymentInfo:null
|IPaymentInfo
Defined in: WAProto/index.d.ts:52909
WebMessageInfo paymentInfo.
Implementation of
photoChange?
optional
photoChange:null
|IPhotoChange
Defined in: WAProto/index.d.ts:52939
WebMessageInfo photoChange.
Implementation of
pinInChat?
optional
pinInChat:null
|IPinInChat
Defined in: WAProto/index.d.ts:52981
WebMessageInfo pinInChat.
Implementation of
pollAdditionalMetadata?
optional
pollAdditionalMetadata:null
|IPollAdditionalMetadata
Defined in: WAProto/index.d.ts:52960
WebMessageInfo pollAdditionalMetadata.
Implementation of
IWebMessageInfo
.pollAdditionalMetadata
pollUpdates
pollUpdates:
IPollUpdate
[]
Defined in: WAProto/index.d.ts:52957
WebMessageInfo pollUpdates.
Implementation of
premiumMessageInfo?
optional
premiumMessageInfo:null
|IPremiumMessageInfo
Defined in: WAProto/index.d.ts:52984
WebMessageInfo premiumMessageInfo.
Implementation of
IWebMessageInfo
.premiumMessageInfo
pushName?
optional
pushName:null
|string
Defined in: WAProto/index.d.ts:52879
WebMessageInfo pushName.
Implementation of
quotedPaymentInfo?
optional
quotedPaymentInfo:null
|IPaymentInfo
Defined in: WAProto/index.d.ts:52915
WebMessageInfo quotedPaymentInfo.
Implementation of
IWebMessageInfo
.quotedPaymentInfo
quotedStickerData?
optional
quotedStickerData:null
|IMediaData
Defined in: WAProto/index.d.ts:52948
WebMessageInfo quotedStickerData.
Implementation of
IWebMessageInfo
.quotedStickerData
reactions
reactions:
IReaction
[]
Defined in: WAProto/index.d.ts:52945
WebMessageInfo reactions.
Implementation of
reportingTokenInfo?
optional
reportingTokenInfo:null
|IReportingTokenInfo
Defined in: WAProto/index.d.ts:53002
WebMessageInfo reportingTokenInfo.
Implementation of
IWebMessageInfo
.reportingTokenInfo
revokeMessageTimestamp?
optional
revokeMessageTimestamp:null
|number
|Long
Defined in: WAProto/index.d.ts:52978
WebMessageInfo revokeMessageTimestamp.
Implementation of
IWebMessageInfo
.revokeMessageTimestamp
starred?
optional
starred:null
|boolean
Defined in: WAProto/index.d.ts:52873
WebMessageInfo starred.
Implementation of
status?
optional
status:null
|Status
Defined in: WAProto/index.d.ts:52861
WebMessageInfo status.
Implementation of
statusAlreadyViewed?
optional
statusAlreadyViewed:null
|boolean
Defined in: WAProto/index.d.ts:52966
WebMessageInfo statusAlreadyViewed.
Implementation of
IWebMessageInfo
.statusAlreadyViewed
statusMentionMessageInfo?
optional
statusMentionMessageInfo:null
|IStatusMentionMessage
Defined in: WAProto/index.d.ts:53023
WebMessageInfo statusMentionMessageInfo.
Implementation of
IWebMessageInfo
.statusMentionMessageInfo
statusMentions
statusMentions:
string
[]
Defined in: WAProto/index.d.ts:53014
WebMessageInfo statusMentions.
Implementation of
IWebMessageInfo
.statusMentions
statusMentionSources
statusMentionSources:
string
[]
Defined in: WAProto/index.d.ts:53029
WebMessageInfo statusMentionSources.
Implementation of
IWebMessageInfo
.statusMentionSources
statusPsa?
optional
statusPsa:null
|IStatusPSA
Defined in: WAProto/index.d.ts:52954
WebMessageInfo statusPsa.
Implementation of
supportAiCitations
supportAiCitations:
ICitation
[]
Defined in: WAProto/index.d.ts:53032
WebMessageInfo supportAiCitations.
Implementation of
IWebMessageInfo
.supportAiCitations
targetMessageId?
optional
targetMessageId:null
|IMessageKey
Defined in: WAProto/index.d.ts:53017
WebMessageInfo targetMessageId.
Implementation of
IWebMessageInfo
.targetMessageId
urlNumber?
optional
urlNumber:null
|boolean
Defined in: WAProto/index.d.ts:52891
WebMessageInfo urlNumber.
Implementation of
urlText?
optional
urlText:null
|boolean
Defined in: WAProto/index.d.ts:52888
WebMessageInfo urlText.
Implementation of
userReceipt
userReceipt:
IUserReceipt
[]
Defined in: WAProto/index.d.ts:52942
WebMessageInfo userReceipt.
Implementation of
verifiedBizName?
optional
verifiedBizName:null
|string
Defined in: WAProto/index.d.ts:52933
WebMessageInfo verifiedBizName.
Implementation of
IWebMessageInfo
.verifiedBizName
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:53105
Converts this WebMessageInfo to JSON.
Returns
object
JSON object
create()
static
create(properties
?):WebMessageInfo
Defined in: WAProto/index.d.ts:53042
Creates a new WebMessageInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WebMessageInfo instance
decode()
static
decode(reader
,length
?):WebMessageInfo
Defined in: WAProto/index.d.ts:53068
Decodes a WebMessageInfo message from the specified reader or buffer.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
length?
number
Message length if known beforehand
Returns
WebMessageInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):WebMessageInfo
Defined in: WAProto/index.d.ts:53077
Decodes a WebMessageInfo message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
WebMessageInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
static
encode(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:53050
Encodes the specified WebMessageInfo message. Does not implicitly verify messages.
Parameters
message
WebMessageInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
static
encodeDelimited(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:53058
Encodes the specified WebMessageInfo message, length delimited. Does not implicitly verify messages.
Parameters
message
WebMessageInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):WebMessageInfo
Defined in: WAProto/index.d.ts:53091
Creates a WebMessageInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
WebMessageInfo
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:53112
Gets the default type url for WebMessageInfo
Parameters
typeUrlPrefix?
string
your custom typeUrlPrefix(default "type.googleapis.com")
Returns
string
The default type url
toObject()
static
toObject(message
,options
?):object
Defined in: WAProto/index.d.ts:53099
Creates a plain object from a WebMessageInfo message. Also converts values to other types if specified.
Parameters
message
WebMessageInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:53084
Verifies a WebMessageInfo message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not