Constructs a new ExtendedTextMessage.
Optional
properties:
IExtendedTextMessage
Properties to set
Optional
backgroundExtendedTextMessage backgroundArgb.
Optional
contextExtendedTextMessage contextInfo.
Optional
description
ExtendedTextMessage description.
Optional
doExtendedTextMessage doNotPlayInline.
Optional
faviconMMSMetadata
ExtendedTextMessage faviconMMSMetadata.
Optional
font
ExtendedTextMessage font.
Optional
inviteExtendedTextMessage inviteLinkGroupType.
Optional
inviteExtendedTextMessage inviteLinkGroupTypeV2.
Optional
inviteExtendedTextMessage inviteLinkParentGroupSubjectV2.
Optional
inviteExtendedTextMessage inviteLinkParentGroupThumbnailV2.
Optional
jpegExtendedTextMessage jpegThumbnail.
Optional
matchedExtendedTextMessage matchedText.
Optional
mediaExtendedTextMessage mediaKey.
Optional
mediaExtendedTextMessage mediaKeyTimestamp.
Optional
previewExtendedTextMessage previewType.
Optional
text
ExtendedTextMessage text.
Optional
textExtendedTextMessage textArgb.
Optional
thumbnailExtendedTextMessage thumbnailDirectPath.
Optional
thumbnailExtendedTextMessage thumbnailEncSha256.
Optional
thumbnailExtendedTextMessage thumbnailHeight.
Optional
thumbnailExtendedTextMessage thumbnailSha256.
Optional
thumbnailExtendedTextMessage thumbnailWidth.
Optional
title
ExtendedTextMessage title.
Optional
videoExtendedTextMessage videoHeight.
Optional
videoExtendedTextMessage videoWidth.
Optional
viewExtendedTextMessage viewOnce.
Static
create
Creates a new ExtendedTextMessage instance using the specified properties.
Optional
properties:
IExtendedTextMessage
Properties to set
ExtendedTextMessage instance
Static
decode
Decodes an ExtendedTextMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
ExtendedTextMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes an ExtendedTextMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ExtendedTextMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified ExtendedTextMessage message. Does not implicitly verify messages.
ExtendedTextMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified ExtendedTextMessage message, length delimited. Does not implicitly verify messages.
ExtendedTextMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates an ExtendedTextMessage message from a plain object. Also converts values to their respective internal types.
Plain object
ExtendedTextMessage
Static
getStatic
toCreates a plain object from an ExtendedTextMessage message. Also converts values to other types if specified.
ExtendedTextMessage
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents an ExtendedTextMessage.