Class: MsgOpaqueData
Defined in: WAProto/index.d.ts:33864
Represents a MsgOpaqueData.
Implements
Constructors
new MsgOpaqueData()
new MsgOpaqueData(
properties
?):MsgOpaqueData
Defined in: WAProto/index.d.ts:33870
Constructs a new MsgOpaqueData.
Parameters
properties?
Properties to set
Returns
Properties
body?
optional
body:null
|string
Defined in: WAProto/index.d.ts:33873
MsgOpaqueData body.
Implementation of
botMessageSecret?
optional
botMessageSecret:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33954
MsgOpaqueData botMessageSecret.
Implementation of
IMsgOpaqueData
.botMessageSecret
caption?
optional
caption:null
|string
Defined in: WAProto/index.d.ts:33876
MsgOpaqueData caption.
Implementation of
clientUrl?
optional
clientUrl:null
|string
Defined in: WAProto/index.d.ts:33906
MsgOpaqueData clientUrl.
Implementation of
description?
optional
description:null
|string
Defined in: WAProto/index.d.ts:33900
MsgOpaqueData description.
Implementation of
encIv?
optional
encIv:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33963
MsgOpaqueData encIv.
Implementation of
encPayload?
optional
encPayload:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33960
MsgOpaqueData encPayload.
Implementation of
encPollVote?
optional
encPollVote:null
|IPollEncValue
Defined in: WAProto/index.d.ts:33933
MsgOpaqueData encPollVote.
Implementation of
encReactionEncIv?
optional
encReactionEncIv:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33951
MsgOpaqueData encReactionEncIv.
Implementation of
IMsgOpaqueData
.encReactionEncIv
encReactionEncPayload?
optional
encReactionEncPayload:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33948
MsgOpaqueData encReactionEncPayload.
Implementation of
IMsgOpaqueData
.encReactionEncPayload
encReactionTargetMessageKey?
optional
encReactionTargetMessageKey:null
|string
Defined in: WAProto/index.d.ts:33945
MsgOpaqueData encReactionTargetMessageKey.
Implementation of
IMsgOpaqueData
.encReactionTargetMessageKey
eventDescription?
optional
eventDescription:null
|string
Defined in: WAProto/index.d.ts:33972
MsgOpaqueData eventDescription.
Implementation of
IMsgOpaqueData
.eventDescription
eventEndTime?
optional
eventEndTime:null
|number
|Long
Defined in: WAProto/index.d.ts:33984
MsgOpaqueData eventEndTime.
Implementation of
eventJoinLink?
optional
eventJoinLink:null
|string
Defined in: WAProto/index.d.ts:33975
MsgOpaqueData eventJoinLink.
Implementation of
eventLocation?
optional
eventLocation:null
|IEventLocation
Defined in: WAProto/index.d.ts:33981
MsgOpaqueData eventLocation.
Implementation of
eventName?
optional
eventName:null
|string
Defined in: WAProto/index.d.ts:33966
MsgOpaqueData eventName.
Implementation of
eventStartTime?
optional
eventStartTime:null
|number
|Long
Defined in: WAProto/index.d.ts:33978
MsgOpaqueData eventStartTime.
Implementation of
futureproofBuffer?
optional
futureproofBuffer:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33903
MsgOpaqueData futureproofBuffer.
Implementation of
IMsgOpaqueData
.futureproofBuffer
isEventCanceled?
optional
isEventCanceled:null
|boolean
Defined in: WAProto/index.d.ts:33969
MsgOpaqueData isEventCanceled.
Implementation of
IMsgOpaqueData
.isEventCanceled
isLive?
optional
isLive:null
|boolean
Defined in: WAProto/index.d.ts:33882
MsgOpaqueData isLive.
Implementation of
isSentCagPollCreation?
optional
isSentCagPollCreation:null
|boolean
Defined in: WAProto/index.d.ts:33936
MsgOpaqueData isSentCagPollCreation.
Implementation of
IMsgOpaqueData
.isSentCagPollCreation
lat?
optional
lat:null
|number
Defined in: WAProto/index.d.ts:33885
MsgOpaqueData lat.
Implementation of
lng?
optional
lng:null
|number
Defined in: WAProto/index.d.ts:33879
MsgOpaqueData lng.
Implementation of
loc?
optional
loc:null
|string
Defined in: WAProto/index.d.ts:33909
MsgOpaqueData loc.
Implementation of
matchedText?
optional
matchedText:null
|string
Defined in: WAProto/index.d.ts:33894
MsgOpaqueData matchedText.
Implementation of
messageSecret?
optional
messageSecret:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:33921
MsgOpaqueData messageSecret.
Implementation of
originalSelfAuthor?
optional
originalSelfAuthor:null
|string
Defined in: WAProto/index.d.ts:33924
MsgOpaqueData originalSelfAuthor.
Implementation of
IMsgOpaqueData
.originalSelfAuthor
paymentAmount1000?
optional
paymentAmount1000:null
|number
Defined in: WAProto/index.d.ts:33888
MsgOpaqueData paymentAmount1000.
Implementation of
IMsgOpaqueData
.paymentAmount1000
paymentNoteMsgBody?
optional
paymentNoteMsgBody:null
|string
Defined in: WAProto/index.d.ts:33891
MsgOpaqueData paymentNoteMsgBody.
Implementation of
IMsgOpaqueData
.paymentNoteMsgBody
pollContentType?
optional
pollContentType:null
|PollContentType
Defined in: WAProto/index.d.ts:33939
MsgOpaqueData pollContentType.
Implementation of
IMsgOpaqueData
.pollContentType
pollName?
optional
pollName:null
|string
Defined in: WAProto/index.d.ts:33912
MsgOpaqueData pollName.
Implementation of
pollOptions
pollOptions:
IPollOption
[]
Defined in: WAProto/index.d.ts:33915
MsgOpaqueData pollOptions.
Implementation of
pollSelectableOptionsCount?
optional
pollSelectableOptionsCount:null
|number
Defined in: WAProto/index.d.ts:33918
MsgOpaqueData pollSelectableOptionsCount.
Implementation of
IMsgOpaqueData
.pollSelectableOptionsCount
pollUpdateParentKey?
optional
pollUpdateParentKey:null
|string
Defined in: WAProto/index.d.ts:33930
MsgOpaqueData pollUpdateParentKey.
Implementation of
IMsgOpaqueData
.pollUpdateParentKey
pollVotesSnapshot?
optional
pollVotesSnapshot:null
|IPollVotesSnapshot
Defined in: WAProto/index.d.ts:33942
MsgOpaqueData pollVotesSnapshot.
Implementation of
IMsgOpaqueData
.pollVotesSnapshot
senderTimestampMs?
optional
senderTimestampMs:null
|number
|Long
Defined in: WAProto/index.d.ts:33927
MsgOpaqueData senderTimestampMs.
Implementation of
IMsgOpaqueData
.senderTimestampMs
targetMessageKey?
optional
targetMessageKey:null
|string
Defined in: WAProto/index.d.ts:33957
MsgOpaqueData targetMessageKey.
Implementation of
IMsgOpaqueData
.targetMessageKey
title?
optional
title:null
|string
Defined in: WAProto/index.d.ts:33897
MsgOpaqueData title.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:34054
Converts this MsgOpaqueData to JSON.
Returns
object
JSON object
create()
static
create(properties
?):MsgOpaqueData
Defined in: WAProto/index.d.ts:33991
Creates a new MsgOpaqueData instance using the specified properties.
Parameters
properties?
Properties to set
Returns
MsgOpaqueData instance
decode()
static
decode(reader
,length
?):MsgOpaqueData
Defined in: WAProto/index.d.ts:34017
Decodes a MsgOpaqueData 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
MsgOpaqueData
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):MsgOpaqueData
Defined in: WAProto/index.d.ts:34026
Decodes a MsgOpaqueData message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
MsgOpaqueData
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:33999
Encodes the specified MsgOpaqueData message. Does not implicitly verify messages.
Parameters
message
MsgOpaqueData 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:34007
Encodes the specified MsgOpaqueData message, length delimited. Does not implicitly verify messages.
Parameters
message
MsgOpaqueData message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):MsgOpaqueData
Defined in: WAProto/index.d.ts:34040
Creates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
MsgOpaqueData
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:34061
Gets the default type url for MsgOpaqueData
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:34048
Creates a plain object from a MsgOpaqueData message. Also converts values to other types if specified.
Parameters
message
MsgOpaqueData
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:34033
Verifies a MsgOpaqueData message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not