Constructs a new MsgOpaqueData.
Optional
properties:
IMsgOpaqueData
Properties to set
Optional
body
MsgOpaqueData body.
Optional
botMsgOpaqueData botMessageSecret.
Optional
caption
MsgOpaqueData caption.
Optional
clientMsgOpaqueData clientUrl.
Optional
description
MsgOpaqueData description.
Optional
encMsgOpaqueData encIv.
Optional
encMsgOpaqueData encPayload.
Optional
encMsgOpaqueData encPollVote.
Optional
encMsgOpaqueData encReactionEncIv.
Optional
encMsgOpaqueData encReactionEncPayload.
Optional
encMsgOpaqueData encReactionTargetMessageKey.
Optional
eventMsgOpaqueData eventDescription.
Optional
eventMsgOpaqueData eventEndTime.
Optional
eventMsgOpaqueData eventJoinLink.
Optional
eventMsgOpaqueData eventLocation.
Optional
eventMsgOpaqueData eventName.
Optional
eventMsgOpaqueData eventStartTime.
Optional
futureproofMsgOpaqueData futureproofBuffer.
Optional
isMsgOpaqueData isEventCanceled.
Optional
isMsgOpaqueData isLive.
Optional
isMsgOpaqueData isSentCagPollCreation.
Optional
lat
MsgOpaqueData lat.
Optional
lng
MsgOpaqueData lng.
Optional
loc
MsgOpaqueData loc.
Optional
matchedMsgOpaqueData matchedText.
Optional
messageMsgOpaqueData messageSecret.
Optional
originalMsgOpaqueData originalSelfAuthor.
Optional
paymentMsgOpaqueData paymentAmount1000.
Optional
paymentMsgOpaqueData paymentNoteMsgBody.
Optional
pollMsgOpaqueData pollContentType.
Optional
pollMsgOpaqueData pollName.
MsgOpaqueData pollOptions.
Optional
pollMsgOpaqueData pollSelectableOptionsCount.
Optional
pollMsgOpaqueData pollUpdateParentKey.
Optional
pollMsgOpaqueData pollVotesSnapshot.
Optional
senderMsgOpaqueData senderTimestampMs.
Optional
targetMsgOpaqueData targetMessageKey.
Optional
title
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
getStatic
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.