Constructs a new MsgOpaqueData.
Optional
properties:
IMsgOpaqueData
Properties to set
MsgOpaqueData body.
MsgOpaqueData botMessageSecret.
MsgOpaqueData canonicalUrl.
MsgOpaqueData caption.
MsgOpaqueData clientUrl.
MsgOpaqueData description.
Optional
encMsgOpaqueData encPollVote.
MsgOpaqueData encReactionEncIv.
MsgOpaqueData encReactionEncPayload.
MsgOpaqueData encReactionTargetMessageKey.
MsgOpaqueData futureproofBuffer.
MsgOpaqueData isLive.
MsgOpaqueData isSentCagPollCreation.
MsgOpaqueData lat.
MsgOpaqueData lng.
MsgOpaqueData loc.
MsgOpaqueData matchedText.
MsgOpaqueData messageSecret.
MsgOpaqueData originalSelfAuthor.
MsgOpaqueData paymentAmount1000.
MsgOpaqueData paymentNoteMsgBody.
MsgOpaqueData pollName.
MsgOpaqueData pollOptions.
MsgOpaqueData pollSelectableOptionsCount.
MsgOpaqueData pollUpdateParentKey.
MsgOpaqueData senderTimestampMs.
MsgOpaqueData title.
Static
create
Creates a new MsgOpaqueData instance using the specified properties.
Optional
properties:
IMsgOpaqueData
Properties to set
MsgOpaqueData instance
Static
decode
Decodes a MsgOpaqueData message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
MsgOpaqueData
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a MsgOpaqueData message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MsgOpaqueData
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified MsgOpaqueData message. Does not implicitly verify messages.
MsgOpaqueData message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified MsgOpaqueData message, length delimited. Does not implicitly verify messages.
MsgOpaqueData message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types.
Plain object
MsgOpaqueData
Static
toCreates a plain object from a MsgOpaqueData message. Also converts values to other types if specified.
MsgOpaqueData
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a MsgOpaqueData.