Constructs a new ExtendedTextMessage.
Optional
properties: IExtendedTextMessageProperties to set
ExtendedTextMessage backgroundArgb.
ExtendedTextMessage canonicalUrl.
Optional
contextExtendedTextMessage contextInfo.
ExtendedTextMessage description.
ExtendedTextMessage doNotPlayInline.
ExtendedTextMessage font.
ExtendedTextMessage inviteLinkGroupType.
ExtendedTextMessage inviteLinkGroupTypeV2.
ExtendedTextMessage inviteLinkParentGroupSubjectV2.
ExtendedTextMessage inviteLinkParentGroupThumbnailV2.
ExtendedTextMessage jpegThumbnail.
ExtendedTextMessage matchedText.
ExtendedTextMessage mediaKey.
ExtendedTextMessage mediaKeyTimestamp.
ExtendedTextMessage previewType.
ExtendedTextMessage text.
ExtendedTextMessage textArgb.
ExtendedTextMessage thumbnailDirectPath.
ExtendedTextMessage thumbnailEncSha256.
ExtendedTextMessage thumbnailHeight.
ExtendedTextMessage thumbnailSha256.
ExtendedTextMessage thumbnailWidth.
ExtendedTextMessage title.
ExtendedTextMessage viewOnce.
Static
createCreates a new ExtendedTextMessage instance using the specified properties.
Optional
properties: IExtendedTextMessageProperties to set
ExtendedTextMessage instance
Static
decodeDecodes an ExtendedTextMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage 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
encodeEncodes the specified ExtendedTextMessage message. Does not implicitly verify messages.
ExtendedTextMessage message or plain object to encode
Optional
writer: WriterWriter 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: WriterWriter 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
toCreates a plain object from an ExtendedTextMessage message. Also converts values to other types if specified.
ExtendedTextMessage
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents an ExtendedTextMessage.